Someone posted this code (Virtual.java) awhile back to the list.
UniverseBuilder.java was an example from The Java3D 1.1 API Specification.
I don't see it in the 1.2 specification and I don't have a copy of it here.
But it's basically the same thing, just broken out into ColorCube and
UniverseBuilder classes.
----- Original Message -----
From: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 6:11 AM
Subject: [JAVA3D] Help: VirtualUniverse and Java3D API Specification
> Hi There,
>
> I have tested the sample code from "Java3D API Specification (j3dAS)" -
> Chapter 1: HelloUniverse. Once that the example in the "j3dAS" was absent,
> to canvas3D I have setup as a suggestion received (thnx Nikolaos Abatzis)
> from j3D Discussion list, as follow:
>
> GraphicsDevice dev=
> GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()
;
> Canvas3D c = new Canvas3D( dev.getDefaultConfiguration()) ;
>
> At least the code began to run, but actually is happen strange rendering.
> So, could someone please help me telling where there is some simple code
> sample (if there is), which really works using VirtualUniverse instead of
> SimpleUniverse.
>
> Thnx in advance. Best wishes,
> 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".
Virtual.java