Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: "Directional" light and ImageScaled coordinates (a bug?)
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 266
Registered: 6/14/08
"Directional" light and ImageScaled coordinates (a bug?)
Posted: Jan 7, 2013 12:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

It seems that "Directional" light specification with the direction of the
light specified by a vector defined by two points
{"Directional", col, {pt1, pt2}}
ignores the second point 'pt2' when ImageScaled coordinates are used.

Graphics3D[{White, Sphere[]},
Lighting -> {{"Directional", Green, ImageScaled[{0, 0, 1}]}}]
Graphics3D[{White, Sphere[]},
Lighting -> {{"Directional",
Green, {ImageScaled[{0, 0, 1}], ImageScaled[{0, 0, 0}]}}}]
Graphics3D[{White, Sphere[]},
Lighting -> {{"Directional",
Green, {ImageScaled[{0, 0, 1}], ImageScaled[{1, 0, 1}]}}}]

I see no difference between the outputs from above in the version 9.0.0. Is
it a bug?

Alexey Popkov

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.