Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

is the visibility of a Polygon[] exposed?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83653] is the visibility of a Polygon[] exposed?
  • From: congruentialuminaire at yahoo.com
  • Date: Tue, 27 Nov 2007 06:15:17 -0500 (EST)

Hello Mathematica UG:

Is it possible for my code to tell if a Polygon (in my graphics
object) is visible?

I assume that this is based upon (or is affected by) the ViewPoint->
setting.

Further, I assume that the kernel is deriving this somewhere to do
rendering. Do I have any access to this?

If I evaluate:

q = PolyhedronData["SnubCube"]

I can see the component Polygon[] and GraphicsComplex[] objects that
make up the Graphics3D[]. I want to make a code decision based on
whether a face is showing.

TIA.

Regards..Roger W.


  • Prev by Date: Re: Export figures with tooltips
  • Next by Date: File reading and writing within for loop
  • Previous by thread: Re: Mathematica 6.0 Desperation
  • Next by thread: Re: is the visibility of a Polygon[] exposed?