Re: [osg-users] Tesselation on Model

2016-03-23 Thread Sebastian Messerschmidt
Hi David, Thank you very much Sebastian! You are awesome! You really made my day. I can see the tesselation it's working now. : ) Thx, an , in comparison, most elaborate question like this needed some attention :-) If I'm allowed to add one question for personal advancing. What do i have to

Re: [osg-users] Tesselation on Model

2016-03-23 Thread David Knipp
Thank you very much Sebastian! You are awesome! You really made my day. I can see the tesselation it's working now. : ) If I'm allowed to add one question for personal advancing. What do i have to change in the shader so that the model is normal again? My Model is looking like it was pressed

Re: [osg-users] Tesselation on Model

2016-03-23 Thread Sebastian Messerschmidt
Hi David, tesselation shaders usually work on the GL_PATCH primitive rather than usual triangles. So in order to get your program running you need to run a visitor on the scene and convert the primitive sets to this. This however won't magically solve every tesselation problem, but this a

[osg-users] Tesselation on Model

2016-03-23 Thread David Knipp
Hi osg-Forum, I'm kind of stuck with a problem in how to combine a tesslation shader in osg with a normal model right now. I really searched over google a couple of times and over the osg forum. I can't find an answer to my problem. Normally i prefer to not ask and just resolve it myself