Ray - OpenGL ray-tracing program

 


1. About

Ray is OpenGL ray-tracing program. It reads scene from XML file (not yet implemented) and renders it to OpenGL window. In scene you can use simple objects: Sphere, Cone, Cylinder, Box(not yet), Torus(not yet), Extrude(not yet). These objects can be combined using objects: Union(not functional), Difference, Intersection. The result can be saved to BMP-image.

1.1 Platforms

Ray is developed on linux, but it can be ported to another platform. Only OpenGL, Glut and libxml2 libraries are necessary.

2. History

Our team started to work on Ray in October 2003. Why we do another ray-tracer? Because it is our school project, so no interesting story. First version was created by me and Kony. Kony is our team manager and I am someone as main programmer. Our first release was ray-casting engine with only one object (Sphere). We spend a lot of our time in releasing new versions with new features. Our team members were not so active, but Oldan created Cylinder object and next Marty reworked texture loading code and created bitmap saving code. The cone object is Marty's work, too. Box is Oscar's work and torus is Panters's work. Both Oscar and Panter created great scene. This scene is saved in file table.xml.

Ray was completed and accepted 17.December 2003.

3. Download
3.1 Requirements

In order to compile bbsmount you need C++ compiler, X11, OpenGL, Glut, libxml2 (libraries and header files for that libraries).

3.2 Sources

Lastest version [0.2.1] can be downloaded from here (4244,2 kB) or in zip format from here (4269 kB).

3.3 Precompiled packages
Binary package for windows can be downloaded from here (2238,8 kB).
4. Screenshots
4.1 Primitives gallery
box
Box on checker
cone
Cone on checker
cylinder
Cylinder on checker
difference
Difference of sphere and cylinder on checker
intersection
Intersection of two spheres on checker
sphere
Sphere on checker
torus
Torus on checker
union
Box and sphere in union on checker
4.2 Other
Video in DivX rendered in Ray. (3,1 MB)
5. Documentation
Ray-tracing HOWTO in czech.
6. Links
  1. http://www.olmik.cz - Our team pages
  2. http://www.povray.org - Great ray tracing program (not only) for linux
Created with Vim Valid HTML 4.0!Valid CSS! Last modified: Wed, 4 Feb 2004 18:22:17 +0200