Saturday, August 9, 2008

A Necessary Post

I keep visiting this post to remember the XSI script I wrote to discard the W coordinate in explicit UVW texture projections, so here it is.

Now I hope won't have to search for it again in the Ogre forums.

The projection object must be selected for it to work.

set projection = Selection( 0 )
set objects = projection.parent

TranslateUVW objects, projection, 0, 0, 0, siAbsolute, siW, true

I almost forgot: A picture to appease my non technical friends...

No comments: