SORT:: issues
by Katrina Rose · in Torque Game Engine · 11/12/2004 (8:29 am) · 0 replies
Hey all,
I have a .dts object with a 'hard coded' shadow beneath it (a translucent shadow texture mapped onto a plane) that is rotating on top of another .dts object. Both objects were created in Max6.
The shadow textured poly is only visible from certain angles and certain distances. But....when I move the object with the translucent map off of the .dts object beneath it, everything works fine.
I read the docs and figured the solution was to add a SORT:: objectname header to the model's node in Max. I did this and wasnt able to fix the problem.
I then added the following code, per the docs, to the User Defined Properties of the object in Max.
SORT::MAX_DEPTH=2
SORT::NUM_BIG_FACES=4
SORT::WRITE_Z=FALSE
Still no fix.
Any suggestions? Am I doing something incorrectly?
Thanks,
K
I have a .dts object with a 'hard coded' shadow beneath it (a translucent shadow texture mapped onto a plane) that is rotating on top of another .dts object. Both objects were created in Max6.
The shadow textured poly is only visible from certain angles and certain distances. But....when I move the object with the translucent map off of the .dts object beneath it, everything works fine.
I read the docs and figured the solution was to add a SORT:: objectname header to the model's node in Max. I did this and wasnt able to fix the problem.
I then added the following code, per the docs, to the User Defined Properties of the object in Max.
SORT::MAX_DEPTH=2
SORT::NUM_BIG_FACES=4
SORT::WRITE_Z=FALSE
Still no fix.
Any suggestions? Am I doing something incorrectly?
Thanks,
K
About the author