Re: [osg-users] How to set up PrimitiveRestart-Mode?

2014-05-04 Thread Maximilian Wurm
Hi, the discussion of this topic has been moved to the thread New primitive restart mode leaking into other nodes (Sorry, I can't yet post links.) Thank you! Cheers, Maximilian[/url] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59253#59253

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 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 primitive restart mode leaking into other nodes

2014-04-23 Thread Maximilian Wurm
Hi Andor, (I know that this thread is more than 3 months old.) I'd also like to work with the primitive restart functionality. Possibly I will run into the same error. But to check this, I have to enable the restart mode first and set a restart index. Like I claimed in my own thread, called How

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

2014-04-23 Thread Maximilian Wurm
Hi Aurelien, thanks for your reply. :) ___ But I am a little confused, why you judge the good old primitive restart functionality ;) : ...the benefit is very little : on modern hardward, using primitive restart does not really make faster performances, it's much more efficient to use

[osg-users] How to set up PrimitiveRestart-Mode?

2014-04-18 Thread Maximilian Wurm
Hi, I already read through all posts, I could find for PrimitiveRestart in combination with OSG. The PrimitiveRestart-extension is definately included since OSG Version 3.2. But there is neither a description in the API nor an example, that explaines how to activate GL_PRIMITIVE_RESTART or how