LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

.TX texture cache implementation.

Open thiagodesul opened this issue 6 years ago • 4 comments

It would be great if LuxCore would be able to cache .tx textures! It could save lots of VRAM and speed up the render times a bit!

https://docs.arnoldrenderer.com/display/A5AFMUG/Textures


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

thiagodesul avatar Jan 10 '20 01:01 thiagodesul

A CPU implementation is possible but writing the GPU support is extremely complex due the need to read from the GPU something on the file system (i.e. GPUs have no direct access and everything must be mediate by the CPU).

Dade916 avatar Jan 10 '20 11:01 Dade916

A CPU implementation is possible but writing the GPU support is extremely complex due the need to read from the GPU something on the file system (i.e. GPUs have no direct access and everything must be mediate by the CPU).

Good! After we create a bounty for Persistent data I think we can organize ourselves to help this one get implemented as well.

thiagodesul avatar Jan 10 '20 11:01 thiagodesul

Maybe the implementation may not be the same as Arnold with .tx but more similar to the Vray or Redshift ones that uses the hardware capabilities of the GPU's to compress and generate mipmaps and such things, may be easier to port that over to CPU than tx to GPU, and the benefit could be the same one, at least when it was implemented in Vray it seemed to be the same benefit

juangea avatar Jan 21 '20 17:01 juangea

In fact: image This is from the chaosgroup forum: https://forums.chaosgroup.com/forum/v-ray-for-3ds-max-forums/v-ray-for-3ds-max-general/967053-can-vray-read-tx-images

So it may be easier to look at it from a GPU perspective more than from a tx file perspective :)

juangea avatar Jan 21 '20 17:01 juangea