Re: Inventor Rendering

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Wed, 06 Dec 95 14:32:46 -0800


> Is it possible to render an Inventor Scene Graph in Performer?
> I know it's possible to make OpenGL calls in Performer and since using
> SoGLRenderAction simply renders an Inventor Scene Graph in using the
> OpenGL library then it should work right?

In principle, this should be possible. In practice, I suspect it will
be tricky. You'll need Performer 2.0 for OpenGL. If you want to
share the graphics context (which you really want if you're using
textures), you'll have some configuration work to set up the shared
window and graphics context. If you MP and share the graphics
context, all of the Inventor processing will have to be done in the
Performer DRAW process, since Inventor is not MP safe.

> Ultimately, I want to be able to use the manipulators in Inventor
> to change some of the geometry in Performer. How can I link to Inventor
> to use the manipulators?

Performer will eventually have the interaction features of Inventor,
such as manipulators. You could try building your own manipulator on
top of Performer. I'm not sure which would be harder building a
manipulator or building a hybrid application. It probably depends how
complex of a manipulator you require. Performer already has the
required picking capabilities.

> I can imagine: picking an object in Performer, constructing an Inventor
> scene graph, manipulating the new graph using Inventor manipulators, saving th
> e object back in the Performer.
>
> I could put the Inventor manipulations in the pfDraw callback. I could
> draw the performer scene graph (without the manipulated object) then
> draw the Inventor Scene graph on top of it.

Seems like the best hybrid approach.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/933-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:06 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.