Hi...

I am trying to visualize user's virtual self (avatar) in my virtual
world. I have implemeted ViewerAvatar as the BranchGroup of avatar, and
then I have put the ViewerAvatar into Viewer of the SimpleUniverse. But
I could not yet see the avatar in my virtual world.

   Viewer expViewer = expUniverse.getViewer( );
   Appearance avatarApp = new Appearance();
   avatarApp.setMaterial(new Material(black, black, black, white,
10.0f));
   Sphere headAv = new Sphere(0.5f, Sphere.GENERATE_NORMALS, avatarApp);

   ViewerAvatar avatar = new ViewerAvatar();
   avatar.addChild(headAv);
   expViewer.setAvatar(avatar);

Any solution ?

Thank's
Alita

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to