[vtkusers] How to use backface culling with polylines

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Nov 18 09:36:49 EST 2010


Donny,

Were you talking about hidden lines removal may  be?

Thanks,




On Thu, Nov 18, 2010 at 9:03 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Jerome is correct, OpenGL culls faces according to the polygon
> winding.  So wireframe polygons can be culled, but polylines cannot,
> even if they have normals assigned to them.  There are some details in
> the OpenGL FAQ:
> http://www.opengl.org/resources/faq/technical/clipping.htm
>
>  David
>
> On Wed, Nov 17, 2010 at 11:47 PM, Jérôme <jerome.velut at gmail.com> wrote:
> > Hi Donny,
> >
> > My feeling is that backface culling should not work with polylines
> because they
> > have actually no face.
> >
> > Jerome
> >
> > 2010/11/18 Donny <donnyz at charter.net>:
> >> I am drawing polylines using vtkPolyData and cannot get backface culling
> to
> >> work with them.
> >>
> >>
> >>
> >> I ran into this subject
> >> http://public.kitware.com/pipermail/vtkusers/2003-January/065023.html ,
> but
> >> did not help.
> >>
> >>
> >>
> >> Any solutions?
> >>
> >>
> >>
> >> Donny Zimmerman
> >>
> >> donnyz at charter.net
> >>
> >> 308-227-1756
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101118/23e102d1/attachment.htm>


More information about the vtkusers mailing list