Hi Borja

> I have written code for saving the scene to my own file format. In this file I save 
>all the vertex and the material of the shape3d.
>
> When I load the scene if I set a material to the shape3d appearance, the object 
>disappears. What is happening?
>
> I think all is working fine if I dont set the material and texture of the object, 
>but I need loading that.
>
> Please help me because its urgent.
Hmm maybe you don't have any lights? Or turned off. Normaly Shapes nodes
when created with the default constructor come with a default appearance
which uses a material which has as emissive color 1.0f, 1.0f, 1.0f
appearing completly white. So if you don't have any
light source this shape will still appear.

EOF,
 J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

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