Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: cecofuli on 2016-05-02, 02:41:24

Title: Particle flow and "Cache Disk" parsing bug?
Post by: cecofuli on 2016-05-02, 02:41:24
Hi,
I'm doing an animation (1000 frames), with MParticles (Particle Flow). Similar to this 
Because there are a lot of spheres (5.000) I used the "Cache to disk".
The animation is simple: a lot of particles fall inside a room
The simulation is ready calculated by Particle flow.
The first frame is ok, also the first 10-20... but when I try to render, I don't know, the 100th frame, Corona stay a lot of time on Parsing scene.
For example:

1-20 frame = 5 sec Parsing time (no spheres in vviewport)
20-50= 30 sec Parsing time (just a few spheres)
50-100 = 50 sec Parsing time (more spheres)
100-200 = 1 minute Parsing time (a lot of sphere)
200-500 = 3 minutes parsing time Parsing time (etc..)
1000 frame =

etc...

I also baked, for every sphere, the PF animation. The file max file is 1 GB and poly 11M... Building acc structure is too long...

I don't know if it's a bug...  But it's strange.
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: Ondra on 2016-05-02, 09:59:17
can you upload the scene, and also try another renderer to make sure it is a problem just in Corona?
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: pokoy on 2016-05-02, 11:27:42
Just to make sure: you need to disable everything but the cache operator and output in your flow, the cache will NOT automatically switch off any of the operators. So if they're still enabled, the sim will still be calculated although it loads the result from the cache. The accumulative prep time sound very much like this is the case so make sure to switch off the sim operators first.
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: cecofuli on 2016-05-02, 15:47:49
pokoy: you are right!
Sorry Ondra... my mistake )
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: pokoy on 2016-05-02, 16:22:56
Glad it helped! The cache behavior is not ideal and can be super tedious with quick tests if the flow is complicated.
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: Rotem on 2016-05-02, 16:57:44
with mParticles you're better off using the baking functionality of the mpWorld object, I find it more efficient and stable.
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: cecofuli on 2016-05-02, 17:03:36
Rotem, can you explain me better? It sound s interesting...  =)
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: Rotem on 2016-05-02, 17:31:37
I'm referring to this box in the mpWorld object.
Title: Re: Particle flow and "Cache Disk" parsing bug?
Post by: cecofuli on 2016-05-02, 17:35:48
Ohhh.. I didn't know this little button...
I was used to PF Cache operator! Thanks so much for your suggestion!