Author Topic: Hidden tyFlow object perfrom simulation on render stop with Corona only  (Read 3034 times)

2024-10-29, 22:06:20

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
Hi,
problem - clean scene, simple tyFlow object is hidden (as simple as birth operator only, so it won't render anyway), changing frame to let's say 50 doesn't perform simulation, starting render (interactive or production) as well doesn't perform simulation, but when I stop or cancel render, tyFlow start simulation up to current frame (50).

Tyson said
Quote
tyFlow objects simulate their result when Max queries their base object for a result
...
Quote
hiding a tyFlow object does not guarantee Max will never query it.

I tried Arnold and Scanline - no sim on render end, so probably some problem with Corona?



2024-11-12, 09:46:42
Reply #1

Avi

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

I am unable to repro this on my end using 3ds Max 2024, Corona 12 HF 1 and latest version of Tyflow. Is this happening in some specific sim you are doing or this is happening even in a very simple sim also?

Is it possible for you to send your scene file so we can investigate this further?

you can send your scene by starting a ticket here: https://support.chaos.com/hc/en-us/requests/new
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-11-12, 21:00:32
Reply #2

v.p.vlasenko

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

I noticed it in a specific sim, but when I tried to figure out what's going on I found that it happens in such a way in the simplest scenes, like in the video below


I don't think I need to send such scene to you.

I forgot to add my specs in the original post:
2025.3
latest corona daily
tyflow 1.118
« Last Edit: 2024-11-13, 11:45:04 by v.p.vlasenko »

2025-01-28, 14:51:22
Reply #3

Avi

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

I was able to repro this issue and have logged in our system to be further reviewed by our devs.

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

2025-02-10, 15:15:37
Reply #4

Avi

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

After our review, we found that, this is happening even without Corona. This is a tyflow bug not Corona. Please see the video attached.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2025-02-11, 00:13:02
Reply #5

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
You did it wrong))) What's in your video is expected behavior. Selecting the hidden tyflow object will update the simulation up to the current frame - that's correct, at least that's how it works.

Check my video again:
1 - tyflow is selected from the start (I didn't deselect/select it again) - the sim happens only when Corona stops rendering, but not with Scanline and Arnold.
2 - In the end I deselected it and still it updated the sim after Corona stopped rendering.

So what's the problem with this?
I have a lot of tyflow objects in the scene with some simulations, which I baked into objects or converted to forest pack for example. Now those tyflows are hidden, I don't interact with them. Save the scene, close max, open max, working. Tyflow objects are hidden so no sim happens. Now I need to do some test render and what do I get on render end? All those tyflow start simulations one by one.

You can check it in the scene from your video, change the birth amount to 5000000, left it hidden. Save scene, then open it. Don't select tyflow. Change the frame to 50 and render with Arnold then switch render to Corona and render again, you'll see difference)
« Last Edit: 2025-02-11, 00:24:24 by v.p.vlasenko »

2025-02-11, 11:20:37
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9275
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Why don't you just deactivate tyflow sims that you don't need instead of hiding tyflow object? That way it should not be updating sim anymore.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-02-11, 11:30:10
Reply #7

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 802
    • View Profile
You did it wrong))) What's in your video is expected behavior. Selecting the hidden tyflow object will update the simulation up to the current frame - that's correct, at least that's how it works.

Check my video again:
1 - tyflow is selected from the start (I didn't deselect/select it again) - the sim happens only when Corona stops rendering, but not with Scanline and Arnold.
2 - In the end I deselected it and still it updated the sim after Corona stopped rendering.

So what's the problem with this?
I have a lot of tyflow objects in the scene with some simulations, which I baked into objects or converted to forest pack for example. Now those tyflows are hidden, I don't interact with them. Save the scene, close max, open max, working. Tyflow objects are hidden so no sim happens. Now I need to do some test render and what do I get on render end? All those tyflow start simulations one by one.

You can check it in the scene from your video, change the birth amount to 5000000, left it hidden. Save scene, then open it. Don't select tyflow. Change the frame to 50 and render with Arnold then switch render to Corona and render again, you'll see difference)


That was one of our observations that it sims with simply selecting and deselecting also, other than that our devs investigated that the calls made by Corona are standard and those should not have caused the tyflow to start the simulation especially when its hidden. So, the bug is not in Corona as far as we know. Yesterday, I wrote a email and shared this info with the developer of tyflow. If I hear back from him, I will update here.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2025-02-11, 19:45:42
Reply #8

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
Thanks, I hope it'll be solved.

Quote
Why don't you just deactivate tyflow sims that you don't need instead of hiding tyflow object? That way it should not be updating sim anymore.

This was just an example, but situations vary and it is a very annoying problem.
+ it's obviously more convenient to hide layers with sims instead of disabling each of them.

2025-02-14, 05:26:53
Reply #9

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 802
    • View Profile
Hi, So i received some updates from the dev of tyflow and here is what they said:

TyFlow updates even when hidden because 3ds Max queries objects for updates (EvalWorldState) even if they are hidden, just like any other object in the scene.

This can happen when clicking on a tyFlow node (even if hidden), stopping or canceling a render (because 3ds Max (EvalWorldState) updates the scene), scrubbing the timeline or changing the scene time, other situations where Max calls for an update.

So, in short, this is not a bug but an expected behavior of tyflow. TyFlow updates when needed because other objects might depend on it.

If you don’t want a hidden tyFlow object to update, then you can set tyFlow’s update mode to "manual".

This way, it won’t update unless you refresh it manually.

I hope this helps.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2025-02-15, 10:58:27
Reply #10

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
Thanks for the reply, but, as the topic name says - it happens only with Corona.

In my video tyflow doesn't update after Scanline and Arnold, just after Corona.
I don't have Vray, so I asked a friend to check and he confirmed, the same story on his side - Vray, Arnold, Scanline are ok, but not Corona.

So 3 vs 1. Doesn't look like expected behavior.

2025-02-19, 13:23:02
Reply #11

Avi

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

I have checked this with other renderer's also and I can confirm this is same with V-Ray and Redshift also. You can reach out to autodesk support regarding this as this is related to 3ds Max itself.
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2025-03-03, 13:48:32
Reply #12

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
Hi Avi,

not sure how you checked, but in my video it happens with Corona only.

Anyway, here is another video - different PC, different 3dsmax version, different corona version and the distance between my PC and this one is around 13000km.


Again - the problem is with Corona only, V-Ray and scanline are ok. Same for Arnold (there is no Arnold in this particular video, but it was in a previous one I received, so Arnold is ok too)

Quote
I can confirm this is same with V-Ray
Looks like it's not the same

2025-03-03, 16:59:50
Reply #13

Avi

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

Please see the video attached.

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

2025-03-03, 21:37:52
Reply #14

v.p.vlasenko

  • Active Users
  • **
  • Posts: 104
    • View Profile
But these are GPU renderers in your video, so maybe some difference here.

Anyway, we have:
V-Ray CPU, Scanline CPU, Arnold CPU on one side
V-Ray GPU, Redshift GPU and Corona CPU on another

So to me it doesn't look like it is related to 3dsmax. Looks like it's related to a particular renderer.