MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive


  • To: mathgroup at
  • Subject: [mg7611] LightSources
  • From: Alex Tabarrok <00attabarrok at>
  • Date: Thu, 19 Jun 1997 15:53:27 -0400 (EDT)
  • Organization: Ball State University
  • Sender: owner-wri-mathgroup at

         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.


P.S. I have MMA 3.0

Alex Tabarrok
Department of Economics
Ball State University

  • Prev by Date: Re: How to use a graphics primitive? No example in book
  • Next by Date: Re: Using the Table command with the Plot command
  • Previous by thread: Matrix Rank
  • Next by thread: FontForm