camera base class and rays