I just have another question on the KeyNavigatorBehaviour that you may have
an idea of. If I use it together with my own mousebehaviour it seems like
the application builds up "lag" and just slows down. It looks like the
thread is locking some resources to keep my mousebehaviour from affecting
the scenegraph. I am writing my own keyboardbehaviour but am wondering why
that happened.
-----Original Message-----
From: Danny Kahn [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 07, 2001 2:44 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Creating shapes at runtime???
Hi--
I'm working on a 3D clickable interface, and I want to be able to create
spheres dynamically when the user clicks. Java3D doesn't let you add
children to live or compiled branchgroups. Is there some way around
this? Right now I have to create the spheres when I initialize the program
and then only draw them once the user has clicked. This seems like a very
roundabout way of accomplishing what should be a simple thing to do.
Secondly, I'm using a simple quadrilateral to represent the ground. I have
some block buildings on the ground. When I use the KeyNavigatorBehavior
class, the buildings seem to slide around on the ground. I can't figure
out why this happens. The KeyNavBeh object is attached to a view
transformgroup that's in a different branchgroup than the ground and
buildings. Any suggestions woiuld be greatly appreciated.
Danny
===========================================================================
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".
===========================================================================
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".