Thank you for telling me this. But I have another question about this. I use SimpleUniverse and ViewingPlatform in my program. Meanwhile I want to change the viewpoint to generate animation. I use the class of ViewPlatformBehavior previously but the effect is not quite satisfying. So I decide to use Interpolator. As the Interpolator (whatever kinds) is subclass of Behavior, we should add it into the certain scene graph. But when I tried to add the interpolator into the TransformGroup I got via ViewingPlatform.getViewPlatformTransform(), exception occurs that is
javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on a live or compiled object So, the problem is that whether I could make an interpolator (or behavior) work well with SimpleUniverse and ViewingPlatform? Or I can only use the standard ViewPlatform and VirtualUnvierse? Did you meet the same problem? I will be very appreciated if you can answer this question for me, although it seems silly to ask such questions. PW -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of Sch�fer, Peter Sent: December 9, 2002 6:24 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Chess Board Demo I'm using a slightly modified version of com.sun.j3d.utils.behaviors.interpolators.KBRotPosScaleSplinePathInterpo lato r > -----Original Message----- > From: Yu Wang [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 5. Dezember 2002 16:17 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Chess Board Demo > > > Hello, > > Could you please tell me what do you use for the viewpoint changing? > PathInterpolator? I do not know how to make the viewpoint move so > smoothly. Thanks. > > Sincerely Yours, > > Paul Wang > > -----Original Message----- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]] On Behalf Of Sch�fer, Peter > Sent: December 5, 2002 6:19 AM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Chess Board Demo > > > Hello, > > here's a little demo applet for you to watch: > > http://jose-chess.sourceforge.net/flyby0.html > > [requires JRE 1.3 or later, and J3D 1.3] > > You can also download > http://jose-chess.sourceforge.net/flyby.jar > and run it from the command line with: > java -jar flyby.jar > > Here is a screen shot: > http://jose-chess.sourceforge.net/shot03.jpg > > > Best Wishes, Peter > > ============================================================== > ========== > === > 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". > ========================= 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".
