cocopino Posted July 25, 2010 Posted July 25, 2010 Hi, I have a model that I need to scale by code in one single direction (Y axis). This will scale the texture as well, making it look badly. Is there a command that allows me to change material/UV scaling programmatically? Thanks! Quote desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32
Icare Posted July 27, 2010 Posted July 27, 2010 You have a tutorial in C/C++ to do this : scaling and rotating UV Nicolas Quote
cocopino Posted July 27, 2010 Author Posted July 27, 2010 Ah, GetVertexTexCoords/SetVertexTexCoords. Thanks Icare + Masterxilo! Quote desktop: Quad core Q6600 + 4GB + ATI HD4890 + XP laptop: Dual core T6400 + 4 GB + NVidia 9600M GT + Vista 32
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.