Memory consumption of displacement maps with Karma XPU

   1413   2   1
User Avatar
Member
41 posts
Joined: April 2020
Offline
Hi again,

I'm rendering a scene with a material with only a texture (diff). This requires about 4 GB while rendering. As soon as I add a 4096x4096 displacement map the memory consumption rises to 12 GB! The more I add the more it rises. Also the initialization takes significantly longer. With a couple of displacement maps I'm at 25 GB memory consumption in comparison to 4 GB when rendering without.
Do displacement maps really require that much memory??
Is there a way to reduce the memory explosion a bit?

Thanks in advance,

Günther
User Avatar
Member
2658 posts
Joined: June 2008
Offline
Review your displacement map to see if it is RGB or greyscale. For displacements, you typically only need greyscale. Consider saving them that way. Dropping those two other channels could save you some memory. Just remember to specify the image as Float instead of Color when you connect them to the shader.
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
41 posts
Joined: April 2020
Offline
Hi Enivob,

both helped a lot! Especially specifying Float instead of Color reduces memory consumption massively.
Thanks again! :-)

G.
  • Quick Links