Author Topic: Scatter + Multi Shader  (Read 1811 times)

2022-06-10, 14:57:39

Mac_Mac

  • Active Users
  • **
  • Posts: 45
    • View Profile
Hi there,
I noticed a problem when I'm using scatter and multi shader for color change of the cloned objects.
When camera clipping is ON, colors of the objects are changing every single frame. I'v tested it with all Multi Shader modes.
Cheers!


2022-06-10, 16:26:40
Reply #1

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3812
  • Bengamin
    • View Profile
    • Cormats
Interesting. Would you be able to share this test scene as well?
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2022-06-10, 18:40:54
Reply #2

Cinemike

  • Active Users
  • **
  • Posts: 1000
    • View Profile
My guess: Scatter does not scale the instances out of sight to 0, but actually deletes them. Therefore, the index of the instances is in constant motion and that is why as soon as it changes, the random color distribution changes.
I could only avoid the "jumping colors" by using a Cloner and an LOD object, because my "patented use the variation shader in Object name mode" even failed here ;)

2022-06-10, 19:09:33
Reply #3

Mac_Mac

  • Active Users
  • **
  • Posts: 45
    • View Profile
Please check this one.

2022-06-10, 19:15:35
Reply #4

Cinemike

  • Active Users
  • **
  • Posts: 1000
    • View Profile
Just out of curiosity I've attached a Mograph solution. While it is working fine in the viewport, the "Use Camera Clip In Render" in the LOD object does not seem to work with Corona IR (no idea if in a final render it would have been used). Should I report this as a bug additionally?

PS
I put a mirror in the scene, it's almost like a spy cam, hope I did not violate the privacy of the instances. The "clipped" objects are just rendered in the IR, in a final render they are gone.
« Last Edit: 2022-06-10, 19:21:38 by Cinemike »

2022-06-11, 17:41:45
Reply #5

Mac_Mac

  • Active Users
  • **
  • Posts: 45
    • View Profile
I've checked xParticles Scatter and Cycles 4D with Camera Clipping mode ON.
It has three Clone Types: instance, render instance and duplicate.
Instance and render instance work as in Corona Scatter (colors are changing).
Duplicate works good, but I think this mode is less efficient than instances.
I've tried xpScatter with Corona Render but with no luck - colors keep changing.
So maybe this is a path to consider while working on a solution.

2022-06-14, 11:15:18
Reply #6

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3812
  • Bengamin
    • View Profile
    • Cormats
Hi there, can you please let us know versions of Corona and C4D you are using?

(Internal ID=914121188)
« Last Edit: 2022-06-14, 11:33:27 by Beanzvision »
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2022-06-16, 16:07:45
Reply #7

Mac_Mac

  • Active Users
  • **
  • Posts: 45
    • View Profile
Cinema R25 + Corona v8, MacOS