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] Custom EventHandlers and Manipulator problem

2009-06-30 Thread Brian Stewart
Hi, I am using a combination of osg manipulators (fly, drive, etc.) with a KeySwitchManipulator. After these are set up, I have several tools which can be loaded at runtime, and each of them can register event handler callbacks for things like mouse up and mouse down. These handlers are

[osg-users] MatrixManipulator::home(double) doesn't seem to work

2009-06-14 Thread Brian Stewart
Hi, I am trying to reset my viewer's position in response to an external UI event using the home(double) function on MatrixManipulator, but to no avail. The call to setHomePosition() is working correctly, as I can hit the spacebar, and it takes me to the proper location. The online page for

Re: [osg-users] Outline Effect traversal crash

2009-05-22 Thread Brian Stewart
Hi Maciej, Thank you for the example. It seems to be a lot faster than what I was doing earlier. Before when a node was selected, I removed it from its parent, created an osgFX::Scribe effect and placed it under the parent, and then reattached my node under that. But there was a slight delay

Re: [osg-users] Outline Effect traversal crash

2009-05-21 Thread Brian Stewart
Hi Robert, Thanks for that clarification, as my understanding of where nodes should be added and removed was exactly backwards. I did paraphrase my code extensively, because there was a lot of unrelated code - but I guess I didn't include enough. I went to create a simpler example using

Re: [osg-users] Outline Effect traversal crash

2009-05-21 Thread Brian Stewart
Hi, I switched my code around to where the model was being added from the main loop rather than the update traversal, and it was still crashing. On closer examination I noticed that the crashes were occurring during the render traversal, so I began to suspect the effect itself. When I replaced

[osg-users] Outline Effect traversal crash

2009-05-20 Thread Brian Stewart
Hi, I am trying to implement a mechanism by which selected objects in my scene are highlighted. Searching the forum I found a reference to the Outline effect (an implementation of osgFX::Effect) on Ulrich Hertlein's web site (http://www.sandbox.de/osg/), and I have attempted to integrate it

Re: [osg-users] What is everyone doing for GUIs?

2009-05-18 Thread Brian Stewart
Hi, We are using WPF, which is Windows-only, of course. We have a thin layer written in C++/CLI that wraps our code that uses OSG. Brian Stewart -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12433#12433

Re: [osg-users] SGI declares bankruptcy (UNCLASSIFIED)

2009-04-02 Thread Brian Stewart
So sad. I had the first Indigo that would digitize video back in '92, and later on I had an Onyx in my house for about a year. It did use a lot of electricity though... This certainly wasn't a surprise, but I will miss them. -- Read this topic online here:

Re: [osg-users] Blue Marble Map

2009-03-10 Thread Brian Stewart
Hi Albert, I just did a project with the Blue Marble Next Generation data (BMNG), and I just loaded the jpg tiles and used them to texture polygons. The BMNG data set goes from -180,-90 to 180,90, and there are 5 rows by 10 columns in the base set, and each set beyond that doubles the rows and

[osg-users] WPF and OpenGL popup window problem

2009-03-04 Thread Brian Stewart
Hi, I have developed an application where I have an OSG window embedded in a windows application built with WPF. On certain Geforce cards there seems to be a bug where WPF popup windows (like menus) that have AllowTransparency set to true do not draw correctly over my OSG window. Basically

Re: [osg-users] msvc90 dependencies

2008-12-02 Thread Brian Stewart
Hi Mattias, I have been meaning to do exactly what you have done, but have not gotten around to it. According to Microsoft, if your libraries have only plain C interfaces, and don't use STL internally, then you can get away with mixing libraries from different versions of their compiler. When I

[osg-users] Exception invalid lock sequence thrown from OSG App

2008-11-10 Thread Brian Stewart
, and that is all. My app is a console application, is built with Visual Studio 2008, and it sets OpenScenGraph to SingleThreaded mode. Anybody seen this before? Any debugging tips? Thanks Brian Stewart ___ osg-users mailing list osg-users@lists.openscenegraph.org http