Hi,

> from Java3D to Vrml for correct export function....
> 
> has anyone an idea how to convert AmbientLights correctly?

I support the conversion using two ambientIntensity fields of 
PointLight and Material node of VRML97 in my VRML-Java3D
package, CyberVRML97 for Java.

    http://www.cyber.koganei.tokyo.jp/vrml/cv97/cv97java/index.html

I create PointLight nodes of VRML97 from a AmbientLight 
instances of Java3D, and set 1.0 to ambientIntensity fields of
all Material nodes of VRML97 that are created from Material 
instances of Java3D. However, I ignore ambient colors of the
Material instances in the current release.

About the my implementation in more detail, please see 
vrml.j3d.VRML97Saver.java in the package.

-----------------------------------------------
Satoshi Konno
http://www.cyber.koganei.tokyo.jp
[EMAIL PROTECTED]

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to