POV-Ray : Newsgroups : povray.general : Rune particle system Server Time
2 Nov 2024 09:17:36 EDT (-0400)
  Rune particle system (Message 1 to 3 of 3)  
From: SharkD
Subject: Rune particle system
Date: 24 Aug 2009 15:30:22
Message: <4a92ea4e$1@news.povray.org>
I am having problems with Rune's particle system. The particle macros 
use the clock in the chronological sense of passing time, whereas I am 
using the clock simply to rotate the camera and want time to stand 
still. This obviously produces a conflict.

My question is, how do I "freeze" the particles so that they don't 
change as the clock value increases? I've tried changing the 
"particle_start" and "particle_end" parameters so that they are equal, 
but this causes the particles to not appear at all. Is there a way to 
override the clock?

Thanks.


Post a reply to this message

From: Warp
Subject: Re: Rune particle system
Date: 24 Aug 2009 16:02:40
Message: <4a92f1e0@news.povray.org>
SharkD <mik### [at] gmailcom> wrote:
> I am having problems with Rune's particle system. The particle macros 
> use the clock in the chronological sense of passing time, whereas I am 
> using the clock simply to rotate the camera and want time to stand 
> still. This obviously produces a conflict.

> My question is, how do I "freeze" the particles so that they don't 
> change as the clock value increases? I've tried changing the 
> "particle_start" and "particle_end" parameters so that they are equal, 
> but this causes the particles to not appear at all. Is there a way to 
> override the clock?

  If nothing else works, you could go and replace all instances of 'clock'
with eg. 'PSClock' and then add this to the beginning of the include:

#ifndef(PSClock)
  #define PSClock = clock;
#end

  Then you can override PSClock with your own value from the outside.

-- 
                                                          - Warp


Post a reply to this message

From: SharkD
Subject: Re: Rune particle system
Date: 24 Aug 2009 23:16:59
Message: <4a9357ab$1@news.povray.org>
Warp wrote:
> SharkD <mik### [at] gmailcom> wrote:
>> I am having problems with Rune's particle system. The particle macros 
>> use the clock in the chronological sense of passing time, whereas I am 
>> using the clock simply to rotate the camera and want time to stand 
>> still. This obviously produces a conflict.
> 
>> My question is, how do I "freeze" the particles so that they don't 
>> change as the clock value increases? I've tried changing the 
>> "particle_start" and "particle_end" parameters so that they are equal, 
>> but this causes the particles to not appear at all. Is there a way to 
>> override the clock?
> 
>   If nothing else works, you could go and replace all instances of 'clock'
> with eg. 'PSClock' and then add this to the beginning of the include:
> 
> #ifndef(PSClock)
>   #define PSClock = clock;
> #end
> 
>   Then you can override PSClock with your own value from the outside.
> 

Thanks. It ended up being because I didn't read the docs properly. You 
can set the clock value in the INI settings.

-Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.