[sldev] Worn Items/Objects

Mike Monkowski monkowsk at watson.ibm.com
Tue Jan 8 14:22:20 PST 2008


alexander treptow wrote:
> I mean rendering "only" the worn objects of "my" avatar. no other 
> objects of any other avatar.

When you say "worn" you could mean either the textures applied to the 
mesh to simulate clothes or the avatar attachments.  They're treated 
differently.

Look in indra/newview/llvoavatar.cpp at the idleUpdate().  My first 
guess would be

if (!mIsSelf)
    return TRUE;

near the beginning, but I haven't actually tried it.  The code you need 
should be in that function anyway.

> to eyes: i only rendering my own avatar, but the eyes of other avatars 
> are still there. i dont know why. so i see the eyes of others without 
> their avatar. that looks quiet funny but its not what i want ;)

I noticed that when displaying wireframe meshes that the textures for 
eyes remain, but I don't know where that's done.

Mike




More information about the SLDev mailing list