Re: [osg-users] Simulating Light Lobes with Projected Textures (Range mapping)

2016-08-12 Thread Trajce Nikolov NICK
nevermind .. I was not able to make it through the construction of the texture matrix but made it in the shader. Nickolai, suddenly can not share the code due to contractual obligations but can give some hints Thanks anyway Nick On Fri, Aug 12, 2016 at 2:59 PM, Trajce Nikolov NICK <

Re: [osg-users] Simulating Light Lobes with Projected Textures (Range mapping)

2016-08-12 Thread Trajce Nikolov NICK
Maybe I made it a bit confusing. My problem is the clipping of the projected texture based on some near/far distances and the ones specified in the projection matrix have no effect On Fri, Aug 12, 2016 at 11:14 AM, Nickolai Medvedev wrote: > Hello, Trajce! > > As far as I

Re: [osg-users] [build] GStreamer linker error on OSX El Capitan

2016-08-12 Thread Robert Osfield
Hi Chris, If you don't know what plugins you need start small and add them as you need them. Depending upon your needs you could go from needing none of the plugins to most. I don't know what your plans are so can't comment on what plugins you'll need. To get things started you could either

Re: [osg-users] [build] GStreamer linker error on OSX El Capitan

2016-08-12 Thread Chris Thomas
Hi, My use case is, I want to add OpenGL functionality to an existing API that actually uses OpenGL. The issue is, that API does not offer very deep 3D support, beyond making 2D media objects in a 3D space. We want/need to create 3D objects, textures etc, so we want to host OpenGL apps via

Re: [osg-users] osgText and shaders

2016-08-12 Thread Robert Osfield
Hi THomas, On 10 August 2016 at 14:23, Thomas Francois wrote: > In my application I got some text displayed using osgText::Text. I would like > to alter this text using shaders. However, I wish to apply a different > treatment to each letter individually. > > For

Re: [osg-users] [build] GStreamer linker error on OSX El Capitan

2016-08-12 Thread Robert Osfield
Hi Chris, In general I would say that GStreamer shouldn't be required for OSG usage under OSX as there are native video plugins already. Do you specifically need the GStreamer plugin? If not you should be able to disable the build of the plugin by setting the paths that CMake sets up for

Re: [osg-users] Simulating Light Lobes with Projected Textures (Range mapping)

2016-08-12 Thread Nickolai Medvedev
Hello, Trajce! As far as I have understood, a problem with near/far? Try to increase them. By the way, I will be glad to see shaders, publish them, please. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68358#68358

[osg-users] multiple input with osgwidgets

2016-08-12 Thread Sebastian Schmidt
I have problems with receiving multi input events in my osgWidget::Label class. f.e. 1. click right mouse 2. click left mouse 3. release left mouse 4. no event when i drag the right mouse i added Code: setEventMask(osgWidget::EVENT_ALL); to receive all events but i seems like osg is

[osg-users] [build] GStreamer linker error on OSX El Capitan

2016-08-12 Thread Chris Thomas
Hi, I am pulling OSG 3.4.0 from GIT and attempting to build on OSX El Capitan. I'm writing a BASH script to do this, as I need to repeat this compile on a number of machines. I test this install script on a VMWare OSX El-Capitan machine. Doing so allows me to run the install script over and