PDA

View Full Version : dem files in 2018



vonpietro
04-07-2018, 09:18 PM
Hey,

I'm interested in making a realistic moonscape.

I thought i might find a moon dem file - and wow they exist, at least according to this page i found
http://ltvt.wikispaces.com/Sources+of+Planetary+DEM+Data

However, it's been a very long time since i've handled dem files, so i've forgotten how to get them into lw and converted into geometry.

can anyone refresh my memory on working with dem files in lightwave.
thanks

p.s. looked at some older posts - alot of the links are 404 - so old dem converter plugins are no longer found.

prometheus
04-08-2018, 11:17 AM
There is one demscape on this site, but It crashed when trying some files in 2015 lightwave, could be the files though.
http://members.tripod.com/emmerson_halley/content2.htm

vonpietro
04-08-2018, 03:05 PM
wont even load as a plugin in 2018 - says 0 plugins found.

any other ideas?

is there an online dem converter into greyscale?

i found one dem converter for lw in the plugin database but he wants 30 bucks for it.

prometheus
04-08-2018, 04:33 PM
wont even load as a plugin in 2018 - says 0 plugins found.

any other ideas?

is there an online dem converter into greyscale?

i found one dem converter for lw in the plugin database but he wants 30 bucks for it.

That is because of the plugin being 32 bit plugin, and probably so was the other linked one, if they were not the same..You can not use it with 2018, 2018 is 64 bit only..ergo 0 plugins found.
Workaround, use lightwave 2015 32 bit and load it there, save out geometry and reload to the 2018 version.

for the commercial one, verify it works on 2018...and buy it if you desperately need it, or continue to look online for something else.
Blender may have something.

vonpietro
04-08-2018, 07:51 PM
ok will check blender community too - just need to convert into a greyscale - would it work with the new parametric functions in 2018 no geometry?

Asticles
04-08-2018, 11:43 PM
Check las-tools.

https://www.idaholidar.org/tools/lastools/


Regards

next_n00b
04-09-2018, 09:19 AM
For Moon DEM files look here https://astrogeology.usgs.gov/search/results?q=MAP2&k1=target&v1=Moon
You are probably looking for the newest LRO LOLA LDEM GDR. When you download, choose Equirectangular/Simple Cylindrical (you must be logged in) projection and GeoTiff signed 16bit. Than you can convert with some geoapp to 8 bit grey. I have used QGIS command line converter. I think there is some issue with 8 bit USGS DEM map, but I don’t remember what exactly. Maybe lack of dynamic, comparable to the 16bit > 8bit in QGIS. I am not sure. And displacement with this map on a LightWave primitive works very fine.
141108

MonroePoteet
04-09-2018, 12:16 PM
You might have some luck using the Map-a-Planet site:

https://www.mapaplanet.org/

Select the Moon from the main page, scroll down to the bottom of the data type selections and select LRO-LOLA DEM as the data source, which gives a whole-planet grayscale view. Drag a square on the map to zoom in until you've got an area that seems "interesting" for your application, then choose View and Save=>Image below to save as a grayscale image. You can use this grayscale image to displace a subdivided square surface in the Y axis.

This image was created using that technique with a Turbulence bump map to provide some smale-scale roughness:

141113

In this case, the image saved was 684x482 pixels, so I created a 684x482 meter square with 68x48 subdivisions, converted to subpatches, and set the Render Subpatch level to 10.

mTp

vonpietro
04-09-2018, 11:53 PM
mapaplanet is neat - when i tried though it gave me a error, so hopefuly it will work on another day.
will try it out
thanks for that one =)

MonroePoteet
04-10-2018, 08:51 AM
Well, here are a few captures from the Map-a-Planet moon data to get you started until the site cooperates:

141128

141129

141130

141131

I've also attached the scene used to render the previous image, but couldn't include the Earth Clouds image, since it's 12MB and too large for upload.

mTp

prometheus
04-10-2018, 11:58 AM
ok will check blender community too - just need to convert into a greyscale - would it work with the new parametric functions in 2018 no geometry?

Any greyscale map can be used with the new parametric primitive, but it is quite slow to render, the docs even warns about that with displacements on primitive shapes..even slower I think than a dense subpatched polygon terrain.
So it is questionable wether it is best to use a standard displacement on polygons VS the parametric primitive, if you use procedural textures..you get infinite detail, other than that I think you would be better of using standard polygons.