Resume Biography Gallery Digital Images Projects
Josh Grant
 
Intro to Computer Graphics
Homework
Pixels and Color
Weight Functions
Line Segments
Light
Postscript
Ray Casting
Reflectance
Open Inventor
OpenGL
Textures and Transformations
Rendering
Animation
SGI Buttonfly Tool
Streamlines
 
Interested in ray tracing with Open Inventor?
Goto IVTrace to learn more.
Rendering a 3D scene to a 2D image
Open Inventor screenshot with Headlight on and 6 spheres
Open Inventor screenshot with Headlight off and 6 spheres
2D rendered image with 6 spheres
Open Inventor screenshot with Headlight on and 4 spheres
Open Inventor screenshot with Headlight off and 4 spheres
Above are screenshots from an Open Inventor iv file and a gif image of my attempt to render a 3D scene to a 2D image. The purpose of the project was to randomly cast rays within a 3D scene from a user specified view point and check for interections with any number of spheres. Each intersection was then saved in a log file like this one and saved to an Open Inventor iv file. From there a different program called renderSamples was used to render the 3D scene to a 2D ppm image. I had no problem generating the sphere intersections, but did come into problems while generating the 2D image. Thus the lack of examples.

All C++ code written for this project can be viewed below...
All code used to create these images can be downloaded here -> hw10.tar.gz
 

Josh Grant > Projects > Intro to Computer Graphics > Rendering

Comments or questions about this page can be addressed to Josh Grant at grant@cs.fsu.edu