Game Development Community

Aspect Ratio control of 3D objects?

by Jay Verba · in Torque Game Builder · 09/20/2007 (8:47 am) · 2 replies

When placing a 3D object in TGB it is scaled non-proportionally by default, facing down the negative Y, and cropped at the top and bottom. This is especially frustrating because the scale is defaultly set to 1 so it is trial and error to get it scaled correctly.
So if I am placing 10 objects in my scene, I have to manually go and punch in random numbers until it "appears" right. Is there a fix to this or am I not doing this right?

#1
09/27/2007 (6:46 pm)
I remember similar issues before I gave up on 3d in TGB. I think the code bases the clipping window of the renderable 3d mesh off the bounding boxes. You might have to poke around at the code to see whats going on. sorry.
#2
11/12/2007 (2:47 pm)
Seems like I saw a code snipit once here that aoutomatically scaled and rotated a 3d object to a certain view, ie. isometric in the example I saw. I will try and find it again.