Skip to main content
Question

How to convert a 3d mesh to raster?

  • September 19, 2023
  • 5 replies
  • 184 views

stezi
Contributor
Forum|alt.badge.img+5
  • Contributor

I want to generate a textured plane top-down projection from a mesh.

Like a raster equivalent for the SurfaceFootprintReplacer, which would derive a footprint polygon.

Is there a transformer for that use case?

5 replies

j.botterill
Influencer
Forum|alt.badge.img+36
  • Influencer
  • September 19, 2023

Hi Stezi, perhaps RasterExtentsCoercer - Replaces the geometry of input raster features with a polygon covering either the extents of a raster or the extent of data within a raster.

 

 

Otherwise use RasterInterpretationCoercer if you need alter the interpretation type of rasters, including all bands, and converts cell values.

Something like RasterExtractor follower by RasterReplacer like this rasterextractreplace_polygonGeometryCoercer to polygon


stezi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • September 20, 2023
j.botterill wrote:

Hi Stezi, perhaps RasterExtentsCoercer - Replaces the geometry of input raster features with a polygon covering either the extents of a raster or the extent of data within a raster.

 

 

Otherwise use RasterInterpretationCoercer if you need alter the interpretation type of rasters, including all bands, and converts cell values.

Something like RasterExtractor follower by RasterReplacer like this rasterextractreplace_polygonGeometryCoercer to polygon

As the input is a mesh, unfortunately those raster transformers won't work.


stezi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • September 20, 2023

There is NumericRasterizer but it generates the raster based on z-values. However, I want to create the raster from texture color values.


virtualcitymatt
Celebrity
Forum|alt.badge.img+34

Here's a similar question from a couple of years ago

 

https://community.safe.com/s/question/0D54Q00008udxjCSAQ/top-down-georeferenced-image-from-photomesh

 

The solution was to first convert to a pointcloud

 


stezi
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • September 20, 2023
virtualcitymatt wrote:

Here's a similar question from a couple of years ago

 

https://community.safe.com/s/question/0D54Q00008udxjCSAQ/top-down-georeferenced-image-from-photomesh

 

The solution was to first convert to a pointcloud

 

Great solution (PointCloudCombiner > ImageRasterizer)! :)


Reply


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