Hi,

In the same topic...
I have tryied to use

View view = new View();
cameraTG=view.getViewPlatform();

but the compiler says that
--
Method getViewPlataform() not found in javax.media.j3d.View
--
Any clues?...�:0).



>From: Thomas Gilbert Giusepe <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Moving viewPlataform in VirtualUniverse
>Date: Fri, 9 Nov 2001 15:02:47 +0000
>
>Hi there,
>
>I am trying to move my viewplataform through my SceneGraph as I have yet
>done successfully for SimpleUniverse plataform with keybehavior, but now
>for
>VirtualUniverse the camera doesn't go with the KeyBehavior. I have also
>done
>the setCapability (ALLOW_TRANSFORM_READ,etc).
>
>I am doing as follow:
>--
>View view = new View();
>ViewPlatform viewPlatform = new ViewPlatform();
>view.attachViewPlatform(viewPlatform);
>view.addCanvas3D(mainCanvas);
>
>cameraTG.addChild(viewPlatform);
>
>KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(cameraTG);
>// Option:#1
>//vpTrans.addChild(keyNavBeh);
>
>// Option:#2
>vpTrans.addChild(cameraTG);
>
>vpRootBG.addChild(vpTrans);
>--
>
>If I do option #1 the scene shows me an applet without content; If I do
>option #2 my canvas shows to me the expected scenegraph, but the
>KeyBehavior
>doesn't get any effect for my camera.
>
>Some hints !? Thnx in advance....�:0). Thomas
>


_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp

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