MathGroup Archive 2007

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

Search the Archive

Re: how draw box with open front

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83802] Re: how draw box with open front
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 1 Dec 2007 05:38:05 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <fior1b$d0u$1@smc.vnet.net> <475015A4.9030206@umbc.edu>
  • Reply-to: murray at math.umass.edu

Thanks for your suggestion, but still there's a front -- the box does 
NOT seem to have no front! As soon as the other 5 side polygons are 
there, the front is not completely transparent -- you still see it there.

Kevin J. McCann wrote:
> How about this:
> 
> Graphics3D[{Red, Opacity[1],
>   Polygon[{{0, 0, 0}, {1, 0, 0}, {1, 1, 0}, {0, 1, 0}, {0, 0, 0}}],
>   Opacity[0.9],
>   Polygon[{{0, 0, 0}, {1, 0, 0}, {1, 0, 1}, {0, 0, 1}, {0, 0, 0}}],
>   Polygon[{{0, 0, 1}, {1, 0, 1}, {1, 1, 1}, {0, 1, 1}, {0, 0, 1}}],
>   Polygon[{{0, 1, 0}, {1, 1, 0}, {1, 1, 1}, {0, 1, 1}, {0, 1, 0}}],
>   Polygon[{{0, 0, 0}, {0, 1, 0}, {0, 1, 1}, {0, 0, 1}, {0, 0, 0}}]}]
> 
> 
> You can play with the Opacity, but even with both set at 1.0, the front 
> looks open.
> 
> Kevin
> 
> Murray Eisenberg wrote:
>> In Mathematica 6, what's the best way to draw a convincing box 
>> (rectangular parallelepiped) with an open front?
>>
>> Of course I tried Cuboid, but no matter how I try to treat the faces, 
>> it still looks like the front is solid, too.
>>
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Exporting Sound
  • Next by Date: Re: Contour levels
  • Previous by thread: Re: how draw box with open front
  • Next by thread: Re: how draw box with open front