Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: JCdeBlok on 2016-02-25, 13:11:50

Title: CScatter playback performance slowdown
Post by: JCdeBlok on 2016-02-25, 13:11:50
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



 
Title: Re: CScatter playback performance slowdown
Post by: JCdeBlok on 2016-02-25, 13:40:42
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)
Title: Re: CScatter playback performance slowdown
Post by: maru on 2016-02-26, 17:03:18
Note: switching random generator to congruent, or type to "in bounding box" seems to solve the issue.
Title: Re: CScatter playback performance slowdown
Post by: maru on 2016-04-14, 17:45:27
This is fixed in daily builds - just checked. Everyone is welcome to test it though. :)
Title: Re: CScatter playback performance slowdown
Post by: JCdeBlok on 2016-04-18, 14:53:27
nice! :)
Title: Re: CScatter playback performance slowdown
Post by: Ondra on 2016-06-13, 17:11:45
fixed