I want to add fog to may scene, and I don�t know how to do it. This is my code:
ExponentialFog fog = new ExponentialFog(150, 150, 180, 0.25f); fog.setInfluencingBoundingLeaf(myBoundingLeaf); fog.addScope(mySceneGraph.getRoot()); myCanvas3d.getGraphicsContext3D().setFog(fog); With or without this code, the scene appears in the same way, without fog in nowhere. Is it necessary to add the fog leaf node to the scene graph ? I have tried it but I still can�t see the fog. Thanks. ==========================================================================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".
