Skip to main content
GameDev.net gamedev.net
🔒 Locked

texture collada and tile

Started by giugio Sep 11, 2010 at 7:50 AM 0 replies 450+ views
Original Post
giugio
giugio
Hello.
I have a problem with importing a model with textures.
Using COLLADA, after exporting from 3ds, after importing the UV coordinates, the texture of the object is not mapped properly.
After a long time I realized that the object appears as if there was a check on the coordinate V of the "V tile flip" , that on 3ds help has this definition: "Reverses the direction of the map along the specified axis" and the axis is that of coordinated V.
Thank you.


this is the form of the tile V tile flip:
http://docs.autodesk.com/3DSMAX/13/ENU/Autodesk%203ds%20Max%202011%20Help/index.html?url=./files/WSf742dab04106313366400bf6112a1cea097-7e9d.htm,topicNumber=d0e95450
SiS-Shadowman
SiS-Shadowman
Well, if it appears that the v coordinate is flipped, then you should flip it backwards.
If you're using normalized UV coordinates (ie. in the range of [0, 1]) then you would calculate the new V using: V = 1 - V. If you're using pixel coordinates, you need to calculate: V = width - V (or height... I can't say right now).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.