Mathematica 9 is now available
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: Graphics3D polygon face colors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65044] Re: [mg65016] Graphics3D polygon face colors
  • From: AJ Friend <gtg930w at mail.gatech.edu>
  • Date: Sun, 12 Mar 2006 23:58:29 -0500 (EST)
  • References: <NDBBJGNHKLMPLILOIPPOGEHNEOAA.djmp@earthlink.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, thanks for the response. My problem isn't that I want to change the 
object color, I want to have the values of the colors of the faces so 
that I can use them elsewhere. I am taking each face from a polyhedron 
and displaying it as a flat polygon, but I want the polygon to have the 
same color as it has on the polyhedron (the outside face, specifically). 
Any ideas on how to do such a thing?

Thanks,
AJ

David Park wrote:
> AJ,
>
> Use the graphics directives FaceForm, EdgeForm and SurfaceColor. If you want
> the entire surface to be the same color all you will need if SurfaceColor.
> You can use EdgeForm to subdue the 'mesh' by coloring them only a slightly
> darker shade than the surface.
>
> One problem is that regular Mathematica lighting is colored and if you try
> to use lighter pastel colors for the objects the regular lighting will
> overwhelm them.
>
> The DrawGraphics package from my web site below has an option command,
> NeutralLighting, that allows you to adjust the color saturation of the
> lights so that surface colors will better display. It also allows you to
> rotate the lights.
>
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
>
>
>
>
> From: AJ Friend [mailto:ajfriend at gatech.edu]
To: mathgroup at smc.vnet.net
>
>
> Hi,
>
> If I display a polygon in 3 space with Graphics3D and the faces are
> colored by the default light sources, does anyone know how to get the
> rbg values for the face colors?
>
>
> Thanks,
> AJ Friend
>
>
>
>   



  • Prev by Date: Re: Extract values and multilpicities from list
  • Next by Date: Re: Importing Several sheets from one Excel file into Mathematica
  • Previous by thread: Re: Graphics3D polygon face colors
  • Next by thread: Re: Graphics3D polygon face colors