[osg-users] Reverse engineer the VPB tile generation process

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Wed Nov 30 09:33:51 PST 2016


Hi Robert, Community,

I spent today some time to learn about the final output of the VPB tools
and the terrain techniques (I am ok with the basic one for this moment, the
GeometryTechnique). So the tiles are in quadtree fashion, and the generated
geometry resides into Geodes, which is obvious. And this is for geocentric
databases.

My goal is: to bring the tiles back to "source space". I can get the
nodepath of every single Geode representing a tile, get the localToWorld
matrix and apply its inverse to the Tile vertices - to have the tile back
to (0,0,0) from its ellipsoid position/orientation.

When I do this, I am seeing the tiles back to (0,0,0) but they keep
oriented as on the ellipsoid, so I am after a hint where is this geocentric
orientation applied and how to "revert" it back

Thanks for any hint

Cheers!
Nick



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161130/c6efce70/attachment-0001.htm>


More information about the osg-users mailing list