|
|
|
| Imaging Raytracer : |
| Rendering the Quadric Surfaces |
| My own raytracing applet |
|
|
| |
|
Note:
|
The sphere has a radius of 5 and all the other curves are clipped
by a bounding cube with x, y, and z all bounded by (+/-) 4.
All the surfaces have horizontal stripes at integer "z" elevations. You can have any of the surfaces sit on one of the ubiquitous checkerboard surfaces, or not, by clicking on the in the checkboard option box.
|
I'm faking the illumination model; there are no light sources, the brightness varies directly with the 'z' value of the intercept. Everything that I've written works FLAWLESSLY, but it isn't done yet. Tomorrow things will be different....
In the next few weeks I will be implementing an illumination model and will allow you to specify more of the parameters, and coming really soon: raytracing the planet earth , viewed from any perspective and time of day.
It takes about 10 seconds for this to run on my machine ( Windows-95 / Pentium 83 OD ). The applet times itself, look for the "Elapsed time:" line in the text output area.
I'm generally pleased with speed of this applet given all the whinning you hear about 'windoze' and that Java is slow because it's interpretted, has extensive error checking, blah, blah, blah.
Now if I could produce a series of frames, and allow you to save it as a an animated gif image... which is do-able... I think...
  Java - VRML - Math :
  Toying with Reality & working on games
See also:   An Introduction to raytracing.
Return:
    Contents
    Imaging the Imagined : Raytracing tips from da Vinci and me. ( my home page )
If you want to see what it looks like on my machine click here.   ( to see a static image )
Contents Page
|
Last modified: 05/22/97 First Created: 03/12/97 |
E-
mail:
"Webmaster"
|