Skip to main content
Question

How to describe Texture Coordinates from images

  • May 8, 2019
  • 3 replies
  • 87 views

candemiroguz
Forum|alt.badge.img

Hi all,

 

I've city buildings in .gml formats.And also i have aerial images of city.I would like to texturizing buildings from aerial images.So, i want to use texture coordinates of images.How can i describe and correspond texture coordinates and my buildings?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • May 8, 2019

Hi @candemiroguz,

If the images are orthorectified and georeferenced, you can set the AppearanceSetter transformer's Texture Coordinate Generation Parameters - Texture Mapping Type to Top Down Georeferenced. This will automatically create the texture coordinates to locate the images correctly on the buildings.

This works best on horizontal surface (ground, roofs). For the vertical wall surfaces, it might be best to use stock building textures. You can control the texture size by setting the Texture Mapping Type to Surface Normal in Ground Units.

For more detailed information please see the AppearanceSetter documentation.


candemiroguz
Forum|alt.badge.img

Hi @candemiroguz,

If the images are orthorectified and georeferenced, you can set the AppearanceSetter transformer's Texture Coordinate Generation Parameters - Texture Mapping Type to Top Down Georeferenced. This will automatically create the texture coordinates to locate the images correctly on the buildings.

This works best on horizontal surface (ground, roofs). For the vertical wall surfaces, it might be best to use stock building textures. You can control the texture size by setting the Texture Mapping Type to Surface Normal in Ground Units.

For more detailed information please see the AppearanceSetter documentation.

Thanks your comment @daveatsafe. I also have oblique aerial images.So, can i texture for vertical wall surfaces from oblique images ?


daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • May 9, 2019

Thanks your comment @daveatsafe. I also have oblique aerial images.So, can i texture for vertical wall surfaces from oblique images ?

Hi @candemiroguz,

Not easily. Your best route would be to convert the .gml to Sketchup in FME, then use Sketchup to apply the textures. Store the gml_id of the feature in the sketchup_layer_name trait with a GeometryPropertySetter, so you can use FME to merge the textured geometry back into the .gml file later by joining on that id.