Re: [osg-users] OSG and WPF Questions

2009-09-29 Thread Rick Pingry
Hi, I am interested in WPF development as well. I have been playing around with the C++/CLI example to make a managed window. It seemed to work ok, except when I tried running it in Release mode, in which case it kept crashing, apparently with some memory corruption errors. I am using a

Re: [osg-users] OSG and WPF Questions

2009-08-05 Thread Martin Fleck
Hello everyone, sorry for not writing so long, but I've been quite busy. I've tried some things to integrate OSG in .NET, but none of the solutions were satisfactory. As stated by Brian above, the WPF popup windows were flickering and I didn't manage to get the rendering to texture to work.

Re: [osg-users] OSG and WPF Questions

2009-07-30 Thread Brian Stewart
Hi Martin, I replied to your message earlier, but I thought I would post my experience here for the benefits of those reading this thread down the line: What I did was create a WinForms Control that hosts the OSG window. Look for examples (theres a good one on CodeProject I think) of

[osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hello, I'm new to OSG and WPF (though I've read quite a view tutorials the past 2 weeks) so I hope I don't ask too many stupid questions :) Task I have to program something very similar to a CAD-program. The program should be able to load files (stl-files) and you should be able to manipulate

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hi, seems like the 5 posts above should be in a new topic ^^; Addition to my post: I got the osgNETDemo running, but still its WindowsForms and not WPF, so I'd still be happy about any advise /help someone could give me :) -- Read this topic online here:

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Can T. Oguz
Hi Martin, You can capsulate the OSG-stuff in an ActiveX component also. Even though I don't like COM technology, it may be useful in some cases. Please be careful about singletons and module globals. Can 2009/7/29 Martin Fleck eladamri...@hotmail.com Hello, I'm new to OSG and WPF (though

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Andrew Burnett-Thompson
Hi Martin, From memory (I've worked with WPF before), each WPF control has at its root an HWND handle, which is what the osgDotNet demo uses to bind the open scene graph to the Windows forms control. So I think if you substitute the HWND handle with the WPF HWND the osgDotNet stuff should work.

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Sergey Kurdakov
Hi All. the following link might be of some help http://www.codeproject.com/KB/WPF/WPFOpenGL.aspx Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hello everyone, thank you for your replies :) @Sergey: Thank you but I've tried exactly that, but the problem is that I want to integrate the window in the WPF-application and not open another window :( @Andrew: If I'm not wrong WPF uses only one HWND for the whole application. I guess that is

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Can T. Oguz
Hi Again, Please check out osgActiveX. You'll see that viewer is capsulated as an MFC ActiveX control. Regards, Can 2009/7/29 Martin Fleck eladamri...@hotmail.com Hello everyone, thank you for your replies :) @Sergey: Thank you but I've tried exactly that, but the problem is that I want

[osg-users] OSG and WPF Questions

2009-07-29 Thread Sergey Kurdakov
Hi Martin. but the problem is that I want to integrate the window in the WPF-application and not open another window :( take a closer look at OpenGLUserControl.h - it is a control with HWND for WPF. Regards Sergey ___ osg-users mailing list