cocopino Posted July 25, 2010 Share 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 Link to comment Share on other sites More sharing options...
Icare Posted July 27, 2010 Share Posted July 27, 2010 You have a tutorial in C/C++ to do this : scaling and rotating UV Nicolas Quote Link to comment Share on other sites More sharing options...
cocopino Posted July 27, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
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.