[vtkusers] How to use backface culling with polylines
David Gobbi
david.gobbi at gmail.com
Thu Nov 18 09:03:22 EST 2010
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
More information about the vtkusers
mailing list