Hey guys,
I've run into Phoenix instability with a very simple setup. This sim fails or explodes pretty consistently in the first 15-20 frames of simulation (and this scene sims at 1s/frame so it shouldn't be hard to reproduce the problem), despite the fact that there doesn't seem to be anything wrong with the particles sent to Phoenix. Sometimes it gets further than 15 frames so you may need to run the sim a few times to get the error, but here on my machine I can get it to popup within a couple minutes of hitting resim a few times over the first 15 frames.
This is in 3dsmax 2017 w/Phoenix 3.14.00. I have a machine with 16 cores in case that matters.
The PhoenixFDSource is importing a tyCache (that has its particle interface on, so everything is happening through IParticleDataExt) and it's set to use the particle geometry as the source.
I've stepped through the tyCache particle interface code many times and all the data sent to PhoenixFD seems legit. I don't see any problems with either the logic, or the code. PhoenixFD calls UpdateParticles on my interface, then gets particle IDs, ages, shapes and TMs. All pointers I send to PhoenixFD should be valid and all mesh generations and array modifications happen inside mutex locks in case PhoenixFD is querying things in a threaded manner. And I can't reproduce the issue if I change the PhoenixFD source to a non-"use particle shape" mode. So the issue seems related to simulating particle shapes.
So basically I've exhausted all my troubleshooting options here and am reaching out.
Attached is the file, including relevant caches. Just retarget the tyCache in case it can't find it. Also if you get a tyFlow version error, it can be ignored so long as you have the latest release installed. Thanks!
I've run into Phoenix instability with a very simple setup. This sim fails or explodes pretty consistently in the first 15-20 frames of simulation (and this scene sims at 1s/frame so it shouldn't be hard to reproduce the problem), despite the fact that there doesn't seem to be anything wrong with the particles sent to Phoenix. Sometimes it gets further than 15 frames so you may need to run the sim a few times to get the error, but here on my machine I can get it to popup within a couple minutes of hitting resim a few times over the first 15 frames.
This is in 3dsmax 2017 w/Phoenix 3.14.00. I have a machine with 16 cores in case that matters.
The PhoenixFDSource is importing a tyCache (that has its particle interface on, so everything is happening through IParticleDataExt) and it's set to use the particle geometry as the source.
I've stepped through the tyCache particle interface code many times and all the data sent to PhoenixFD seems legit. I don't see any problems with either the logic, or the code. PhoenixFD calls UpdateParticles on my interface, then gets particle IDs, ages, shapes and TMs. All pointers I send to PhoenixFD should be valid and all mesh generations and array modifications happen inside mutex locks in case PhoenixFD is querying things in a threaded manner. And I can't reproduce the issue if I change the PhoenixFD source to a non-"use particle shape" mode. So the issue seems related to simulating particle shapes.
So basically I've exhausted all my troubleshooting options here and am reaching out.
Attached is the file, including relevant caches. Just retarget the tyCache in case it can't find it. Also if you get a tyFlow version error, it can be ignored so long as you have the latest release installed. Thanks!
Comment