Hello

It's just that the ViewPlatform has to be transformed with a TG with Vector with Z 
component, for example (0.0f, 0.0f, 2.4f), and the ColorCube with a diferent TG. Here 
is a modified file that works:

(See attached file: Test3D.java)(See attached file: Test3D.class)

Hope this helps

Dani

-----------------------------------------------------------------------------------------------------------------------

Hi Silvano

Well a quick glance at your code tells us many things.

First it's not wise to hang the view/ViewPlatform to the
same TransformGroup as your scene content. (Did you add
the viewPlatform at all (don't remember)).

Second you don't have any light. So if the color cube hasn't
got any emissive material color it won't appear.

Third maybe you should move your viewPlatform a bit away.
It could be that your view is actually inside of the cube.
Backface culling will prevent you to see anything then.

EOF,
 J.D.

--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (mirror)

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





--

Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

Attachment: =?iso-8859-1?Q?Test3D.java?=
Description: Binary data

Attachment: =?iso-8859-1?Q?Test3D.class?=
Description: Binary data

Reply via email to