[osg-users] Tesselation on Model

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Wed Mar 23 13:00:53 PDT 2016


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 change in the shader so that the model is normal again?
> My Model is looking like it was pressed to 2D papper and then got wrapped arround a ball.
>
> Is this because of the geometryshader of the example?
>
Most likely the example shader is fitted to apply the shift along a 
specific axis. Usually you would take the world-space normal for the 
displacement. As I don't have any code at hand right now I cannot tell 
with certainty, but I will try to check this anytime soon. To avoid 
polluting the forum simply drop me a personal message.

Cheers
Sebastian



More information about the osg-users mailing list