Re: [osg-users] osgText::Text darker when rendered on frame buffer

2014-07-21 Thread Bram Vaessen
It's fixed! Code: osg::ref_ptr blendFunc = new osg::BlendFunc(osg::BlendFunc::SRC_ALPHA, osg::BlendFunc::DST_ALPHA, osg::BlendFunc::ZERO, osg::BlendFunc::ONE); label->getOrCreateStateSet()->setAttributeAndModes(blendFunc); I didn't know you could/should specify the alpha ble

Re: [osg-users] FBO question

2014-07-21 Thread Robert Osfield
On 21 July 2014 19:11, Trajce Nikolov NICK wrote: > if I set my camera to RTT into FBO, will the Camera Read/Write buffers > points to this FBO? > Yes. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listin

Re: [osg-users] Why my submission with a bug fix is ignored?

2014-07-21 Thread Mikhail Matrosov
Got it. Thank you for the quick answer. Cheers, Mikhail -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60387#60387 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscene

[osg-users] FBO question

2014-07-21 Thread Trajce Nikolov NICK
Hi Community, if I set my camera to RTT into FBO, will the Camera Read/Write buffers points to this FBO? Thanks a bunch! Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinf

Re: [osg-users] [osgPlugins] Using plugins inside plugins

2014-07-21 Thread Robert Gosztyla
Hi, Will answer by myself. This wasn't problem with plugins, just forget to set checking z-buffer for loaded node in my plugin, so quite obvious error :/. So, probably this thread could be deleted (if possible) as not very interesting problem. Thank you! Cheers, Robert -- Rea

[osg-users] [osgPlugins] Using plugins inside plugins

2014-07-21 Thread Robert Gosztyla
Hi I have written custom plugin to save/load my scene with custom user data. My solution stores scene tree, but geodes are stored as paths to separate model files (not geometry data). When scene is loaded, geodes are created using such piece of code: Code: osgDB::ReaderWriter* plyReader

Re: [osg-users] osgText::Text darker when rendered on frame buffer

2014-07-21 Thread Robert Osfield
Hi Bram, >From the sound of it you have a blending issue that is either down to blending being done or the order that things are being written to the colour and depth buffers. As such I wouldn't expect using CompositeView with multiple View to help. It'll be down to the find details of how you se

Re: [osg-users] Why my submission with a bug fix is ignored?

2014-07-21 Thread Robert Osfield
Hi Mikhail, Patience please, your submission is being ignored, it's just sitting waiting for me to get to it. FYI, I had a weeks holiday after the 3.2.1 release, had client work to complete last week and have now just got back to looking at submissions. The unpaid work has to be juggled with pai

Re: [osg-users] osgText::Text darker when rendered on frame buffer

2014-07-21 Thread Bram Vaessen
I'm pretty sure I found the problem, but not sure how to fix it (probably easy for someone with more openGL knowledge ;) What I do: On the canvas I first draw a full solid background. Now all the alpha values are 1. Then I draw the text on top of that background. Now the problem is: it seems t

Re: [osg-users] osgText::Text darker when rendered on frame buffer

2014-07-21 Thread Bram Vaessen
I'll try the multiple viewer to see if that makes a difference. When I render a texture to the framebuffer, it seems exactly the same as when I render it to the screen, so it seems there is problem of rendering the quad to the screen, or else everything would be different. Could it be that the t

Re: [osg-users] Why my submission with a bug fix is ignored?

2014-07-21 Thread Sebastian Messerschmidt
Hi Mikhail, You're not doing anything wrong. I guess Robert has some higher priority tasks to attend too. Usually he sort of batch-processes the pending submission before creating a new version. So be patient;-) cheers Sebastian Hi, I have posted a submission with a bug fix me and several o

[osg-users] Why my submission with a bug fix is ignored?

2014-07-21 Thread Mikhail Matrosov
Hi, I have posted a submission with a bug fix me and several other users have experienced: http://forum.openscenegraph.org/viewtopic.php?t=14029 But there is no response during two weeks for now. Why? Am I doing something wrong? Best regards, Mikhail -- Read this topic online

Re: [osg-users] Disabling cameramanipulator in CompositeViewer

2014-07-21 Thread Sonya Blade
Hi All, In order to provide the guidance for the others and since I discovered it recently I 'd like to point out that there is example for creating 2D ad-hoc manipulator in OSG cookbook which provide paning zooming (scaling) in Chapter 4 Designing a 2D camera manipulator. Regards,Date: Sat,

Re: [osg-users] Ambiguous defines in Atomic.cpp when compiling with MinGW and GCC

2014-07-21 Thread Robert Osfield
Hi Björn, On 20 July 2014 18:43, Björn Blissing wrote: > I tried both options and they both seem to work. Although I guess some > deeper benchmarking would be in order. Are there any of the examples and/or > datasets that would be good candidates for benchmarking the different > versions? The

Re: [osg-users] osgText::Text darker when rendered on frame buffer

2014-07-21 Thread Robert Osfield
Hi Bram, Even with the extra info it's still hard to guess what might be amiss. As general notes, if the GUI elements are screen aligned rather than being part of the 3D scene then I'd be inclined to use CompositeViewer and multiple View, one for the 3D view and one for the GUI overlay. As for t