Author Topic: CScatter playback performance slowdown  (Read 3092 times)

2016-02-25, 13:11:50

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
Playback/scrubbing is severely slowed down by scatter object even when not visible and nothing animated.

0) create plane+ teapot and scrub timeline, playback / scrubing timeline is fast.
1) create scene with 100k instanced teapots on a plane
2) Set scatter's diplaymode to 'none' and make sure nothing is animated
3) observe how navigating the scene is very fast but.. is has very slow playback/scrubbing
4) Set scatter's enable to false and observe playback is fast again.

So look like CScatter is internally updating things on everyframe when it's not required?

As a temp work around use this in pre/post render scripts:

pre-render:
for obj in objects where classof obj == Cscatter do obj.enable=true

post render:
for obj in objects where classof obj == Cscatter do obj.enable=false



 

2016-02-25, 13:40:42
Reply #1

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
mmm somehow the mxs enabling/disabling messes up the checkbox.. after a while it's inverted so checking it disables it, uncheck make it work.. weird

(saving/reset/loading the scene fixes it again)

2016-02-26, 17:03:18
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13698
  • Marcin
    • View Profile
Note: switching random generator to congruent, or type to "in bounding box" seems to solve the issue.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-04-14, 17:45:27
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13698
  • Marcin
    • View Profile
This is fixed in daily builds - just checked. Everyone is welcome to test it though. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-04-18, 14:53:27
Reply #4

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile

2016-06-13, 17:11:45
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
fixed
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)