06-16-2003, 06:40 AM

Hi all,

I am building an opengl world and I am loading 3d objects of ships, planes, vehicles and so on. I want to compute a scalefactor so that I can scale the vertices of each object. When the objects are drawn on the screen, I want them to be roughly the same size. For example, I may have a ship that is 1000 m long and a jeep that is 10 m long. How can I compute a scalefactor to add to the vertices of each object to make them the same size? Any help would be greatly appreciated.

I am building an opengl world and I am loading 3d objects of ships, planes, vehicles and so on. I want to compute a scalefactor so that I can scale the vertices of each object. When the objects are drawn on the screen, I want them to be roughly the same size. For example, I may have a ship that is 1000 m long and a jeep that is 10 m long. How can I compute a scalefactor to add to the vertices of each object to make them the same size? Any help would be greatly appreciated.