What steps will reproduce the problem?
1. Use trunk with OpenSceneGraph and for example the city of Ettenheim
model from citygml.org
http://www.citygml.org/fileadmin/count.php?f=fileadmin%2Fcitygml%2Fdocs%2FStadt-
Ettenheim-LoD3_edited_v1.0.0.zip
2. Render it.
What is the expected output? What do you see instead?
There are rendering artefacts (flickering ...). This is due to the
large coordinates of this citygml file. Therefore tesselation fails.
What version of the product are you using? On what operating system?
Trunk on Ubuntu Lucid, Latest OSG trunk
Please provide any additional information below.
To solve the problem the input geometry needs to be translated based
on the citymodel envelope before tesselation. The resulting OSG file
needs to be put as a child in a MatrixTransformation node which
translates the model to the correct position.
I hacked such a solution and it works fine. At least if the model
has an envelope set.
One could integration translation and maybe also scaling of the geometry
into the GeoTransformation class.
Any thoughts about that?
Best regards,
Wolfgang
Original issue reported on code.google.com by
wbaer76@googlemail.comon 16 Sep 2010 at 11:41