Sign in to follow this  

Scaling down tiny.x

This topic is 4302 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

I’m having an issue with scaling the 3d models in my program. I’m rendering and animating tiny.x, but she’s absolutely huge. Is the only way to scale her down is to create a scaled down matrix, then combine that into the world view for the model? If that’s the case is the only way, (or the best way) to generalize that to scale different models down is to that the bounding sphere around the model, then use that to scale it down? Either way what are you all doing with this. Thanks.

Share this post


Link to post
Share on other sites
It worked like a charm, thanks!
I couldn't find in any of the examples that I'm using that use D3DXMatrixScaling, they just change the view space she that shes like -700.0f away. Is there any reason for this, or are they just trying to make is easy?

Thanks.

Share this post


Link to post
Share on other sites
Probably the examples you are using don't care about scale. They just display the model at whatever distance is necessary to see it. Obviously, that won't work very well if you display more than one model. You have to decide how big you want a model to be in your world's unit and then scale it appropriately.

I wouldn't use a bounding sphere to automatically scale the model. Instead, decide on a scale for each of the models and make those values part of the data.

Share this post


Link to post
Share on other sites

This topic is 4302 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