Skip to main content
Question

How to describe Texture Coordinates from images


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?

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • 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
daveatsafe wrote:

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+19
  • Safer
  • May 9, 2019
candemiroguz wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings