Re: [osg-users] Need help about Night Vision Effect

2010-12-06 Thread Ragnar Hammarqvist
I did a IR scene by making my own cull visitor. In order to make this efficient I had to put a virtual in front off osgUtil::CullVisitor::pushStateSet(). My cull visitor look like this class SpectrumCullVisitor : public osgUtil::CullVisitor { public: SpectrumCullVisitor() {};

[osg-users] Post processing problem

2010-11-24 Thread Ragnar Hammarqvist
Hi all I want to dynamically connect post processing of my rendered output. But when I do so my attach texture simply becomes black. Below is a GUIEventHandler that tries to hock a post rendering camera into the pipeline. If I move out the code block in the EventHandler to run it before

Re: [osg-users] Floating point image I/O in OSG

2009-10-14 Thread Ragnar Hammarqvist
Jason, It's correct, the OpenEXR plug down casts all images to the half float format. The reason for only supporting this format was that the OpenEXR project had two separate Interfaces for loading Images, one really complicated and one straight forward. The problem with the straight forward

[osg-users] Trying To obtain all statsets in a Graph

2009-10-07 Thread Ragnar Hammarqvist
Hi All osg Users I'm using a visitor to obtain all Statsets in a graph. But the visitor dose not collects all statsets, why? Code im using is simply this: class GetStatsetsVissitor : public osg::NodeVisitor { public:

Re: [osg-users] Trying To obtain all statsets in a Graph

2009-10-07 Thread Ragnar Hammarqvist
] Trying To obtain all statsets in a Graph Hi Ragnar, On 7/10/09 10:48 AM, Ragnar Hammarqvist wrote: I'm using a visitor to obtain all Statsets in a graph. But the visitor dose not collects all statsets, why? Code im using is simply this: ... void apply(osg::Noden) { if(n.getStateSet

Re: [osg-users] Confusion regarding multiple views showing almost the same sceene

2009-09-14 Thread Ragnar Hammarqvist
./test cow.osg hope it helps as a start jp Ragnar Hammarqvist wrote: Multiple windows. -Ursprungligt meddelande- Från: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] För J.P. Delport Skickat: den 11 september 2009 14:58 Till

[osg-users] Confusion regarding multiple views showing almost the same sceene

2009-09-11 Thread Ragnar Hammarqvist
Hi All Im a bit confused on how to implement multiple views in osg. My problem is the following. Im limited to use wxWidget as GUI (and GL Traight)? In my GUI I want several (one to at least eight) camera views looking on almost the same scene. The scene is VPT-made and is presenting a huge

Re: [osg-users] Confusion regarding multiple views showing almost the same sceene

2009-09-11 Thread Ragnar Hammarqvist
showing almost the same sceene Hi, single window or multiple? jp Ragnar Hammarqvist wrote: Hi All Im a bit confused on how to implement multiple views in osg. My problem is the following. Im limited to use wxWidget as GUI (and GL Traight)? In my GUI I want several (one to at least eight

[osg-users] Problem using osgGA::TerrainManipulator

2009-09-01 Thread Ragnar Hammarqvist
-setByMatrix(mapCamViewMatrix); pCameraManipulator-setNode(m_pRootC2); pCameraManipulator-setHomePosition( eyePos, centerPos, upVec); Regards. Ragnar Hammarqvist @ FOI ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] Problem using osgGA::TerrainManipulator

2009-09-01 Thread Ragnar Hammarqvist
(mapCamViewMatrix); pCameraManipulator-setByMatrix(mapCamViewMatrix); pCameraManipulator-setNode(m_pRootC2); pCameraManipulator-setHomePosition( eyePos, centerPos, upVec); Regards. Ragnar Hammarqvist @ FOI ___ osg-users mailing list osg-users

Re: [osg-users] Transparency and hdr texture

2009-06-01 Thread Ragnar Hammarqvist
The OpenExr implementation in Osg only supports the half-float format. It can load Textures saved in 32bits per pixel but the loader converts them into half float. But the loader however supports an Alfa channel. The OpenExr plug-in can be extended to support 32-bits textures but that would

Re: [osg-users] Time to remove Christer Wigren??

2009-04-28 Thread Ragnar Hammarqvist
I can confirm that Christer Wigren no longer is working for Swedish Defence Agency (FOI). I can not se him in aour DB but I guess that his E-mail simply was: christer.wig...@foi.se -Ursprungligt meddelande- Från: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] What about User-Meeting in Europe - osgInEurope?

2009-02-18 Thread Ragnar Hammarqvist
I vote Sweden !! /Ragnar Från: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] För Adrian Egli OpenSceneGraph (3D) Skickat: den 19 februari 2009 08:12 Till: OpenSceneGraph Users Ämne: Re: [osg-users] What about