[vtkusers] Bug in depth ordering whilst rendering
Randall Hand
randall.hand at gmail.com
Thu Nov 29 14:15:19 EST 2007
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.
Have you tried recompiling ipython?
On Nov 29, 2007 12:52 PM, Peter Clifton <pcjc2 at cam.ac.uk> wrote:
> On Thu, 2007-11-29 at 09:21 -0600, Randall Hand wrote:
> > Whether or not the Depth Buffer exists is typically a function of the
> > arguments used to create the GL context. You can create contexts
> > without a Depth Buffer, but it's unusual.
> >
> > other things to look into:
> > * Near-Far clipping Plane values .. have you tried calling
> > renderer->ResetCameraClippingRange() ? if your near plane is too
> > close to 0, you'll lose alot of resolution, causing artifacts.
> > * Are you creating your own GL contexts? Or using the built-in VTK
> > stuff?
>
> VTK stuff... I'm attaching the info here. I'm really new to VTK, so am
> not entirely familiar with its correct usage.
>
> When I run a simple test program:
>
> ipython -wthread vtk_test.py
>
> Where vtk_test.py is from the first example here:
> http://scipy.org/Cookbook/MayaVi/mlab
>
> I get the attached screenshot from some camera angles. A correct example
> is at the above website.
>
> Thanks for helping!
>
> Best wishes,
>
> Peter C.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071129/4760a56f/attachment.htm>
More information about the vtkusers
mailing list