Re: [osg-users] New primitive restart mode leaking into other nodes

2014-04-25 Thread Maximilian Wurm
Hi, Because triangle strips are no longer faster than triangles. Ah ok, now I understand your point of view and you are right for classic TriangleStrips etc. But as I am using GL_LINESTRIP_ADJACENCY for my geometry shader, the PrimitiveRestart mode would really save a lot of indexes. Eg.

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-25 Thread Robert Osfield
Hi Paul, On 24 April 2014 23:32, Paul Martz skewmat...@gmail.com wrote: Hi Robert -- The 'OpenGL' header was still getting generated into the source tree, so I tracked it down and have a fix for you. See attached top-level CMakeLists.txt. Thanks. At this point, everything seems to be

Re: [osg-users] New primitive restart mode leaking into other nodes

2014-04-25 Thread Aurelien Albert
Hi, drawing 10 lines, needs 10*4=40 indices using LINES_ADJACENCY but only 12 indices using GL_LINESTRIP_ADJACENCY. So when you need adjacency, the PrimitiveRestart mode may still have some advantages. I didn't think about adjacency. In this case, it may still make sense to use primitive

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-25 Thread Pjotr Svetachov
For me osgviewer.cpp and Renderer.cpp were not compiling (visual studio 2013 with profile GL2) because they were still using GLuintEXT. So I changed that, see the attached files. I also noticed that the generated OpenGL header were not copied to the installation directory so my own application

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-25 Thread Robert Osfield
Hi Pjotr, Thanks for the fix, they all look good, now merged and submitted to svn/trunk. Robert. On 25 April 2014 09:37, Pjotr Svetachov pjotrsvetac...@gmail.com wrote: For me osgviewer.cpp and Renderer.cpp were not compiling (visual studio 2013 with profile GL2) because they were still

Re: [osg-users] OSG with opensource AMD/NVIDIA Linux driver

2014-04-25 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/25/2014 02:40 PM, Émeric MASCHINO wrote: Is there something broken or missing in the opensource implementation or something I must care about when using the opensource drivers with OSG? The open source drivers don't have yet the feature

Re: [osg-users] New primitive restart mode leaking into other nodes

2014-04-25 Thread Maximilian Wurm
Hi, ...about 400 kb of indices data stored on GPU. This amount of data can be processed without any problem by a modern GPU. That's right, but as a Computer Scientist, I am of course after elegant code. And it's hard to live with such a solution! ;) Thank you! Cheers, Maximilian

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-25 Thread Paul Martz
On Fri, Apr 25, 2014 at 2:25 AM, Robert Osfield robert.osfi...@gmail.comwrote: Now things are compiling OK for you, could you let me know which bits if any of the original post you now want merged. Thanks, Robert. I re-posted this to osg-submissions, in the original thread. -Paul

Re: [osg-users] OSG with opensource AMD/NVIDIA Linux driver

2014-04-25 Thread Émeric MASCHINO
2014-04-25 15:03 GMT+02:00 Jan Ciger jan.ci...@gmail.com: The open source drivers don't have yet the feature parity with the proprietary ones. Many things simply don't work or are buggy - I am actually surprised that you have got even that far. I was aware that the opensource drivers aren't

Re: [osg-users] [build] error compiling the stable version

2014-04-25 Thread Tianlan Shao
Hi Sajjadul, I think then you can simply comment out the ADD_SUBDIRECTORY(svg) line in src/osgplugins/CMakeLists.txt. Not so nice but it will bury the problem. best, Tianlan Shao On Thu, Apr 24, 2014 at 11:53 AM, Sajjadul Islam dosto.wa...@gmail.comwrote: Hi, I did not find any option inside