Menu

#3 Encapsulate camera into class and make pluggable

open
nobody
None
5
2007-10-20
2007-10-20
brandon
No

A camera is nothing in a raytracer except a source of rays. The camera logic should be extracted from the main parsing loop and placed in a class. This will allow other implementations of cameras to be loaded at runtime, such as fish-eye and orthographic cameras.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.