Ramsbaby / min3d

Automatically exported from code.google.com/p/min3d
1 stars 0 forks source link

Lights in min3D #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello everyone i have a question and is, gow can I put lights in a object 3D, I 
don't know what is this line scene.lights().add(new Light()); and I put my code:

scene.lights().add(new Light());
scene.lights().add(new Light());

Light myLight = new Light();
myLight.position.setZ(150);
scene.lights().add(myLight);
scene.lightingEnabled(true);

and doesn't happend anything, my object is not seen, is dark, somebody can help 
me, and my apologize for my bad english.

Original issue reported on code.google.com by Armando....@gmail.com on 1 May 2013 at 6:20