Hi!
I am using a VirtualUniverse, but I don't know how to set ViewerAvatar in
the VirtualUniverse,because there's no any Viewer in the VirtualUniverse.
I tried to get Viewer from a view like this:

Viewer viewer = Viewer.getViewer(view);
viewer.setAvatar(createAvatar());

but this code cause a nullpointer viewer.

And if I try to use SimpleUniverse in my project, there appears a new
windows seems like a new Canvas3D object has been created by the
SimpleUniverse.

 SimpleUnivere u = new SimpleUniverse();

 u.getViewer().setAvatar(createAvatar());

Any one helps me, please!


I appreciate your kindly help.

===========================================================================
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