How to do PN Triangle Tesselation in Ogre 2.1?

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
rujialiu
Goblin
Posts: 296
Joined: Mon May 09, 2016 8:21 am
x 35

How to do PN Triangle Tesselation in Ogre 2.1?

Post by rujialiu »

Dear all,

Does anyone have some code showing how to do PN triangle tesselation in Ogre 2.1? I have some dynamically generated curved meshes in the form of PN triangles. I just want to write some simple strategy in Hull shader/domain shader to control how GPU tesselates them (basically finer tesselation when closer to camera).

Thanks in advance!
Post Reply