Notifications
Clear all

[Closed] Get final Tvert

I am curious about calculating the TVert location for a Tvert when the texture map applied to the face where a tvert resides has its own texture coordinate offsets.

For example, if you use getTVert() or polyop[font=Courier New].getMapVert [font=Verdana]you are fine as long as the textures in the face have not been offset. But what if you want to get the calculated texture coordinates of a face where the texture has had the tile, offset or rotation changed inside the texture? What if I want to get a Tvert as if it was the final texture coordinates, taking into account both the UVW of the model AND the texture?[/font][/font]

1 Reply

So the answer was a lot simpler than I had anticipated. I should be embarrassed. But I am comfortable with my own skin to know that I will always be a student in life.

I am sharing for future reference anyone else trying to figure this one out:

calculatedTv = TV * textureMap.coords.UVTransform 

Enjoy.

PS. I am still waiting for Denis, Sword Slayer, Steve Curley or some other God to build a Matrix (movie) style way of downloading all information straight into the brain. It would make me a lot happier…