Game Development Community

Rendering T3D in, er,... Parrelel View?

by Ian Omroth Hardingham · in Torque 3D Professional · 12/14/2009 (7:35 am) · 5 replies

Hey guys.

It's been a while since my graphics card so I've forgotten what exactly this is called. Basically, I want it so that Torque 3d render from the perspective of the plane of the camera rather than the point of the camera. So if you had three objects at positions

-1 0 0
0 0 0
1 0 0

And your camera was facing down the y axis, currently the objects on the left and right would not be looking "straight at" the camera, you would see them slightly side on.

Er... so hopefully you know what I'm talking about now - so is it possible to set this kind of rendering up easily in Torque?

Thanks,
Ian

#1
12/14/2009 (11:24 am)
Change the field of view global to anything over 90 degrees, i think thats what you are looking for
#2
12/14/2009 (12:53 pm)
... really? I'm actually pretty sure that isn't what I want.
#3
12/14/2009 (12:58 pm)
Ah, I mean I want it in orthographic mode.
#4
12/14/2009 (1:10 pm)
This command does it:

EWorldEditor.setDisplayType(#);
#5
12/18/2009 (4:22 am)
I don't think you can force the camera to do that for gameplay at the moment. We would need to add that functionality to Camera and GameConnection/ShapeBase/GameBase for both the free camera and the player mounted camera.

Anyway... totally doable with some C++ to expose it to script.