Sign in to follow this  

D3DXVec3Scale

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to scale a cluster of selected vertices on an object, say a sphere. When I perform a scale using D3DXVec3Scale, the scale works fine if the selectd vertices are located around the lateral centre of the object. Polar selections also work fine, as long as the object is centred. But if I select vertices that are not centred then the scale is not symetrical with the selected vertices. Should I be looking at using D3DXPlaneScale ?

Share this post


Link to post
Share on other sites
Quote:
if I select vertices that are not centred..

What do mean by "centered?"

Also, how do you want to scale them? With respect to the center of the sphere? With respect to the origin? With respect to some average position (weighted average? geometric average?) of the cluster?

Share this post


Link to post
Share on other sites

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

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this