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


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

Defective Mesh lines in ContourPlot3D

Started by"Alexey Popkov" <lehin.p@gmail.com>
First post2011-08-29 07:47 +0000
Last post2011-08-29 07:47 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#4641 — Defective Mesh lines in ContourPlot3D

From"Alexey Popkov" <lehin.p@gmail.com>
Date2011-08-29 07:47 +0000
SubjectDefective Mesh lines in ContourPlot3D
Message-ID<j3fg6a$f9o$1@smc.vnet.net>
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?


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web