Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: ShadowPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65083] Re: [mg65035] ShadowPlot3D
  • From: "David Park" <djmp at earthlink.net>
  • Date: Tue, 14 Mar 2006 05:59:59 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Helen,

It works in 4.2 but not in 5.2 so some underlying changes have been made.
However, we can make it work by specifying the Lighting option.

<< Graphics`Graphics3D`

ShadowPlot3D[Sin[x y], {x, 0, 3}, {y, 0, 3},
    Lighting -> False];

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Helen Read [mailto:hpr at together.net]
To: mathgroup at smc.vnet.net


A colleague of mine asked me yesterday about a problem he is having with
ShadowPlot3D. In short, it does not seem to work correctly. The shadow,
instead of showing different colors corresponding to different heights
on the surface, is all one color. This happens with every example I have
tried, including the one given in the Help Browser (see below).

<<Graphics`Graphics3D`

ShadowPlot3D[Sin[x y], {x, 0, 3}, {y, 0, 3}]

Oddly, this example appears in the Help Browser correctly shadowed, but
if you execute it the coloration goes away.

We are running Mathematica 5.2, and have also tested this in Mathematica
5.1. To the best of our recollection, it used to work in previous
versions (4.2 certainly; not sure about 5.0).

--
Helen Read
University of Vermont



  • Prev by Date: Re: Re: Memory operations
  • Next by Date: Re: webmathematica
  • Previous by thread: Re: ShadowPlot3D
  • Next by thread: Graphics Text background problem