Game Development Community

-show notthing show

by David Tan · in Torque Game Engine · 09/14/2004 (11:41 pm) · 2 replies

I download new version 1.3.0 and compile the engine.I run with parameter "-show" and load a dts file,notthing show.I return to version 1.2_2,it has no problem.IS IT A BUG?

#1
09/15/2004 (12:19 am)
Certainly looks like a bug to me. It seems "leftRight", "topBottom", and "ortho" were added to "struct CameraQuery" in guiTSControl.h. These variables were then used in guiTSControl.cc without ever being assigned values. Hence they contain random values, which are then passed to dglSetFrustum(), resulting in an invalid view frustum.

As a quick fix I replaced only "guiTSControl.cc" with one from a previous backup I had. Seemed to work fine.
#2
09/15/2004 (7:14 am)
Have a look here. It identifies the bug, as well as the fix for it.