[Date Index] [Thread Index] [Author Index]
Re: Lighting, SurfaceColor, and Graphics3D..
Stan Wagon just showed me a trick to do this. With Mma 3.0 you can specify the normal vector of a polygon overriding its true normal. The trick is then to find a value for the normal which will have it point in the direction to receive a given shading. Check the yellow (?) book titled something like "Graphics in Mathematica" for the normal specification. Scott Herod (sherod at newton.colorado.edu) In article <5cg4b8$t34 at smc.vnet.net> george at mech.seas.upenn.edu ( George Jefferson ) writes: >Is it possable to have a 3d graphic with Lighting->True, >but explicitly specify the color of a particular polygon? > >I tried creating a figure with lighting->true and another >with lighting->false and combining them with one Show. >No good, the lighting->true overrides. > >I thought you should be able to do it with a SurfaceColor specification, >but that doesn't seem to have the flexability to say 'ignore the >lighting and just set the color' > >Ideas? > > > > > > > >