are mipmap exr's read as tiles?

   3677   1   2
User Avatar
Member
26 posts
Joined: Nov. 2008
Offline
I am creating mipmap'ed exr files using maketx. Do mip-map tiles of an exr read on-demand as they do in .rat mipmap files?

I can't find a way to verify if Mantra is reading a subset of mip-map tiles out of exr files, or if it is reading the entire image and rebuilding a mip-map in memory.

Is there a doc that explains the verbose output of Mantra? I was trying to find the texture cache size in there, but only found Unified Cache and Geometry.

Unified Cache: 14.24 MB of 23.60 GB used
In Cache Faults Generated Item Size
Geometry: 14.24 MB 1241 14.24 MB 11.75 KB
Scott Peterson, Machine Learning Graphics Engineer, Unity
User Avatar
Member
26 posts
Joined: Nov. 2008
Offline
Response from Sesi:

At the current time, Mantra requires .rat files for tiled mip-mapped textures.

If a non .rat file is specified, mantra will load the image and convert to an in-core .rat image.

Obviously, this is not the most efficient way to do texturing.

There's currently no warning printed out when in-core conversion occurs (though our developers will add a warning for tomorrow's build of H14). However, there is an environment variable (MANTRA_NONRAT_ERROR) which will cause mantra to exit with an error instead of converting.
Scott Peterson, Machine Learning Graphics Engineer, Unity
  • Quick Links