Jump to content

animate a texture face of a mesh?


Naiman Broome
 Share

You are about to reply to a thread that has been inactive for 3182 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Actually looking better its animating only one face, leaving the others still ...

what is strange is that using the develop / rendering / select texture info basis shows always the same face 0 for all faces of the mesh ... perhaps there is some other kind of face evaluation for meshes?

 

I used:

 

 llSetTextureAnim(ANIM_ON | ROTATE | LOOP | PING_PONG | SMOOTH, 0, 0,0,0,PI/180,0.21);

 

 

And

 

 llSetTextureAnim(ANIM_ON | ROTATE | LOOP | PING_PONG | SMOOTH, ALL_SIDES, 0,0,0,PI/180,0.21);

Link to comment
Share on other sites

The faces receiving one (animated) texture in SL are collections of polygons assigned to different materials in the 3D authoring software. If there is only one material, the default, then the mesh has only one face, face 0. To be able to apply textures and/or animations to different parts of the mesh, you have to create (a mximum of eight) different materials in you 3D authoring program, and assign the appropriate mesh polygons to them. These then appear as numbered faces in SL.

That applies to a single mesh object. If the leaves and the rest of the tree are separate (linked) objects, then of course you can texture/animate them independently, but each will be only face 0 unless it has multiple materials.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3182 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...