Author Topic: Proxies making file take forever to save  (Read 455 times)

2024-05-09, 17:59:26

lupaz

  • Active Users
  • **
  • Posts: 960
    • View Profile
Corona 11.1
3DS Max 2023

With version 11 I've noticed that saving a file that contains a large number of proxies makes saving take a long time.
It happens with more than one file.
See video please.

Is there anything I can do other than go back to Corona 10?


2024-05-10, 10:26:22
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I thought that main benefit of proxies is exactly to reduce file size and load/save times. @Avi, did you even watch the video? It's only 10-20 proxy objects and the difference in saving speed with and without them is night and day. Clearly that can't be expected behaviour, unless lupaz have preview type set to "mesh", which you didn't ask about.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-05-10, 10:40:30
Reply #2

James Vella

  • Active Users
  • **
  • Posts: 550
    • View Profile
I thought that main benefit of proxies is exactly to reduce file size and load/save times.

That was my thinking. Doesnt Vray proxies make the scene load/save faster?

2024-05-10, 11:34:43
Reply #3

Avi

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

Sorry, I misunderstood this. You are correct that with only 10-20 proxy object in the scene, the file size would not have been that big. It would take a lot of proxies and even then the file size increase would be very very less.

I can test this more thoroughly if you can share your file to see what actually is happening.

There can be other causes too, such as if you saving it locally or on a network. Or you are using a SSD or HDD etc.

Feel free to attach the file here, I will have a look.
« Last Edit: 2024-05-10, 11:51:03 by Avi »
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-05-10, 17:36:45
Reply #4

lupaz

  • Active Users
  • **
  • Posts: 960
    • View Profile
Hello.

Here's the zip file:
(Removed)

My project is on an SSD, including the proxies.
All proxies are in wire mode. Not mesh.
I don't use a network. it's locally stored.

Thanks!

« Last Edit: 2024-05-13, 17:37:03 by lupaz »

2024-05-11, 11:38:17
Reply #5

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
Hi,

this looks like another of various issues with my 'beloved' CoronaBitmap. Original scene save:

Code: [Select]
INF: [18684] [50788] File save duration. Excluding pre/post save callbacks: 20 seconds. Including callbacks: 20 seconds.
After converting all CoronaBitmaps to standard Bitmap:

Code: [Select]
[18684] [50788] File save duration. Excluding pre/post save callbacks: 1 seconds. Including callbacks: 1 seconds.

Good Luck



Never underestimate the power of a well placed level one spell.

2024-05-11, 12:20:24
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8882
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Could it be out of core textures feature? Maybe it's worth to turn it off and see if that helps.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2024-05-11, 15:12:29
Reply #7

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
I did - no difference.

Good Luck

Never underestimate the power of a well placed level one spell.

2024-05-12, 15:49:32
Reply #8

lupaz

  • Active Users
  • **
  • Posts: 960
    • View Profile
Hi,

this looks like another of various issues with my 'beloved' CoronaBitmap. Original scene save:

Code: [Select]
INF: [18684] [50788] File save duration. Excluding pre/post save callbacks: 20 seconds. Including callbacks: 20 seconds.
After converting all CoronaBitmaps to standard Bitmap:

Code: [Select]
[18684] [50788] File save duration. Excluding pre/post save callbacks: 1 seconds. Including callbacks: 1 seconds.

Good Luck

Thank you so much Frood!

I don't know how it occurred to you to make that change. Kudos.

I'll wait for an answer from the Corona team just to see if they have a more "Corona oriented" workaround. I really hope so.
I'm surprised this never came up before (?). Weird.

2024-05-13, 07:02:51
Reply #9

Tom

  • Active Users
  • **
  • Posts: 249
    • View Profile
    • www
Interesting topic. I've never had any issue like that so far, so I always use Coronabitmaps.
I've read somewhere that they're faster to render compared to regulars bitmaps. But I've never actually did a test to see if they are really faster to render than regular bitmaps.

Is it the case?

2024-05-13, 08:03:21
Reply #10

Aram Avetisyan

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

this looks like another of various issues with my 'beloved' CoronaBitmap. Original scene save:

Code: [Select]
INF: [18684] [50788] File save duration. Excluding pre/post save callbacks: 20 seconds. Including callbacks: 20 seconds.
After converting all CoronaBitmaps to standard Bitmap:

Code: [Select]
[18684] [50788] File save duration. Excluding pre/post save callbacks: 1 seconds. Including callbacks: 1 seconds.

Good Luck

If you have the scene it hand were this can be reproduced, please send it over and we will investigate it.
Afaik even with OOC textures Off, some hard drive read/write actions are being done.
Nevertheless, no slowdowns (even more such drastic) are expected, so we will be happy to investigate this.

Some reproduction steps, like, Create 10 Bitmaps with different 2k textures, apply (or maybe applying is not needed) to objects, save, check saving times.
And then teh same with CoronaBitmaps.
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us

2024-05-13, 09:47:30
Reply #11

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
If you have the scene it hand were this can be reproduced, please send it over and we will investigate it.

I checked the scene linked above by lupaz. Even properly relinking assets or disabling animation in the proxy objects does not change the behaviour.

Original scene Max 25.2.2.3312, Corona 11.1
Tested with Max 26.2.1.22056, Corona 11.2

However, the scene is loading twice as fast using CBitmaps :)


Good Luck



Never underestimate the power of a well placed level one spell.

2024-05-13, 09:58:44
Reply #12

Frood

  • Active Users
  • **
  • Posts: 1932
    • View Profile
    • Rakete GmbH
Is it the case?

You have to decide for yourself. I was not able to measure any significant speed gain in standard production scenes, and for me it makes no difference if a scene renders 4h20m32s or 4h19m11s. But the last time I checked CBitmap <-> Bitmap speed was quite a time ago.


Good Luck



Never underestimate the power of a well placed level one spell.

2024-05-13, 12:41:55
Reply #13

Tom

  • Active Users
  • **
  • Posts: 249
    • View Profile
    • www

2024-05-14, 06:14:10
Reply #14

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 535
    • View Profile
Hello.

Here's the zip file:
(Removed)

My project is on an SSD, including the proxies.
All proxies are in wire mode. Not mesh.
I don't use a network. it's locally stored.

Thanks!


Thanks for providing the scene. I was able to repro this issue on my end as well. It seems like changing from CoronaBitmaps to native 3ds Max bitmaps, scene actually saves faster. The issue seems to be related to Corona bitmaps not proxy.

This is now logged: (Report ID=CMAX-964)

Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us