jpouderoux / libcitygml

C++ CityGML parser for 3D applications
https://code.google.com/p/libcitygml/
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Enable CityGML PLugin to display only the highest LOD-Level in one file #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a model with different LOD representations per building
2. The display of LODs will interfere within the scene

What is the expected output? What do you see instead?
It should be possible to configure the loader to show the highest lod only.

What version of the product are you using? On what operating system?
current trunk

Please provide any additional information below.
I attached a patch. It introduces a new configuration parameter for the plugin 
called "useMaxLODonly" to swithc between the old behaviour of loading all the 
geometries and the new one. It would be nice if this could be merged.

Original issue reported on code.google.com by jan.kli...@gmail.com on 29 May 2012 at 3:16

Attachments:

GoogleCodeExporter commented 9 years ago
I found some other errors when removing the define of 'RECURSIVE_DUMP' please 
use the patch attached to this comment

Original comment by jan.kli...@gmail.com on 29 May 2012 at 3:25

Attachments:

GoogleCodeExporter commented 9 years ago
The method for determining the highest available LOD-Level for an Object could 
also be integrated into the city model class. This might be more useful there.

Original comment by jan.kli...@gmail.com on 30 May 2012 at 11:28

GoogleCodeExporter commented 9 years ago
Thanks a lot. I applied the patch in Revision 132.
I will think about your 2nd comment ASAP.

Original comment by jpouder...@gmail.com on 15 Jun 2012 at 6:26