Scaling 3D models to relative size

Previous topic - Next topic

JohnnyB

Is there a way to scale models to a size of let's say 1x1. X_SCALING apparently only scales from the original size, it seems?

SnooPI

Yes, it's from the original size.

You must scan all the vertices, take the highest value, and use it as the scaling value.

For example, your highest value (x, y, or z) is 250:
Your scaling value = 1/250 = 0.004

X_SCALING 0.004, 0.004, 0.004 

JohnnyB


bigsofty

As long as you don't have tonnes of models, it's usually easier to load the models into your model editor and scale it there.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)