Author Topic: Very slow material editor response with "transform" involved  (Read 3246 times)

2018-06-29, 22:46:57

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
Create a Corona material, load a hires texture (i used 8kx8k) into diffuse and create a layer shader (the texture is now with the layer shader). It does not matter either whether you embed the texture in a Corona bitmap shader.
Add "Transform" from "Effect..." in the layer shader. It will already take a few seconds until it shows.
Try to change the "Scale" values of the "Transform" effect, you will get a very sluggish response. Adapting a material will be no fun.
Now select the texture and add a "Filter" shader. The bitmap will now be embedded in the filter shader.
Even if you do not change any filter value, you can work with the "Scale" values again. Everything goes fluently now.

Win 10, R19.0xx (different version from SP1 to SP3), Corona (different beta 2 versions)

2018-07-12, 16:48:31
Reply #1

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3882
  • Bengamin
    • View Profile
    • Cormats
Note to self. Look into.
Bengamin Jerrems:
Portfolio l Click me!

2018-10-29, 04:35:16
Reply #2

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
Note to self. Look into.

Don't say I did not give you enough time to look.
It is still horribly slow!

2018-10-29, 15:08:06
Reply #3

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
Well, it is actually not the "Transform" effect, it is just very slow texture handling of big textures in Corona as soon as the Layer Shader is involved. Unless it is my rig, no idea.
Just compare this:
Create a Corona material, load a layer shader into Diffuse and load a big texture into there.
Now change the Strength slider, again and again. After the first change, things will progress in slow motion.
Try the same with a native C4D material, no lags.

2018-10-29, 15:12:13
Reply #4

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
A video. The texture is 8k.

2018-10-29, 15:57:29
Reply #5

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3882
  • Bengamin
    • View Profile
    • Cormats
I would probably suggest lowering the preview size for now ;)
https://streamable.com/l3p62
Bengamin Jerrems:
Portfolio l Click me!

2018-10-29, 16:11:07
Reply #6

Cinemike

  • Active Users
  • **
  • Posts: 1017
    • View Profile
I would probably suggest lowering the preview size for now ;)
https://streamable.com/l3p62

I hope it is just a workaround, not the final solution. But maybe, for now, you could lower the default value for Corona materials?