I am trying to draw a sequence of images on a window as quickly as possible.
I have an implementation
by texture mapping the image on to a plane - it works, but its very
slow on boxes that dont have
texture mapping hardware (on my old Indigo2 Solid Impact, it chokes
on 256x256 images, on an O2 its not bad)..
I have done it with QT's GL widget and its the thing that will
fit my needs, but I have to do it in a Xt/Motif application..
(thats another story)
So I thought I would begin with an XRenderWindow (which would create
a GL capable window on my SGI).. havent
got it to work yet.
A few questions:
1)The only way I have been able to get an vtkXRenderWindow to be
a subwindow of my Motif interface is to create
an interactor (vtkXRenderWindowInteractor) and call the SetWidget()
method (similar to the XMace application). Is
there a way to do this without the interactor? I dont expect to
use it as this is mostly an output only widget..
2) Has anyone done this with XRenderWindow to put up images using the
SetPixelData() call of vtkRenderWindow?
I am sure if I dig thorugh the GL manuals I can get
it to work, but if someone has done this, it will save me some time.
Thanks.
-- krs
-- K.R.Subramanian Phone: (704) 547-4872 Department of Computer Science FAX: (704) 547-3516 UNC Charlotte Email: krs@cs.uncc.edu 9201 Univ. City Blvd. WWW: http://www.cs.uncc.edu/~krs Charlotte, NC 28223-0001