Re: [osg-users] Change color of node read from dxf file

2018-11-19 Thread Chris Hanson
That's not really how it's done. You can't add the Node you got from ReadNodeFile as a child of a Geode. I don't even think that should compile because Geode isn't derive from osg::Group. What you need to do is create a visitor to travel through the children of the "lines" Node (that Node is

Re: [osg-users] OpenGL ES 2.0 and LIGHTING

2018-11-19 Thread Chris Hanson
Let me check with Thomas. On Mon, Nov 19, 2018 at 5:46 PM Grigoriy Mylnikov wrote: > At the moment, I implemented ShaderLight class that extends osg::Light and > allows to use several point lights with per-pixel lighting (using my > shaders). It works on android emulator. > > I'm not sure about

Re: [osg-users] possible (probable) state leakage in the master

2018-11-19 Thread Robert Osfield
Hi Nick, I am working 100% on VSG most of my available work time right now. On the OSG side I'll be focused on bug fixes for the 3.6 branch, rather than pushing development on OSG master. My recommendation is that you test the OSG-3.6 branch and see if the problem exists there, if it does

Re: [osg-users] OpenGL ES 2.0 and LIGHTING

2018-11-19 Thread Grigoriy Mylnikov
At the moment, I implemented ShaderLight class that extends osg::Light and allows to use several point lights with per-pixel lighting (using my shaders). It works on android emulator. I'm not sure about where is a best place to add that lights' uniforms to scene graph (e.g.

Re: [osg-users] A question of "ShaderPipeline disabled" about OSG for MacOS

2018-11-19 Thread Dening Luo
Hi everyone, I have a question about OSG for MacOS. My system is OS X EI Capitan, whose version is 10.11.6. , and the Graphics card is NVIDIA Geforce GTX 680MX. I have built the OpenSceneGraph 3.7.0 successfully, but I come across a problem of " void StateSet::setGlobalDefaults()

[osg-users] possible (probable) state leakage in the master

2018-11-19 Thread Trajce Nikolov NICK
Hi Robert, I was experiencing this the last month or a two with the master without making noise about but it seam it is a real problem. I was under lazy impression that maybe my implementation wsa wrong but now with very simple case I can reproduce it: I have two files, one simple geometry as

[osg-users] Change color of node read from dxf file

2018-11-19 Thread Diego Mancilla
I'm a newbie on OpenSceneGraph and 3D development. I have a dxf file that contains a bunch of 3DPOLYLINES (with different colors). So far I have been able to read and display them on a viewer, but I haven been able to change the color of the rendered lines. I believe that I'm not