It seams that when I try to call setCapability(Light.ALLOW_COLOR_WRITE);
I get a Dr. Watson....
Code sample:
sceneGraph = new BranchGroup();
// Create the background for the scene and add it to the scene graph
// createBackground(sBkImage);
// Create a 3D transformation and add it to the scene graph.
BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0),
100.0);
aLight = new AmbientLight();
aLight.setInfluencingBounds(bounds);
DirectionalLight dlLight1 = new DirectionalLight();
dlLight1.setInfluencingBounds(bounds);
dlLight1.setColor(new Color3f(0.4f, 0.0f, 0.4f));
dlLight1.setDirection(-.5f, -1.0f, -1.0f);
aLight.setCapability(Light.ALLOW_COLOR_READ);
aLight.setCapability(Light.ALLOW_COLOR_WRITE); <----- This line results
in Dr. java.exe thoughing Dr. Watson
sceneGraph.addChild(dlLight1);
sceneGraph.addChild(aLight);
any suggestions..??
ThanX
Dan Hopkins
[EMAIL PROTECTED]
===========================================================================
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".