hrm.. That is weird... looks almost like your Depth Buffer is working entirely backward, like glDepthFunc(GL_GREATER). I'm not familiar with MayaVI or scipy so I can't offer much in the way of help.<br><br>Have you tried recompiling ipython?
<br><br><div class="gmail_quote">On Nov 29, 2007 12:52 PM, Peter Clifton <<a href="mailto:pcjc2@cam.ac.uk">pcjc2@cam.ac.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 2007-11-29 at 09:21 -0600, Randall Hand wrote:<br></div><div class="Ih2E3d">> Whether or not the Depth Buffer exists is typically a function of the<br>> arguments used to create the GL context. You can create contexts
<br>> without a Depth Buffer, but it's unusual.<br>><br>> other things to look into:<br>> * Near-Far clipping Plane values .. have you tried calling<br>> renderer->ResetCameraClippingRange() ? if your near plane is too
<br>> close to 0, you'll lose alot of resolution, causing artifacts.<br>> * Are you creating your own GL contexts? Or using the built-in VTK<br>> stuff?<br><br></div><div class="Ih2E3d">VTK stuff... I'm attaching the info here. I'm really new to VTK, so am
<br>not entirely familiar with its correct usage.<br><br>When I run a simple test program:<br><br></div><div class="Ih2E3d">ipython -wthread vtk_test.py<br><br></div><div class="Ih2E3d">Where vtk_test.py is from the first example here:
<br></div><div class="Ih2E3d"><a href="http://scipy.org/Cookbook/MayaVi/mlab" target="_blank">http://scipy.org/Cookbook/MayaVi/mlab</a><br><br></div><div><div></div><div class="Wj3C7c">I get the attached screenshot from some camera angles. A correct example
<br>is at the above website.<br><br>Thanks for helping!<br><br>Best wishes,<br><br>Peter C.<br></div></div><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br>Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL