Author Topic: Problem with huge textures  (Read 731 times)

Offline Aleksei

  • Member
  • *
  • Posts: 26
  • Freelance Art Director
    •  NORDSKILL
Problem with huge textures
« on: December 07, 2016, 09:49:31 AM »
Hello!
I have a problem with textures that are 65000 px wide   ::)
When I use 65000px JPG or PNG texture for surface diffuse color I have a big white stripe bending the Earth. And UV is distorted. Also I have the same problem with textures used for specular and illumination channels. But when I reduce the texture sizes to 43200 px it looks ok.

Is it a Terragen limitation or a bug?
I have 64 GB RAM and around 30 BG remains free when I use Terragen.

Also I have a crazy theory which I didn't check yet: when I had problems with these textures I was using 43200px PNG texture for displacement. What if I increase Displacement texture size to 65000px (to match the size of other textures)? Maybe this will make the other 65000px work well? Please refer to my node tree.
« Last Edit: December 07, 2016, 09:57:38 AM by Aleksei »
Your Multi-Tool of Design & Advertising: NORDSKILL

Offline Dune

  • Member
  • *
  • Posts: 12827
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Problem with huge textures
« Reply #1 on: December 07, 2016, 12:04:16 PM »
What if you import the displacement map in the default shader as well. There's no need (afaics) for the compute terrain nor the base color anyway. But that may not take away the band.... I've never encountered this, but I don't use such huge textures.
In case you still haven't seen enough of my work: www.ulco-art.nl

Offline KyL

  • Member
  • *
  • Posts: 114
Re: Problem with huge textures
« Reply #2 on: December 07, 2016, 06:31:06 PM »
I had the same issue when trying to load a similar size texture and concluded that it was indeed reaching Terragen's limit. I couldn't get anything to load above 56k as a single image.

What you can do as a workaround is split your 60k image in two squares, and manually put their coordinate in a geog image shader. I succesfully loaded the equivalent of a 86k image file that way.

Regarding the displacement, increasing the size from 43k to 60k won't change a thing except using more memory. You will not create extra details, just blur the existing one by scaling the map up.

Cheers!
Bastien

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 11796
  • Holy snagging ducks!
Re: Problem with huge textures
« Reply #3 on: December 08, 2016, 07:23:41 AM »
Indeed, I think this may be running into the limitations of the image loading library we use. I have not had success loading such large images myself either.

- Oshyan

Offline Aleksei

  • Member
  • *
  • Posts: 26
  • Freelance Art Director
    •  NORDSKILL
Re: Problem with huge textures
« Reply #4 on: December 15, 2016, 09:04:43 AM »
Very useful experience, Kyl, thank you!
Your Multi-Tool of Design & Advertising: NORDSKILL

 

anything