POV-Ray : Newsgroups : povray.general : Question about Rune's particle system : Re: Question about Rune's particle system Server Time
29 Jul 2024 10:25:05 EDT (-0400)
  Re: Question about Rune's particle system  
From: Stephen
Date: 21 Nov 2011 09:17:37
Message: <4eca5d81@news.povray.org>
Hi Thomas,

particle system again after a long time. So to answer one of your questions.

#macro particle_gravity  (Clock,Point) <0,-1,0> #end

Should be #macro particle_gravity  (Clock,Point) <0,-9.81,0> #end
In the metric system and #macro particle_gravity  (Clock,Point) 
<0,-32,0> #end in our quaint imperial system. If the clock runs from 0 
to 1 you will only get 1 seconds worth of animation so you will need to 
extend the Final_Clock (+KFn.n) to however long you need.

environment settings yet.


On 17/10/2011 8:38 AM, Thomas de Groot wrote:
> Surprisingly, I am unable to make wind and gravity work in Rune's
> particle system. I read and re-read the doc and I seem to follow the
> rules. These are the corresponding lines of code (see also the image in
> p.b.i.):
>
> #declare particle_drag = 10;
> #declare particle_transfer = 1.0;
>
> #macro particle_gravity (Clock,Point) <0,-1,0> #end
> #macro particle_wind (Clock,Point) <10*Clock, 0, 0> #end
>
> So, if Rune, or anybody familiar with the macros can help me, I shall be
> most grateful.
>
> Thomas


-- 
Regards
     Stephen


Post a reply to this message

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