[osg-users] Is point in view?

2007-12-29 Thread Robert Balfour
Is there a straight forward method to determine if a ground xyz target point (or geode bbox centerpoint) is currently visible (i.e. within the current view frustrum)? I'm drawing a HUD target line, but don't want to draw it if the target point is not in view. Thanks. Bob. -- Robert E. Balfour,

Re: [osg-users] nurb or bspline support?

2007-12-29 Thread Emre Koc
Thanks a lot Gerrick! It just simply worked. Best wishes and Happy new year /emre On Dec 29, 2007 8:04 PM, Gerrick Bivins <[EMAIL PROTECTED]> wrote: > You need to call setUseDisplayList(false) on your geometry/drawable class. > biv > > > > On Dec 29, 2007 7:33 AM, Emre Koc <[EMAIL PROTECTED] >

Re: [osg-users] no glTexSubImage2D

2007-12-29 Thread Paul Martz
Did you try a recursive search through the source? I'm pretty sure OSG does use this OpenGL call. -Paul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Micah Heyer > Sent: Saturday, December 29, 2007 10:34 AM > To: osg-users@lists.openscenegr

Re: [osg-users] How to exit osgviewerMFC?

2007-12-29 Thread Paul Martz
I just tried this with current SVN and osgviewerMFC exits normally for me. What version of OSG are you using? You say the process still appears in Task Manager. Did you try running this under the debugger? If so, does the debugger still indicate the application is active after you exit? If so, in

Re: [osg-users] STL vectors and function calls

2007-12-29 Thread Renan Mendes
Thanks, Gordon. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] nurb or bspline support?

2007-12-29 Thread Gerrick Bivins
You need to call setUseDisplayList(false) on your geometry/drawable class. biv On Dec 29, 2007 7:33 AM, Emre Koc <[EMAIL PROTECTED]> wrote: > Hi All, > > I just started to write a class that can draw curves on a osg. I added > a openglwrapper class so that in the beginning I will try to work with

[osg-users] no glTexSubImage2D

2007-12-29 Thread Micah Heyer
hi, I looked at the doxygen generated docs and I didn't find an equivalent to glTexSubImage2D is implemented as another operation or did I just miss it? -micah ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.o

[osg-users] Switching Between two viewers

2007-12-29 Thread maruti borker
i wanted to switch between two viewers ... so what i did was i added both the viewers to a composite viewer . And i set the nodemask of first to be 0x1 and second to be 0x0 .. so that the second one is on . I also added a keyboard handler to both the viewers. On pressing key "s" i change my the no

Re: [osg-users] STL vectors and function calls

2007-12-29 Thread Gordon Tomlinson
HI Not really an OSG question this really belongs on a C++ user list, Note the function declaration bool MyClass::MyMethod(std::vector MyVector) here you should be passing in your vector as a reference or pointer, you should ALWAYS pass any none POD variables as a references or even the evil

[osg-users] STL vectors and function calls

2007-12-29 Thread Renan Mendes
Hi, everyone. I've got quick question on STL vectors. I've created a class (let's call it MyClass) with the method 'bool MyMethod(std::vector MyVector)' that calls another method 'void AnotherMethod()' that makes a simple check on a variable inherent to every instance of MyClass. How do I writ

Re: [osg-users] nurb or bspline support?

2007-12-29 Thread Emre Koc
Hi All, I just started to write a class that can draw curves on a osg. I added a openglwrapper class so that in the beginning I will try to work with GLU. My class has two main member functions first one is virtual void drawImplementation(osg::RenderInfo&) const which handles the draw step and o