Re: [osg-users] PolytopeIntersector, LineSegmentIntersector, and PagedLOD

2014-03-13 Thread Chris Long
Hi, Thanks for the tips. I know the planes' orientations need to be right. I assumed that by creating the Polytope from a BoundingBox that they would be, and when I inspect the values I think they're correct. I did try flipping them all in case I was wrong about the orientation, but that

[osg-users] PolytopeIntersector, LineSegmentIntersector, and PagedLOD

2014-03-12 Thread Chris Long
Hi, I'm getting unexpected behavior from PolytopeIntersector and was wondering if it might have something to do with the PagedLODs in my scene graph. I want to find all polygons in a rectilinear volume in my model, in model coordinates (not related to any view on the screen) based on two

Re: [osg-users] Bug in Qt thread integration

2012-10-03 Thread Chris Long
Hi, Thanks for the replies and suggestions. I think I might not have explained the issue as well as I thought, so I'll try again. QThread::currentThread does return a value with static type QThread*. However, it might not point to a QThread instance, but an instance of a subclass of QThread.

[osg-users] Bug in Qt thread integration

2012-09-27 Thread Chris Long
Hi, We have a large app that uses Qt for its 2D UI and OSG for 3D rendering and UI. So it seemed like a good idea to turn on the Qt-OpenThreads integration by enabling BUILD_OPENTHREADS_WITH_QT. However, I discovered that OpenThreads::Thread::CurrentThread() (in

Re: [osg-users] Bug in OverlayNode.cpp

2012-04-24 Thread Chris Long
Hi, I'd like to request that someone patch OverlayNode with this one-line fix. We are still having to work around it in our OSG application. Thank you! Cheers, Chris -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47268#47268

[osg-users] Bug in OverlayNode.cpp

2011-04-05 Thread Chris Long
Hi, I have found a bug at OverlayNode.cpp:335: Code: for(unsigned int i=0; i baseVertices.size()-1; ++i) The problem is when baseVertices is empty, baseVertices.size() is 0 and (here's the surprising part) the compiler treats baseVertices.size()-1 as an unsigned int, which turns it into

Re: [osg-users] View-dependent OverlayNode w/o CoordinateSystemNode?

2010-03-31 Thread Chris Long
Hi, Thanks a lot for the quick reply. Yes, that's definitely an improvement. The demos now work better. VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY looks good. But with VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY, the geometry that the overlay is pasted onto still turns all black in the osganimate

[osg-users] View-dependent OverlayNode w/o CoordinateSystemNode?

2010-03-30 Thread Chris Long
Hi, Has anyone gotten anything useful from OverlayNode in either view-dependent mode (VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY or VIEW_DEPENDENT_WITH_PERSPECTIVE_OVERLAY) without using a CoordinateSystemNode? The examples osganimate and osgspheresegment produce strange results in either