Why disappear PhysX when a Modifier is set on Tyflow?
#1
Question 
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

   
  Reply
#2
Did you add a Mesh operator?
  Reply
#3
(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


Attached Files
.max   PhysX and Modifier Tyflow.max (Size: 636 KB / Downloads: 61)
  Reply
#4
Yea but it’s set to render only…
  Reply
#5
(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.)
  Reply
#6
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
  Reply
#7
(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)
  Reply


Forum Jump: