[vtkusers] Purpose of vtkDisplayListPainter
Moreland, Kenneth
kmorel at sandia.gov
Thu Mar 23 10:07:20 EST 2006
The vtkDisplayListPainter works in conjunction with another painter.
Assuming immediate mode rendering is off, the first call to
vtkDisplayListPainter::Render compiles a display list by calling Render
on another painter wrapped around glNewList and glEndList. Subsequent
calls to vtkDisplayListPainter::Render simply call the display list
created to effectively do what the other painter would render, but
faster.
vtkDisplayListPainter generally speeds up the rendering of any other
painter, although there is a penalty of extra memory consumption and an
added overhead every time the data changes.
-Ken
________________________________
From: vtkusers-bounces+kmorel=sandia.gov at vtk.org
[mailto:vtkusers-bounces+kmorel=sandia.gov at vtk.org] On Behalf Of Imran
Ahmed Khan
Sent: Thursday, March 23, 2006 6:45 AM
To: vtkusers at vtk.org
Subject: [vtkusers] Purpose of vtkDisplayListPainter
Hi all,
Can someone expert in vtk tell me that what is the true purpose
of vtkDisplayListPainter class, does it improve the rendering of
identical Polyhedrons/Polygons obtained my transformation matrices. How
can I use it (as there is no example present). What does
vtkDisplayListPainter->Render(vtkRenderer *renderer, vtkActor *actor,
unsigned long typeflags) do ? its a function present in the super
classes(vtkPainter, vtkPolyDataPainter) of vtkDisplayListPainter.
Can someone please help me out ?
Best Regards,
Imran Ahmed Khan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060323/8080a0ef/attachment.htm>
More information about the vtkusers
mailing list