Trace Updates

This page contains updates to the trace source code as bugs are reported and fixed.
November 4th, 1999

 
TracePatch1.zip - Fixes the following bugs:

 
  • Potential problems with GUI when a .ray file is loaded.
  • Problems adding radio buttons.
  • Garbled image saving.
  • Streched image when height is different than width.  With the patch your renderings will not look stretched or scrunched.  A side effect of this fix is that if your image width and height are not the same then the normalized coordniates passed by the engine to vec3 RayTracer::trace( Scene *scene, double x, double y ) will not necessarily be between 0.0 and 1.0.  The y is normalized between 0.0 and 1.0, while the x may not be depending on the aspect ratio of your image.

  •  
    The patch includes updates of engine.h, engine.cpp, controls.cpp, and Trace.tcl.  Do not apply the patch if you have changed these files!  To apply the patch, unzip it into your Trace directory, making sure to expand the directory structure in the zip file so that the updates of Trace.tcl get put into the Debug and Release directories.
     
    November 15th, 1999
     
    engine.cpp - Multiprocessor friendly and less cpu hoggy.  Be careful not to overwrite your own changes to engine.cpp.

    All bug fixes up to this point have been included in the versions of the skeleton and solution currently posted.