Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-17 Thread Ulrich Hertlein
Hi Preet, On 17/03/12 8:09 , Preet wrote: If I do this, then I need to maintain the underlying ref_ptr object no? This isn't particularly convenient. What was wrong with assigning the osg::Node's pointer to mysteryPtr instead? Basically with ... osg::ref_ptrosg::Node someNode; mysteryPtr =

[osg-users] Qt widget scene shows up black

2012-03-17 Thread James Cotton
The demo application osgviewerQt shows the grid of images as black, but the dump truck works just fine. It's not a problem finding the file because trying to add the dumptruck to the layout instead of one of the others makes it disappear. I ran my app with OSG_NOTIFY_LEVEL=debug and don't see

Re: [osg-users] Problems rendering to and capturing/readin GL_RGBA16

2012-03-17 Thread Sergey Polischuk
Hi,  iirc to use GL_RGB16I_EXT, you should set source format to GL_RGB_INTEGER_EXTalso this is unnormalized texture format, so afaik you should write to it corresponding values (like int(INT_MAX*value)) where value is original value in range 0..1 Also i've used 32float per channel images to read

Re: [osg-users] Texture repeats and overlaps when I don't want it to

2012-03-17 Thread Sergey Polischuk
It can be problem with image format (like osg plugin fails to read 16bit per channel image) or something along these lines 17.03.2012, 01:06, Zachary Hilbun osgfo...@tevs.eu: Hi, This turned out to be a problem with the image itself rather than my code.   On most PNG viewers, it looks like a

Re: [osg-users] GL_STENCIL_TEST in draw implementation callback

2012-03-17 Thread Sergey Polischuk
afaik there are implementation dependent restrictions on viewport size, you may hitting those limits 16.03.2012, 19:14, Doug Domke doug.do...@boeing.com: UGH!  I just found that I was mistaken about the video growing properly without the stencil.  It actually doesn't.  Once its viewport

Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-17 Thread Robert Osfield
Hi Preet, On 16 March 2012 19:53, Preet prismatic.proj...@gmail.com wrote: Typically I use osg::ref_ptr to let osg handle reference counting. Right now I'm trying to create a 'rendering engine' for another library with osg. The idea for the other library is to maintain an API that allows

Re: [osg-users] Frame Rate Decay w/ SilverLining Integration

2012-03-17 Thread Wojciech Lewandowski
Hi Brad, Thank you for the report. I personally investigated and reported another issue with VBOs on Nvidia drivers few months ago. And that issue was fixed in 290 driver series. It may be a long shot but I am just curious if these two problems could be related. While investigating my issue (

Re: [osg-users] Frame Rate Decay w/ SilverLining Integration

2012-03-17 Thread Frank Kane
Hi folks, sorry I didn't chime in earlier - was on the road. Like Wojtek said, this doesn't seem to be reproducible when using newer NVidia drivers, and it's not an issue that we hear about often. Good driver support of vertex buffer objects used to be pretty spotty, which is why we introduced

[osg-users] Application searches for ot12-OpenThreads.dll instead of the debug

2012-03-17 Thread Stefanos Kougiou
Hi, I have been trying to build an app relying on OSG 3.0, OSGart 2rc3 and VS 2008. I am not an expert on MS VS 2008 so maybe I have missed something while configuring. I have built everything in both debug configuration and release. the problem is that when starting the debugger I get a