Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4641

Defective Mesh lines in ContourPlot3D

From "Alexey Popkov" <lehin.p@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Defective Mesh lines in ContourPlot3D
Date 2011-08-29 07:47 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j3fg6a$f9o$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hello,

I have a problem with rendering of Mesh lines on a 3D surface produced by 
ContourPlot3D in Mathematica 7.0.1:

p=ContourPlot3D[x^4+y^4+z^4-(x^2+y^2+z^2)^2+3(x^2+y^2+z^2)==3,
      {x, -2,2}, {y, -2, 2}, {z,-2,2},
     BoundaryStyle->Directive[Black,Thickness[.003]],
     ContourStyle->Directive[Orange,Opacity[0.5],Specularity[White,300]],
     PlotPoints->90,Ticks->None,
     MeshStyle->Directive[GrayLevel[.7],Thickness[.001]],
     Lighting->{{"Directional",RGBColor[1,1,1],
                           {ImageScaled@{1,0,1},ImageScaled@{0,0,0}}}}];
p=Graphics[Inset[p,{0,0},Center,{1,1}],
                        PlotRange->{{-.5,.5},{-.5,.5}},Frame->True]

(see screenshot here: http://i.stack.imgur.com/zBtYC.png )

Let us to look closer on Mesh lines:

Show[p, PlotRange -> {{-.16, -.05}, {0, .1}}]

(see screenshot here: http://i.stack.imgur.com/JBkcc.png )

You can see that gray Mesh lines are overlapped by surface-forming triangles 
in many places and even look dashed. Is there a way to avoid this?


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Defective Mesh lines in ContourPlot3D "Alexey Popkov" <lehin.p@gmail.com> - 2011-08-29 07:47 +0000

csiph-web