9464

Position-Dependent Opacity

In Mathematica, opacity specified by Opacity[o] gives an opaque surface where the opacity is independent of the position. For curved surfaces this makes colors appear "flat". If the surface was made from a thin sheet of transparent material, the effective length of the optical path would depend on the angle between the surface normal and the view point. The optical path would be longest where the light rays would hit the surface parallel to its local tangent plane. The upper torus uses a position-dependent opacity to model a larger absorption; the lower torus uses a constant opacity (equal to the average opacity of the upper image). The position-dependent opacity results in darker edges and caustic-like structures around cusp projections.
  • Contributed by: Michael Trott with permission of Springer
  • From: The Mathematica GuideBook for Graphics, second edition by Michael Trott (© Springer, 2008).

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

Because the opacity used depends on the view point, rotating the upper graphic interactively yields physically incorrect results that do not correspond to the imitated appearance of a thin transparent sheet.

PERMANENT CITATION

Contributed by: Michael Trott with permission of Springer
From: The Mathematica GuideBook for Graphics, second edition by Michael Trott (© Springer, 2008).
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+