Scene not really run when set frame by python?


I’ve made a simple pop particle system,transfrom unifrom scale=1.001 to make particle move.

and I run this in text dat

for n in range(100):
    me.time.frame =n
    p = op("particle1")
    print("F:", n)
    print("P:", p.point("P", 0))

I suppose it will output 100 different position.

but it just outputing 100 same position

Hi @ssswww

before going deeper, what is the intention to run a loop like this from a Text DAT?

cheers
Markus

Thanks for reply

I am making particle animation on a volumetric led matrix.For better result,sometimes it need to be render over 100 times on 1 frame,and my computer is not powerful enough to run it on realtime,so I try to render it to some video or image sequence as cache.

It works fine when I just move translate of noise to make animation,but I got trouble when I try to use the Target Feedback Loop POP

Hi @ssswww

Recording a movie without frame drops can be done in non-realtime by turning off the Realtime flag at the top of the user interface.

cheers
Markus