Jump to content
tsw

Displacement map to real geometry

Recommended Posts

Is there a way within Vectorworks to bake a displacement map texture to actual 3D geometry?

 

 

I've mapped a digital elevation model (DEM) image to a simple plane that I would like to convert to use as a site model.

 

 

Thanks!

Share this post


Link to post

No, the displacement map does only affect the renderworks-rendering.

 

You coul'd use the original data to create a dgm. Can you give a sample file of how the data looks like?

Share this post


Link to post

Thanks for confirming. I did manage to get what I needed using Blender and importing it. 

 

The original file I was working with was a 1 arc-second GeoTIFF that I was using as a displacement map. Sample attached.

DEM.png

Share this post


Link to post

I almost always do these in QGIS, more recent QGIS versions make geotiff to 3D contours reasonably simple. If VW is trying to market itself as GIS-capable it should be able to handle at least the basic DEM operations.

Share this post


Link to post

GeoTiffs with elevation information are basically tifs that come with a text file stating how they are georeferenced. The only difference is that instead of RGB values for the pixel heights they contain numbers. It is quasi a matrix of height numbers, for example

 

705.1, 705.7, 705.9, 706.2
704.8, 705.4, 706.0, 706.1
704.6, 705.2, 705.8, 706.2
704.2, 705.1, 705.5, 705.9

 

The separate .tfw file contains information about how big a pixel is, where it is located and how it is rotated.

In order to be able to use something like this in Vectorworks, you need a file in .xyz format or similar. They look like this:

 

x-coordinate y-coordinate z-coordinate


for example:

 

2677000.25000000 1246999.75000000 569.249939
2677010.75000000 1246999.75000000 569.999939
2677021.25000000 1246999.75000000 570.769958
2677031.75000000 1246999.75000000 571.219971
2677042.25000000 1246999.75000000 571.859985
2677052.75000000 1246999.75000000 572.940063
2677063.25000000 1246999.75000000 574.370056
2677073.75000000 1246999.75000000 575.350037

 

You can use an online converter to convert geotiffs into xyz format.


Then import this xyz point cloud into the open source program CloudCompare. There you reduce the point density (Edit-Subsample), so that in the end you only have about 10'000 points. These can then be imported into Vectorworks via 'Survey Input'. Select 'Create 3D Locus Objects'. You can then use these 3D locus objects to generate a terrain model. This way you get a fully editable, georeferenced terrain model.

  • Like 2

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...