[osg-users] [forum] Modifying the scene graph while traversing it with a visitor crashes.

2009-04-21 Thread Cristina
Hi, After I loaded an flt file, I invoke a visitor which traverses the whole scene graph and finds all the nodes that have textures attached to them. For each node that have a texture attached, it loads a new texture and tries to insert 2 extra nodes above the current node. This will crash the

Re: [osg-users] [forum] Modifying the scene graph while traversing it with a visitor crashes.

2009-04-21 Thread Cristina
Thanks, I thought so. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10554#10554 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] 2 GraphicContexts, 2 viewports, 2 cameras and 1 scene question

2009-04-24 Thread Cristina
Hi, I created 2 cameras each one with their own viewport and GraphicContext. I have one scene. Inside the scene I have a group node that contains 2 children. Each child has a different node mask. I was trying to make one camera showing one child and the other camera showing the other child

Re: [osg-users] 2 GraphicContexts, 2 viewports, 2 cameras and 1 scene question

2009-04-24 Thread Cristina
on a certain mask I would like to show different thingsTo be more precise, some cameras will show objects with day texture and some will show objects with thermo texture. Regards, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10828

Re: [osg-users] 2 GraphicContexts, 2 viewports, 2 cameras and 1 scene question

2009-04-24 Thread Cristina
Thanks Robert. I was able to figure it out. My culling mask was wrong. Regards, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10830#10830 ___ osg-users mailing list osg-users

[osg-users] Intersection

2009-04-29 Thread Cristina
Hi, Is there any intersection callback that we can assign to a node, to be able to perform intersection with custom render drawables ? Regards, Cristina Thank you. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11055#11055

Re: [osg-users] Intersection

2009-04-30 Thread Cristina
. From your answers it seems that I need to create my own visitor and do my own intersection for that specific node. Thank you, Regards, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11102#11102

[osg-users] Precipitation without using shaders

2009-09-15 Thread Cristina Paponi
Hi, I need to implement precipitation on a system that doesn't support shaders. Is there anybody that has an example of precipitation in OSG without using shaders? Thank you! Cheers, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

[osg-users] Intersection question

2009-05-14 Thread Cristina Paponi
Hi, I am using a LineSegmentIntersector to determine all the intersections in my scene. In the osgUtil::LineSegmentIntersector::Intersections multiset, is the first intersection in the set the closest to the startPoint? Thank you! Cheers, Cristina -- Read this topic online

[osg-users] Image pointer in the Intersected node is NULL

2009-05-27 Thread Cristina Paponi
for that drawable the pointer is NULL. Can anybody tell me why is NULL? Is it normal that is NULL? Is there any way I can retrieve that image pointer? I even tried when loading the model to cach the image, but it did not work. Thank you! Cheers, Cristina -- Read this topic

Re: [osg-users] Image pointer in the Intersected node is NULL

2009-05-27 Thread Cristina Paponi
Hi, You were right. The optimize enables UnrefRefImageOnApply feature, so my image pointer is NULL. I disable the texture optimization, so now it works. Thank you! Cheers, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13059#13059

[osg-users] Set fog in the canera StateSet

2009-06-01 Thread Cristina Paponi
there is no effect, but if I set the fog to the root of the scene's StateSet everything is fine. Is it possible to set the fog in the camera ? Thank you! Cheers, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13293#13293

Re: [osg-users] Set fog in the canera StateSet

2009-06-04 Thread Cristina Paponi
Hi, Shayne My code is more or less like yours, but I'm not using the Composite viewer. I'm not sure why it doesn't work. Hi Wojtek Lewandowski Your solution worked for me too. Thank you both for your time! Cheers, Cristina -- Read this topic online here: http

Re: [osg-users] Image pointer in the Intersected node is NULL

2009-06-04 Thread Cristina Paponi
, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13529#13529 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Image pointer in the Intersected node is NULL

2009-06-04 Thread Cristina Paponi
Hi, I guess I figure it out. The osgconv runs the optimizer, so I set the OSG_OPTIMIZER environment variable to OFF and now it works. Thank you! Cheers, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13530#13530

[osg-users] writeNodeFile Failure

2010-03-25 Thread Cristina Paponi
! Cheers, Cristina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26149#26149 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users