[osg-users] virtual ~TemplateArray() is protected

2014-08-08 Thread Joe Doob
Hi, I gave myself a headache today chasing bugs because I had a class which had an osg::ref_ptr as a (private) member. gcc threw compile errors referring to the destructor for osg::TemplateArray being protected, which it claimed was being called by my class's (empty) destructor. My class did no

[osg-users] crashing with paged LODs, line intersector on computeBound

2013-05-15 Thread Joe Doob
Hi, I wonder if anyone can offer some insight on why I may be experiencing these random crashes. Essentially I have many line intersection visitors following a node which is moving through the scene and performing line intersections on terrain, which is a pagedLOD database of proxynodes. Thi

[osg-users] Dynamic / incremental mesh generation or triangulation

2013-02-20 Thread Joe Doob
Hi, I'm writing an application to render a mesh generated from a stream of 3d points, so that the mesh is updated in realtime to include points as they are added. It doesn't necessarily need to be a delaunay triangulation, but that seemed like a reasonable place to start. The osg::DelaunayTria

[osg-users] copying contents of osg::Group to rendered Group

2012-10-19 Thread Joe Doob
Hi all. I have two osg::Groups, one which is being rendered in my viewer and another which is used as a buffer that collects geodes as they are created. Periodically, I want to flush the contents of my root group and copy over all the contents in the buffer. I have tried several methods of cop

Re: [osg-users] getting RGB of texture in *.ive file

2012-10-02 Thread Joe Doob
Thanks for the advice! I'm getting closer but not quite there yet. I found that my drawable in this test case has exactly one parent, and his parent has a state set. I am able to get the image attached to the texture on this state set without running across any null pointers, and write the ima

[osg-users] getting RGB of texture in *.ive file

2012-10-01 Thread Joe Doob
Hello, I have a large terrain map which I load from an *.osg file containing a list of ProxyNode objects containing *.ive files, using osgDB::readNodeFile. My end goal is to get RGB of points on the texture map found through a line segment intersection. I have read through the mousePosition fu

Re: [osg-users] instanced drawing of dynamic objects

2012-07-26 Thread Joe Doob
Thanks so much. I will have a look at those examples. I don't need rotation capabilities, only translation, scale, and color as you said. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49071#49071 __

[osg-users] instanced drawing of dynamic objects

2012-07-26 Thread Joe Doob
Hi, I have a scientific visualization application in which I essentially want to render many (hundreds of thousands) of cubes at once, of varying color and size. Furthermore, these cubes will change position and color every few seconds, and I need to position them deliberately. Right now I am

Re: [osg-users] [osgPlugins] osgQt widget + trackball manipulator only half working

2012-06-22 Thread Joe Doob
I took another look through the osgviewerQt source and found a solution, though I'm not sure I understand why my extra step is necessary: Manually initializing the projection matrix for the camera using setProjectionMatrixAsPerspective fixes things. Code: camera->setProjectionMatrixAsPerspect

Re: [osg-users] [osgPlugins] osgQt widget + trackball manipulator only half working

2012-06-22 Thread Joe Doob
Yes, oddly enough it works just fine. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48435#48435 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.

[osg-users] [osgPlugins] osgQt widget + trackball manipulator only half working

2012-06-22 Thread Joe Doob
Hi All, I have a simple Qt4 wrapper for my OSG 3.0 application which employs the trackball manipulator. The left and middle mouse button functions in the manipulator work as expected, but the right mouse button does not seem to do anything, which makes the manipulator kind of useless. Is this