Author Topic: tiled exr tx textures  (Read 9792 times)

2019-02-22, 11:14:09

peterguthrie

  • Active Users
  • **
  • Posts: 250
    • View Profile
    • Peter Guthrie Visualisation
Hello All,

Couldn't find a topic about this so thought I would start one. Just wondering if coronabitmap supports tiled exr or tx formats?

I'm been testing a few scenes where I convert the large bitmaps (over 4k) to tiled exr or tx. Max loads a hell of a lot quicker and it can save a lot of RAM when rendering as well.

Pixamoon's bitmap relinking script can convert automatically, although it currently doesnt support coronabitmap.

any thoughts or experience in doing this?

Peter

2019-02-25, 21:50:23
Reply #1

agentdark45

  • Active Users
  • **
  • Posts: 579
    • View Profile
Had a quick read on tiled exr's - very interesting, I did not know this was a thing. If I understand correctly, Max will only load parts of the exr texture visible in the render to RAM? Any downsides to this workflow?

I wonder if this could be implemented within corona using regular jpg's?
Vray who?

2019-03-17, 13:12:16
Reply #2

peterguthrie

  • Active Users
  • **
  • Posts: 250
    • View Profile
    • Peter Guthrie Visualisation
yes definitely has a lot of potential as everyone moves towards bigger and bigger textures.

2019-04-04, 15:14:38
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-04-04, 22:55:23
Reply #4

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
No, what peterguthrie is referring to is basically mipmapping in a texture format. Multiple resolutions of the texture are stored in a container (exr or tif), and the renderer then uses smarts to choose the correct resolution inside the tiled image based on distance to camera, and thus is able to efficiently use RAM resources. The user is also able to bias the resolution chosen by the renderer by changing the blur value if they want to.

In a perfect world, I'd love for Corona to be able to load in tiled UDIM's for the most efficiency in memory usage and shader setup.

2019-04-05, 15:49:49
Reply #5

agentdark45

  • Active Users
  • **
  • Posts: 579
    • View Profile
No, what peterguthrie is referring to is basically mipmapping in a texture format. Multiple resolutions of the texture are stored in a container (exr or tif), and the renderer then uses smarts to choose the correct resolution inside the tiled image based on distance to camera, and thus is able to efficiently use RAM resources. The user is also able to bias the resolution chosen by the renderer by changing the blur value if they want to.

In a perfect world, I'd love for Corona to be able to load in tiled UDIM's for the most efficiency in memory usage and shader setup.

Could this not be done on the fly with regular jpg's? For example: rays are cast from the camera to scene objects to determine the optimal resolution of the texture, the render engine then downsamples a copy of the jpg into RAM, dumping the original large texture. Sure this might take some additional processing time - but could be invaluable on heavy/static scenes.
Vray who?

2019-04-05, 23:50:05
Reply #6

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
The whole point for tiled textures is that the renderer doesn't have to load in the largest size to 'down sample' anything. It's way more efficient for time and memory to simply select a lower res tile (or 'mipmap') from a container than to load in the largest resolution, decompress it, then generate a lower res version of that map all on the fly.

2019-04-06, 10:52:47
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I remember Ondra once said that something similar is planned for Corona bitmap.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-04-06, 18:22:23
Reply #8

peterguthrie

  • Active Users
  • **
  • Posts: 250
    • View Profile
    • Peter Guthrie Visualisation

2019-06-05, 11:21:56
Reply #9

Benjamin_F

  • Active Users
  • **
  • Posts: 49
    • View Profile
A big thumbs up for this!

With a lot of 100-300Mb textures, life is getting really hard.
Would be great to directly support .tx files.
« Last Edit: 2019-06-05, 11:45:29 by Benjamin_F »

2020-03-17, 12:43:29
Reply #10

SamL

  • Active Users
  • **
  • Posts: 5
    • View Profile
Have there been any developments on this?

We're looking at converting our library to use .tx files but we want to maintain compatibility across VRay and Corona.

2020-03-17, 14:57:16
Reply #11

Mohammadreza Mohseni

  • Active Users
  • **
  • Posts: 152
    • View Profile
    • Instagram
i waited for this feature for years.... that would huge time save... thumbs up for this one!

2020-03-17, 17:02:14
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
I have just reported this directly to the dev/qa team and will be sure to notify you once any specific plans regarding this feature are know.
If you have some examples showing this feature in action, or if you have any experience using it, please share.

(Internal ID=479358382)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-03-26, 10:41:36
Reply #13

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
We are investigating, but if anyone could provide a very simple scene featuring a tiled EXR and/or TX texture that works in some other renderer (e.g. V-Ray), but not in Corona, that would be greatly appreciated.

Update: ok so it seems .tx format cannot be loaded into a Corona Bitmap at all. It can be loaded into VrayHDRI loader and then plugged into a Corona Mtl, but I have no idea if this works fine and whether it brings any benefit.

Question: is "TX" and "Tiled EXR" the same thing? Or are these two separate formats?

« Last Edit: 2020-03-26, 10:56:03 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-03-27, 02:28:25
Reply #14

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile

2020-03-30, 16:10:02
Reply #15

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Thanks a lot!
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-02-14, 15:44:45
Reply #16

peterguthrie

  • Active Users
  • **
  • Posts: 250
    • View Profile
    • Peter Guthrie Visualisation
BUMP!

still very interested in tx files. Can coronabitmap load them now? (as vrayhdri does)

2021-02-14, 15:48:15
Reply #17

peterguthrie

  • Active Users
  • **
  • Posts: 250
    • View Profile
    • Peter Guthrie Visualisation
or has this happened and I missed it?

Hi,
we will have automatic on-demand load of images in the future, so every image will be loaded in exactly the resolution needed - no need to do this manually

2021-02-22, 11:16:28
Reply #18

SamL

  • Active Users
  • **
  • Posts: 5
    • View Profile
I'd also like to bump this!

One of our teams in another office were using this on a large VRay project and saw some crazy reductions in RAM usage.

2021-05-13, 18:06:58
Reply #19

kino_unico

  • Active Users
  • **
  • Posts: 10
    • View Profile
is there any news on this issue, it is quite a long time old and it would be a breakthrough.

2021-06-24, 12:40:39
Reply #20

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 476
    • View Profile
Hi,

We have already logged this as a feature request and looking forward to implementing it soon.

Regards,
Avi

(Report ID=CRMAX-555)
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us