[osg-users] Problem with current OSG and OSX

2016-12-30 Thread Stev Kookmal
Hi, All, I am wondering if anyone else is having the same issues as me with OSX. When I build the current OSG (as of Dec. 23rd) I cannot get any of the examples or anything to run. On the latest 3.4 build it works great... on the current build it works great on my Windows machine. Only on my

Re: [osg-users] Tearing hair out over simple GLSL instancing

2016-12-30 Thread Andrew Cunningham
Yup that's what I found I had to do . I created a fragment shader and did the basic lighting. I assume I could do that in the vertex shader as well. Thanks for confirming. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69809#69809 __

[osg-users] wireframe mode and degenerate triangles

2016-12-30 Thread Christian Buchner
Hi all, I have just optimized a human model that had around 150 individual GL_LINE_STRIP drawables by adjoining these. This requires doubling the last vertex of a strip and the first vertex of the next strip which is to be appended, generating a couple of degenerate triangles. The model still ren

Re: [osg-users] Master renders with OpenGL error on OSX

2016-12-30 Thread Stev Kookmal
Hi guys, Any luck on finding out what is causing this error? I am also getting it out on my 2016 MacBook Pro running OSX Sierra when compiling the latest Dec. 23rd commit. No problem on my Windows machine. I also tried compiling on my 2013 MacBook Air with the same results and errors. I did

Re: [osg-users] mygui integration (for Wang Rui)

2016-12-30 Thread Nickolai Medvedev
Привет, Денис. GLUT в OpenSceneGraph так никто не использует. Если он тебе действительно нужен, смотри пример examples/osgviewerGLUT. Удачи! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69806#69806 _

Re: [osg-users] Tearing hair out over simple GLSL instancing

2016-12-30 Thread Christian Buchner
Does your vertex shader code perform any lighting calculations? I remember that in my instancing vertex shader code I had to explicitly perform required lighting calculations for ambient, diffuse, specular components (the usual Blinn-Phong lighting equations) and set the vertex colors accordingly.

Re: [osg-users] mygui integration (for Wang Rui)

2016-12-30 Thread Denis Colesnicov
Hi, I still do not understand. I'm just getting started with OSG and therefore me a lot of things about escapes. I keep showing either no GUI. My wrapper MyGUI is osgRecipies. Here is my code of the main features: Code: int main( int argc, char **argv ) { glutInit(&argc, argv); osg: