Hi there!
I have got a question regarding texture mapping in OpenInventor.
We use OpenInventor for VolumeRendering with our own OpenGL
based VolemeRendering Library. The VolumeRendering is encapsulated in
a Node derived from SoShape. Everything works just fine if the rendering
is just used in one ExaminerViewer. A problem arises when
the same scene is shown in different ExaminerViewers at the same time
since
the TextureObjects are not known to the other OpenGL context.
Does anybody know a way to share TextureObjects between contexts?
(I read that it is supposed to work when the contexts share display
lists?)
It seems that Inventors SoTexture2 is able to be shared between
different
contexts, but this is done by the SoGLTextureImageElement, which seems
to allow only one texture, for our 2d based VolumeRendering we need
many different textures.
Has anyone done this before or any ideas?
(We are working on Windows NT with OpenInventor 2.6, but the
problem should also be a Inventor 2.1 problem, I suppose?!)
yours,
Florian Schroecker
--
------------------------------------------------------------------------
Florian Schroecker
Center for Medical Diagnostic Systems and Visualization gGmbH
Universitaetsallee 29, D-28359 Bremen, Germany
http://www.mevis.de email: florian@xxxxxxxx
voice: +49 421 218 7707, fax: +49 421 218 4236
|