tyFlow Forum
Why disappear PhysX when a Modifier is set on Tyflow? - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Why disappear PhysX when a Modifier is set on Tyflow? (/thread-3764.html)



Why disappear PhysX when a Modifier is set on Tyflow? - Alexx31 - 07-16-2023

Hello,

in Particle Simulations often "relax" and "turbosmooth" were used.

When I do the same with PhysX my objects disappear in the viewport.
Did I miss something or are these modifiers limited to ony partcles?

Thanks

   


RE: Why disappear PhysX when a Modifier is set on Tyflow? - tyFlow - 07-16-2023

Did you add a Mesh operator?


RE: Why disappear PhysX when a Modifier is set on Tyflow? - Alexx31 - 07-16-2023

(07-16-2023, 02:32 PM)tyFlow Wrote: Did you add a Mesh operator?
yes of course

     

(07-16-2023, 02:32 PM)tyFlow Wrote: Did you add a Mesh operator?

This is the simplified Setup attached


RE: Why disappear PhysX when a Modifier is set on Tyflow? - tyFlow - 07-16-2023

Yea but it’s set to render only…


RE: Why disappear PhysX when a Modifier is set on Tyflow? - Alexx31 - 07-16-2023

(07-16-2023, 04:43 PM)tyFlow Wrote: Yea but it’s set to render only…

Great thanks! Smile
(Just wondering why render only is the default, but now I know it's meaning.)


RE: Why disappear PhysX when a Modifier is set on Tyflow? - tyFlow - 07-17-2023

Render-only is default to avoid lag/crashing/etc in situations where you're rendering huge numbers of particles as instances.

Consider the following workflow:

Code:
- you setup a flow with 10 million particles
- you now want to render it as instances (rendering as meshes would require too much RAM)
- you drag in a Mesh operator
- since render-only is default, no mesh is created in the viewport and the Mesh operator does nothing when added to the flow until render-time
- you then switch the Mesh operator mode to instances and render, and only a small amount of RAM is consumed

Now consider if render-only was not on by default:

Code:
- you setup a flow with 10 million particles
- you now want to render it as instances (rendering as meshes would require too much RAM)
- you drag in a Mesh operator
- since render-only is *not* on by default, tyFlow attempts to build the mesh of 10 million particles after the Mesh operator is dragged in
- your machine immediately stalls/freezes/crashes due to the RAM requirements for 10 million non-instance particles to be converted into a mesh
- it becomes impossible to add a Mesh operator to a flow with 10 million particles visible in the viewport, without crashing Max immediately

So render-only being default is just a fail-safe for large sims


RE: Why disappear PhysX when a Modifier is set on Tyflow? - Alexx31 - 07-18-2023

(07-17-2023, 04:21 PM)tyFlow Wrote:
Code:
...

So render-only being default is just a fail-safe for large sims

Thanks, I got it!

Maybe good if there would be a note: "Turn off if you need to see PhysX". The correlation to PhysX or Particles seemed not obvious to me.
(Note not important anymore for me, I have a complete note book about Tyflow where I note everything, even the workflows for every project)