hi,
an example, how you can do it:
//-------------------------------------------------------
View view = new View();
view.setPhysicalEnvironment(new PhysicalEnvironment());
view.setPhysicalBody(new PhysicalBody());
//attach viewplatform
view.attachViewPlatform(platform);
Canvas3D canvas3d = new
Canvas3D(GraphicsEnvironment.getLocalGraphicsEnvironment
().getDefaultScreenDevice().getDefaultConfiguration());
view.addCanvas3D(canvas3d);
Locale locale = new Locale(new VirtualUniverse());
//add branchgroup of viewpoint and scene
locale.addBranchGraph(viewBG);
locale.addBranchGraph(objBG);
//-------------------------------------------------------
Gernot
[EMAIL PROTECTED]
Casey Reagan
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
U> cc:
Sent by: Discussion Subject: [JAVA3D] view - not
simple view
list for Java 3D API
<JAVA3D-INTEREST@JAV
A.SUN.COM>
01.12.99 21:07
Please respond to
Discussion list for
Java 3D API
Can someone give me an example, or point me to one, of how to set up the
view in Java3D without using simple universe. All of the examples that I
have seen use this. I have an image but I want to be able to look at my
world in different directions.
Thank You,
Casey R
===========================================================================
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".