Author Topic: DEM not working on Linux render node?  (Read 189 times)

Offline Graphoplex

  • Member
  • *
  • Posts: 2
DEM not working on Linux render node?
« on: February 15, 2019, 06:08:36 AM »
Hello everyone,

I usually do my renders on Windows, where I have a heightfield shader loaded via a geog_heightfield_load to fetch my .tif elevation map. But when I tried rendering the same scene on Ubuntu, the render is exactly as though the heightmap isn't loaded.

I checked the filename to make sure it works on Ubuntu, and I don't get an error saying the file wasn't found (which happens if I input a wrong filename)... I don't get any XML error either, which leads me to believe that something wrong happens inside Terragen, but I have no idea what.

Thank you in advance for your help!

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 13022
  • Holy snagging ducks!
Re: DEM not working on Linux render node?
« Reply #1 on: February 15, 2019, 08:17:22 PM »
Hmm, this is not something we've seen before. Are there other files in the project that are loading from the same location and loading and rendering correctly? If so what file types/node types are they? e.g. Image Map Shader, OBJ node, etc.

One possible explanation is the file is actually loading, but the georeferencing isn't working correctly for some reason. If that were happening, the file would be loading but would probably end up at the 0,0,0 coordinate origin. Something you can try is to switch to Manual Georeferencing. It should maintain the settings from Auto, so the position should remain the same, but it won't rely on auto-gereferencing when it loads as far as I know. i.e. it should fix the problem if that's the issue. If so definitely let us know so we can fix it. Alternatively you could try moving the camera to 0,0,0 without making any other changes and see if the terrain is visible there.

Also, just to make sure, are you running the same exact version on Linux as you are on Windows?

- Oshyan
« Last Edit: February 15, 2019, 08:28:00 PM by Oshyan »

Offline Graphoplex

  • Member
  • *
  • Posts: 2
Re: DEM not working on Linux render node?
« Reply #2 on: March 01, 2019, 10:36:18 AM »
Thank you very much for your reply. The problem was indeed coming from georeferencing—simply disabling it fixed the issue!

If that can help, here's the link to the DEM I am using: https://astrogeology.usgs.gov/search/details/Moon/LRO/LOLA/Lunar_LRO_LOLA_Global_LDEM_118m_Mar2014/cub (or if you just want the file: http://astropedia.astrogeology.usgs.gov/download/Moon/LRO/LOLA/ancillary/LRO_LOLA_DEM_SPolar875_10m.tif)

Thank you again,
– Graphoplex

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 13022
  • Holy snagging ducks!
Re: DEM not working on Linux render node?
« Reply #3 on: March 01, 2019, 11:25:06 PM »
Ah, I see. It's a Polar Projection data set. The regular Geog Heightfield Load node might not be able to handle that, but it's possible that the Geog Image Map Shader could, with Displacement enabled. Might be worth a try.

- Oshyan

 

anything