#### Archived

This topic is now archived and is closed to further replies.

# Scaling

This topic is 6182 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

How would I scale a set a vertices for, say, a model that is centered around the origin, by a certain factor?

##### Share on other sites
You can stretch (or shrink) an axis by simply multiplying (or dividing) it by the factor that you want. So, if I were to write

x'' = 2x

where x is my old variable and 2 is the stretch factor I want, I would get a new axis where every point in the old x axis is located twice the distance from the axis in my new variable. Then use this new variable for performing computations on your object.

You can extend this to multiple dimensions. If you want to stretch all dimensions equally, then use the same scaling factor. If however, you want to distort your object, then you can stretch different axes by differing amounts.

Cheers,

Timkin

1. 1
2. 2
Rutin
18
3. 3
4. 4
5. 5
frob
12

• 9
• 21
• 13
• 9
• 17
• ### Forum Statistics

• Total Topics
632608
• Total Posts
3007391

×