Game Development Community

3dShapes with perspective

by Eyal Erez · in Torque Game Builder · 09/07/2008 (3:39 pm) · 5 replies

Did anyone try to modify the source to render 3dShapes with perspective?
Seems like this would give a lot more flexibility than standard orthographic view.
I'd like to try it at some point and was wondering if any of you already did it.
Thanks,
Eyal.

#1
09/09/2008 (10:44 am)
I did it when I was experimenting with the "mode7" perspective. I found it to be unnecessary because you can already change the perspective in the editor and so probably also with script.
#2
09/09/2008 (11:26 am)
Joe, How do you change the perspective in the editor. I couldn't find any parameter to do so.
I also didn't find anything in the TGB reference to do it in the script.
#3
09/09/2008 (11:43 am)
Select the 3D object in the TGB editor. Click the Edit tab. Change the Z rotation value. In script use setShapeRotation()
#4
09/09/2008 (1:15 pm)
I see what you saying. However, I am looking for perspective as oppose to orthographic. meaning rendering with vanishing point. this makes objects apear smaller when far away from the camera. if you render a cube in perspective, the far away edges will be smaller than the edges close to camera.
In any case I appriciate your help. seems like it's just me in you here on thid post :)
#5
09/22/2008 (8:14 am)
This would be a nice feature. When I saw things like this talked about in the past, I usually saw "buy TGE" as the end response. It'd be handy in my current game though.