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

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: [mg83798] Re: how draw box with open front
  • From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
  • Date: Sat, 1 Dec 2007 05:35:58 -0500 (EST)
  • Organization: University System of Maryland
  • References: <fior1b$d0u$1@smc.vnet.net>

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.
> 

-- 

Kevin J. McCann
Research Associate Professor
JCET/Physics
Physics Building
University of Maryland, Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250


  • Prev by Date: Re: how draw box with open front
  • Next by Date: Re: A problem with FindRoot
  • Previous by thread: Re: how draw box with open front
  • Next by thread: Re: how draw box with open front