Re: Re: how draw box with open front
- To: mathgroup at smc.vnet.net
- Subject: [mg83830] Re: [mg83820] Re: how draw box with open front
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 2 Dec 2007 04:02:02 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <fior1b$d0u$1@smc.vnet.net> <200712011047.FAA28322@smc.vnet.net>
- Reply-to: murray at math.umass.edu
I should have stated that this box will need to use black/white + grayscale only. (Probably I also need Lighting->"Neutral".) So using White in the second argument of FaceForm makes the bottom and left side disappear completely! Helen Read wrote: > 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. > > There's an example in the documenation of Cuboid that uses FaceForm to > specify different properties for the front and back of faces. > > Graphics3D[{FaceForm[Yellow, Blue], > Cuboid[Scaled[{.1, -.5, .1}], Scaled[{.9, .8, .9}]]}, > PlotRange -> {{-1/4, 5/4}, {1/4, 5/4}, {-1/4, 5/4}}] > > To me this looks like the front is open, and even more so with something > like FaceForm[Blue,White] or perhaps FaceForm[Blue, {Opacity[.6], White} > > -- 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
- References:
- Re: how draw box with open front
- From: Helen Read <hpr@together.net>
- Re: how draw box with open front