Hi,
I currently use camera.orbit(cameraPitch, cameraYaw % 360); to orbit the camera around an object.
I have now introduced a light and use a PhongShader/ShadedMaterial to apply shading. However, as the camera orbits around the scene, the light orbits with it, therefore always pointing to the same face.
How would I fix the light and orbit the object interdependently?
I thought of making the object orbiting instead of the camera but I couldn't get the same results (i.e. rotationX is relevant to rotationY).
Any suggestions are really appreciated..
thanks
n.
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org