Hi,
I finally got around to resolving these MFC/Aero issues using the following .

For drawing the selection box over a complex scene...
- Capture the 3D scene image as a texture map
- Turn off the 3D scene
- map the texture onto a 2D quad that will in the background filling the window
- While interactively drawing the zoom/selection box draw a outlined QUAD into 
a HUD over the 2D texture mapped quad.

MFC CSplitterWnd issues
- Overridde CSplitterWnd::OnInvertTracker to be a no-op to prevent 'trails' 
being left on the 3D window while you drag the splitter.
- Handle these Windows messages for the Frame containing the CSplitterWnd
ON_WM_ENTERSIZEMOVE()
ON_WM_EXITSIZEMOVE()
In between these two calls, handle OnDraw in the 3D window by filling the 
Window with a solid color ( or whatever) using GDI, not by trying to render 
OpenGL/OSG.

Hope someone finds this helpful....

Cheers,
Andrew

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62278#62278





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to