Author Topic: Slow Corona Material Library  (Read 4772 times)

2020-07-03, 01:14:07

Dalton Watts

  • Active Users
  • **
  • Posts: 210
    • View Profile
Hello,

What is the technical reason why the corona material library is generally slow and somewhat laggy especially when scrolling but also when dragging a material to the 3ds max slate material editor? It has been that way since it was introduced.

2020-07-03, 15:58:06
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
First of all, we are aware that the performance could be better. We are planning to improve it in the future, but currently there is no timeframe for this.

There are multiple technical reasons, but the most important one is that the framework we are currently using is not optimized for this kind of task. So it is a technical limitation of the technology we are currently using to draw the material library.

One possible improvement would be switching from displaying the material library on the GPU instead of CPU, and we could do the same with other parts of the Corona's UI. 
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-07-03, 16:04:33
Reply #2

davemahi

  • Active Users
  • **
  • Posts: 192
    • View Profile
    • iamstatic
good to know you are thinning about it. Sometimes I refrain from using it because of this. In the heat of production you dont need endless pauses. We have enough of that in Max as is.

2020-07-03, 16:44:02
Reply #3

Dalton Watts

  • Active Users
  • **
  • Posts: 210
    • View Profile
Thank you MarcĂ­n! At first, trying out the daily build from 3JUN the material editor seemed faster but it was only placebo :-)

Would the GPU switch be a relatively "simple and fast" approach to develop? Anything you guys already tested?

Thanks for the clarification!

2020-07-06, 17:39:21
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12708
  • Marcin
    • View Profile
Would the GPU switch be a relatively "simple and fast" approach to develop? Anything you guys already tested?
Thanks for the clarification!

Sorry, but I don't think it would be relatively simple and fast, and it hasn't been tested yet. It would be a part of a larger effort to improve the overall Corona UI (VFB, CIE, Material Library, etc).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-07-06, 18:25:21
Reply #5

dviz

  • Users
  • *
  • Posts: 1
    • View Profile
Having the same issue at the office.
Does this improve with more cores on the CPU, or is this a single threaded task?

2020-07-06, 20:38:46
Reply #6

Dalton Watts

  • Active Users
  • **
  • Posts: 210
    • View Profile
Having the same issue at the office.
Does this improve with more cores on the CPU, or is this a single threaded task?

99,999999% sure it is single-threaded.