Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • 3 3D-Stadtmodelle
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Volker Coors
  • 3D-Stadtmodelle
  • Wiki
  • En
  • Citygml tutorial
  • Chapter 2: building
  • Appearance

Appearance · Changes

Page history
Update Appearance authored Dec 15, 2022 by Rushikesh Padsala's avatar Rushikesh Padsala
Hide whitespace changes
Inline Side-by-side
EN/CityGML-Tutorial/chapter-2:-Building/Appearance.md
View page @ 8bd2e98e
The building appearance module allows the addition of material and texture detail on the surface of a building. Appearances can be organized in themes. A city model can hold and display more than one themes. You define a material using the app:X3DMaterial node and the child nodes app:diffuseColor and app:target. The target node references the id of the polygon in which the appearance is applied.
The building appearance module allows the addition of material and texture detail on the surface of a building. Appearances can be organized in themes. A city model can hold and display more than one themes. You define a material using the app:X3DMaterial node and the child nodes app:diffuseColor and app:target. The target node references the ID of the polygon in which the appearance is applied.
```xml
<app:X3DMaterial>
......@@ -9,7 +9,7 @@ The building appearance module allows the addition of material and texture detai
![image](uploads/dc9b9e7751df9c489a42c0ecace7d6b7/Abb-4.11.png)
You define a texture with the app:ParameterizedTexture node. Then, as child nodes, you define the texture/image location, the MIME type, and the target polygon. To map the texture coordinates on the polygon you use the polygon’s ring(s).
You define a texture with the app:ParameterizedTexture node. Then, as child nodes, you define the texture/image location, the MIME type, and the target polygon. To map the texture coordinates on the polygon, you use the polygon’s ring(s).
```xml
<app:ParameterizedTexture>
......@@ -26,7 +26,7 @@ You define a texture with the app:ParameterizedTexture node. Then, as child node
You can download both examples here:
[appearence_examples.zip](https://transfer.hft-stuttgart.de/gitlab/coors/3d-stadtmodelle/-/blob/master/Buch-3D-Stadtmodelle/Kap-4/appearence_examples.zip)
The concept of Appearance remains same for all the other modules (CityObjects) of CityGML. FME transformers such as [AppearanceSetter](https://www.safe.com/transformers/appearance-setter/) or GeometryColorSetter(https://www.safe.com/transformers/geometry-color-setter/) can be used to apply materials or textures to the CityGML model. More info on how textures are understood in FME can be found [here]https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/!FME_Geometry/Textures.htm). A tutorial on creating textured CityGML model can be found [here]https://community.safe.com/s/article/creating-a-textured-citygml-model).
The concept of Appearance remains the same for all the other modules (CityObjects) of CityGML. FME transformers such as [AppearanceSetter](https://www.safe.com/transformers/appearance-setter/) or [GeometryColorSetter](https://www.safe.com/transformers/geometry-color-setter/) can be used to apply materials or textures to the CityGML model. More info on how textures are understood in FME can be found [here](https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/!FME_Geometry/Textures.htm). A tutorial on creating a textured CityGML model can be found [here](https://community.safe.com/s/article/creating-a-textured-citygml-model).
**Next Chapter** [Chapter 3: Validation](https://gitlab.com/volkercoors/CiD4Sim/-/wikis/home)
......
Clone repository
  • DE
    • Buch 3D Stadtmodelle
    • Buch 3D Stadtmodelle
      • Kap 4: Objektmodell
      • Kap 5: Digitales Geländemodell
      • Kap 6: Die Bodenbedeckung
      • Kap 7: Gebäudemodell
      • Kap 8: Vegetation
    • Konferenzen
    • Open Data
    • Vorlesung 3D Stadtmodelle
    • Vorlesung 3D Stadtmodelle
      • Kap 2.1 Teil 1 Gebäudemodell Lod 1
      • Kap 2.1 Teil 2 Gebäudemodell Lod 1 mit Attributen
      • Kap 2.2 Gebäudemodell LoD 2
      • Kap 3 ArcGIS CityEngine
      • weiteres
  • EN
    • CityGML Tutorial
View All Pages

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal