Re: upgrading SurfaceColor directive in version 6
- To: mathgroup at smc.vnet.net
- Subject: [mg82526] Re: [mg82464] upgrading SurfaceColor directive in version 6
- From: Chris Hill <chill at wolfram.com>
- Date: Tue, 23 Oct 2007 05:36:11 -0400 (EDT)
- References: <200710210216.WAA11647@smc.vnet.net>
At 09:16 PM 10/20/2007, congruentialuminaire at yahoo.com wrote: >Hello Mathematica UG: > >I created a plot with the following V5 Graphics directive under V6: > >SurfaceColor[ Hue[1/6, .3, 1], Hue[1/6, 1, 1], 8] > >The command (ParametricPlot3D) complains that this is a legacy >operation and that I should use ColorFunction. > >Help in V6 says that SurfaceColor has been deprecated in favor of >Specularity and Glow. > >I looked at the help for all of these and I am not sure which >arguments correspond, except the 3rd is the glow. > >If it is easy to translate this, I would greatly appreciate any help >and/or pointers convert this. > >TIA. > >Regards..Roger This version 5 SurfaceColor specification: SurfaceColor[ Hue[1/6, .3, 1], Hue[1/6, 1, 1], 8] Can be written in this form for version 6: Directive[Hue[1/6, .3, 1], Specularity[Hue[1/6, 1, 1], 8], Glow[Black]] Chris Hill Wolfram Research
- References:
- upgrading SurfaceColor directive in version 6
- From: congruentialuminaire@yahoo.com
- upgrading SurfaceColor directive in version 6