Author Topic: Particle flow and "Cache Disk" parsing bug?  (Read 4703 times)

2016-05-02, 02:41:24

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
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.
« Last Edit: 2016-05-02, 03:07:30 by cecofuli »

2016-05-02, 09:59:17
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
can you upload the scene, and also try another renderer to make sure it is a problem just in Corona?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-05-02, 11:27:42
Reply #2

pokoy

  • Active Users
  • **
  • Posts: 1883
    • View Profile
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.

2016-05-02, 15:47:49
Reply #3

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com

2016-05-02, 16:22:56
Reply #4

pokoy

  • Active Users
  • **
  • Posts: 1883
    • View Profile
Glad it helped! The cache behavior is not ideal and can be super tedious with quick tests if the flow is complicated.

2016-05-02, 16:57:44
Reply #5

Rotem

  • Active Users
  • **
  • Posts: 64
    • View Profile
with mParticles you're better off using the baking functionality of the mpWorld object, I find it more efficient and stable.

2016-05-02, 17:03:36
Reply #6

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com

2016-05-02, 17:31:37
Reply #7

Rotem

  • Active Users
  • **
  • Posts: 64
    • View Profile
I'm referring to this box in the mpWorld object.

2016-05-02, 17:35:48
Reply #8

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com
Ohhh.. I didn't know this little button...
I was used to PF Cache operator! Thanks so much for your suggestion!