positioning texture on a sphere

whorl's icon

Much edited version of my previous (confusing and now deleted) post...

I am trying to position the iris jpg onto the sphere so it looks like an eye but i'm having trouble understanding the tex_plane_t and s messages.

I have gone through the tutorials (esp jitter 34) but can't find any thorough documentation of how these functions work. I gather there are 4 axis (x,y,z,w) but this is quite confusing....

any advice much appreciated!

pupil.zip
zip
matmat's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi,
There is a cool patch call "TexCoordMagic" on the forum , this could help you.

whorl's icon

Beautiful! Thanks a lot :)