[osg-users] osg_Vertex with GL compatibility profile

2016-09-16 Thread Ravi Mathur
Hi all, I see some behavior that I don't understand when using the osg_Vertex shader attribute across various graphics cards. Hopefully someone can shed some light. I am enabling OSG uniforms using GraphicsWindow->getState()->setUseModelViewAndProjectionUniforms(true). Then, in my vertex

[osg-users] Fast ETC@ compressor code from Google

2016-09-16 Thread Chris Hanson
Thought this might be useful to many. https://medium.com/@duhroach/building-a-blazing-fast-etc2-compressor-307f3e9aad99 -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) •

Re: [osg-users] different materials for a geometry and highlight

2016-09-16 Thread Gianni Ambrosio
Code: osg::Geometry* buildGeometry() { osg::Geometry* geometry = new osg::Geometry; geometry->setVertexArray(buildVertices()); geometry->setColorArray(buildColors(), osg::Array::BIND_PER_PRIMITIVE_SET); std::vector elements = buildElements();

Re: [osg-users] Shader, OpenGL context and Qt

2016-09-16 Thread Valerian Merkling
Hi, I'm still stuck with my shaders problem and I ran out of ideas, but I have new elements, and a new question. My shader works on the first view, so this code is ok (ie thoses two shaders works fine) : Code: osg::ref_ptr vertex=new osg::Shader(osg::Shader::Type::VERTEX, vertex_source);

Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-09-16 Thread Mathieu MARACHE
Better approach ! Looks like we have a winner :-) ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Animating transparency

2016-09-16 Thread Lyubov Akimova
Hi, I have drawable in MatrixTransform, how can I make this drawable transparent in osgAnimation::Animation? ... Thank you! Cheers, Lyubov -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68627#68627

Re: [osg-users] osgAndroid - Deploying and Debugging

2016-09-16 Thread Christian Kehl
Hi Akhtar, > However, now when i try to load a model (cessna.osg) it shows error: dlopen > failed: library osgPlugins-3.4.0/osgdb_osg.so" not found. > DynamicLibrary::failed loading "osgPlugins-3.4.0/osgdb_osg.so" The compile instructions state to compile it all in static mode - also the

Re: [osg-users] [vpb] vpbmaster appears to slow down after thousands of tasks completed

2016-09-16 Thread Knut Karlsen
Hi, We have not solved the issue, but we make do with monitoring the situation and do a restart now an then. I'll update if we go any further with debugging. Thanks! ... Thank you! Cheers, Knut -- Read this topic online here: