LightSources
- To: mathgroup at smc.vnet.net
- Subject: [mg7611] LightSources
- From: Alex Tabarrok <00attabarrok at bsu.edu.bsu.edu>
- Date: Thu, 19 Jun 1997 15:53:27 -0400 (EDT)
- Organization: Ball State University
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I have a 3D object which I want to show from different viewpoints. As the viewpoint changes I want the colors to remain the same to facilitate comparisons. MMA keeps it's RGB color sources in fixed positions in terms of the display, thus the colors change as one changes the viewpoint. The solution would seem to be move the lightsources so that the lights are in the same position relative to the object as the viewpoint changes. I am having trouble, however, figuring out how to convert display coordinates to viewpoint coordinates so that I can properly place the lights. If anyone has already done this or has any other ideas I would appreciate hearing them. Thanks. Alex P.S. I have MMA 3.0 Alex Tabarrok Department of Economics Ball State University