Re: [osg-users] Could I update the structure of scene in a nodevisitor?

2009-09-18 Thread zhuliangxiong
From: "Chris 'Xenon' Hanson" Sent: Saturday, September 19, 2009 12:17 AM To: "OpenSceneGraph Users" Subject: Re: [osg-users] Could I update the structure of scene in a nodevisitor? zhuliangxi...@hotmail.com wrote: Hi there, i wrote a class inherit from NodeVistor to remove all the scribe no

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Jean-Sébastien Guay
Hi Jason, The only changes I had to do were 1. add wsock32.lib to the Plugins dicom project You could add something like this to the src/osgPlugins/dicom/CMakeLists.txt: IF (WIN32) SET(TARGET_EXTERNAL_LIBRARIES Ws2_32.lib) ENDIF() Then regenerate the build files and the librar

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Jason Jerald
I built the svn trunk and that seemed to solve the issues on windows I previously described. The only changes I had to do were 1. add wsock32.lib to the Plugins dicom project 2. turn off BUILD_OSG_WRAPPERS in cmake, otherwise there was an error in osganimation (as described in a forum post).

Re: [osg-users] Could I update the structure of scene in a node visitor?

2009-09-18 Thread Chris 'Xenon' Hanson
zhuliangxi...@hotmail.com wrote: > Hi there, > i wrote a class inherit from NodeVistor to remove all the scribe node > from the scene. However, after the execution leave my apply function, > the system crashed. I think that's because i changed the structure of > the scene since i removed nodes from

[osg-users] Could I update the structure of scene in a node visitor?

2009-09-18 Thread zhuliangxiong
Hi there, i wrote a class inherit from NodeVistor to remove all the scribe node from the scene. However, after the execution leave my apply function, the system crashed. I think that's because i changed the structure of the scene since i removed nodes from scene when visiting, and that may make

[osg-users] linking error when i use osgdb_dae

2009-09-18 Thread Martin Großer
Hello, a new day and a new problem. I would like try to load a dae-File. I install the collada-dom like the description on the osg website. After this I build osg new. But when I start the osgviewer with the collada file I get the following message: Warning: dynamic library '/home/grosser/Op

[osg-users] Good way to see things in only one view

2009-09-18 Thread Jean-Sébastien Guay
Hi all, I was wondering if someone could suggest a good way to add nodes so they are visible only in one view. I can't use node masks for this. Up until now, the way I did it was to add the nodes right under the view's camera. Since the subgraph that forms my scene is another subgraph under

Re: [osg-users] osgQtBrowser example

2009-09-18 Thread Jean-Sébastien Guay
Hi Robert, Clearly setStickyFocus is part of Qt 4.5 rather 4.4. So we either need to only compile this line when building under Qt 4.4 or just enforce in CMake the availability of Qt 4.5. Yep, up to you. Curious, I have no explanation for this behaviour. Try other sites like: osgQtBrowse

Re: [osg-users] osgQtBrowser example

2009-09-18 Thread Robert Osfield
Hi JS, On Fri, Sep 18, 2009 at 2:24 PM, Jean-Sébastien Guay < jean-sebastien.g...@cm-labs.com> wrote: > Yes! So it has nothing to do with Qt 4.5 :-) > Clearly setStickyFocus is part of Qt 4.5 rather 4.4. So we either need to only compile this line when building under Qt 4.4 or just enforce in C

[osg-users] .net example

2009-09-18 Thread Steffen, Keith
Hi All, I'm looking for a good osg/.net example that includes source code. Anyone have any ideas? Keith Open Systems International, Inc. Keith Steffen 3600 Holly Lane North, Suite 40 Minneapolis, MN 55447-1286 Phone: 763 551 0559 Fax: 763 551 0750 E-mail: kstef...@osii.com Website: http://w

Re: [osg-users] osgQtBrowser example

2009-09-18 Thread Jean-Sébastien Guay
Hi Robert, Does it compile and work fine if you comment out the setStickyFocus? Yes! So it has nothing to do with Qt 4.5 :-) I can't click links though, is that normal? I can type in the search field, press enter to search, scroll down the page, but clicking links doesn't work. Is that beca

Re: [osg-users] osgQtBrowser example

2009-09-18 Thread Robert Osfield
Hi JS, Does it compile and work fine if you comment out the setStickyFocus? Robert. On Fri, Sep 18, 2009 at 2:07 PM, Jean-Sébastien Guay < jean-sebastien.g...@cm-labs.com> wrote: > Hi Robert, > > The new osgQtBrowser example gives this build error on my machine: > > 1>-- Build started: Proj

[osg-users] osgQtBrowser example

2009-09-18 Thread Jean-Sébastien Guay
Hi Robert, The new osgQtBrowser example gives this build error on my machine: 1>-- Build started: Project: Examples osgQtBrowser, Configuration: Release Win32 -- 1>Generating moc_QGraphicsViewAdapter.cxx 1>Compiling... 1>osgQtBrowser.cpp 1>QWebViewImage.cpp 1>QGraphicsViewAdapter.cpp 1

Re: [osg-users] Ann: osgBoostPython

2009-09-18 Thread Jean-Sébastien Guay
Hi Gerwin, Great effort! It will be interesting to look at the way the Boost wrappings behave, especially when compared to our osgswig stuff. Yes, I think so too. Glad to see you're not seeing this as a competition, I was a bit nervous as to how you'd react since you've been doing this for a

Re: [osg-users] Ann: osgBoostPython

2009-09-18 Thread Gerwin de Haan
Hi JS, Great effort! It will be interesting to look at the way the Boost wrappings behave, especially when compared to our osgswig stuff. We made new progress on osgswig btw, slowly but steadily we (supported by new contributors) are working our way around the MixinVector stuff. The latest svn sho

Re: [osg-users] OSG CPU Utilization

2009-09-18 Thread Kim Cheung
Hi J.P., Yes, it happens with all threading models, the only difference being that on the SingleThreaded model, the CPU consumption is used by the main thread instead. To all, Out of about eight different machines with varying OS's/hardware I've only found two that were affected so far. The

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-18 Thread Robert Osfield
Hi Jason, On Thu, Sep 17, 2009 at 11:38 PM, Jason Jerald wrote: > We are currently using OSG 2.8.2. I see the problem with "#define > HAVE_CONFIG_H" was fixed in the svn/trunk. > It looks like the dicom plugin wasn't tested under Windows out prior to the 2.8.2 and other release, so without fe

Re: [osg-users] Having Problems getting the Cam Matrix

2009-09-18 Thread Robert Osfield
Hi David, The viewer has the masster Camera, to get the view martrix it's simple a case of: viewer.getCamera()->getViewMatrix(); As for your seg fault, there isn't anyone can tell you exactly what wrong with no code in front of them, there are lots different mistakes you could have made. It w