JeffI
10-08-2008, 06:04 PM
Hi,
I want to add an Open Inventor window to an existing application to add a "3D display" of a 3D volume. My requirements are:
- Windows application
- using VolumeViz for volume rendering
- need to render the window in a thread so that I don't slow down my existing app.
- would like to use SoDraggers for control
What I've done so far:
- Modified the "MT_Render" (OIV7.1\src\Inventor\MultiThread\examples) to contain my scene graph.
My scene renders - the demo just keeps calling a GLRenderAction in the thread.
*However*, I'm seeing many issues....
1) The SoVolumeRender won't render if the material before it is semi-transparent. I'm guessing I need to make sure the GLRenderAction also renders semi-transparent stuff.
2) Draggers won't show up in the scene unless I call SoXt::init(); at the start of the application. Then, I somehow need to get mouse events to the dragger. ideas?
3) SoVolumeClippingGroup seems to be clipping my volume in a strange way. I can supply a picture, but it differs dramatically from the scene rendered in a normal way.
Any ideas?
I want to add an Open Inventor window to an existing application to add a "3D display" of a 3D volume. My requirements are:
- Windows application
- using VolumeViz for volume rendering
- need to render the window in a thread so that I don't slow down my existing app.
- would like to use SoDraggers for control
What I've done so far:
- Modified the "MT_Render" (OIV7.1\src\Inventor\MultiThread\examples) to contain my scene graph.
My scene renders - the demo just keeps calling a GLRenderAction in the thread.
*However*, I'm seeing many issues....
1) The SoVolumeRender won't render if the material before it is semi-transparent. I'm guessing I need to make sure the GLRenderAction also renders semi-transparent stuff.
2) Draggers won't show up in the scene unless I call SoXt::init(); at the start of the application. Then, I somehow need to get mouse events to the dragger. ideas?
3) SoVolumeClippingGroup seems to be clipping my volume in a strange way. I can supply a picture, but it differs dramatically from the scene rendered in a normal way.
Any ideas?