POV-Ray : Newsgroups : povray.general : Question about Rune's particle system Server Time
26 Nov 2024 03:52:23 EST (-0500)
  Question about Rune's particle system (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Thomas de Groot
Subject: Question about Rune's particle system
Date: 17 Oct 2011 03:38:02
Message: <4e9bdb5a$1@news.povray.org>
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


Post a reply to this message

From: TawnyOwl
Subject: Re: Question about Rune's particle system
Date: 11 Nov 2011 15:25:00
Message: <web.4ebd8382710b99c0150c086a0@news.povray.org>
Thomas de Groot <tenDOTlnDOTretniATtoorgedDOTt> 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

Hi Thomas,

I see that you have no answers so far. I cannot answer so fast since Rune's
system seems to be far away from the particle system I programmed in java for my
diploma some years ago. My system was only an input for statistical
condiderations and I lost the code due to a headcrash unfortunately. But I will
investigate this issue further (when time allows) and have a solution hopefully.
This is a very interesting program.

Regards,
Michael


Post a reply to this message

From: TawnyOwl
Subject: Re: Question about Rune's particle system
Date: 11 Nov 2011 16:50:01
Message: <web.4ebd975d710b99c0150c086a0@news.povray.org>
I forget to request a thing. I rendered the example scene from Rune with your
settings and yielded an error due to an unknown identifier #IND. Was this your
problem?

This stands for an overflow in a float value (infinity). If POV (or Visual C++
which is used to programm POV, I cannot judge at the moment which of the both
caused that error) gets a value to high to represent in a float it will produce
such an output in a text file. Since Rune's particle system writes its output to
file and included it the next round (round means not frame, he has several
"rounds" during one frame), it reads this representation of infinity and POV
cannot interpret it. The first remedy to your problem seems to be: Don't go for
a hurricane which blows a hole in the entire earth. Try a value lower then 6 for
particle_drag. I yielded this error at a value near 6.25 with Runes smoke-scene.
And to your convenience: I have not found a contradiction to your settings in
the manuals of Rune.

Regards,
Michael


Post a reply to this message

From: Thomas de Groot
Subject: Re: Question about Rune's particle system
Date: 12 Nov 2011 03:29:48
Message: <4ebe2e7c$1@news.povray.org>
On 11-11-2011 21:20, TawnyOwl wrote:
>
> Hi Thomas,
>
> I see that you have no answers so far. I cannot answer so fast since Rune's
> system seems to be far away from the particle system I programmed in java for my
> diploma some years ago. My system was only an input for statistical
> condiderations and I lost the code due to a headcrash unfortunately. But I will
> investigate this issue further (when time allows) and have a solution hopefully.
> This is a very interesting program.
>

Thanks Michael,

I have abandoned for the time being but will get back to this shortly. 
My problem was not an error message but the inability to create a smoke 
trail responding to my input, especially wind. I am sure it is due to my 
misunderstanding of something essential...

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Question about Rune's particle system
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

From: Thomas de Groot
Subject: Re: Question about Rune's particle system
Date: 27 Nov 2011 07:36:03
Message: <4ed22eb3$1@news.povray.org>
On 21-11-2011 15:17, Stephen wrote:
> 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.

Frankly, I don't know what went wrong because now everything works as 
expected and with identical settings. Very strange indeed...

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Question about Rune's particle system
Date: 27 Nov 2011 08:17:50
Message: <4ed2387e@news.povray.org>
On 27/11/2011 12:36 PM, Thomas de Groot wrote:
> Frankly, I don't know what went wrong because now everything works as
> expected and with identical settings. Very strange indeed...


And beat it when it glitches.
It only does it to annoy
Because it knows it itches.

With apologies to Lewis Carroll.


-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Question about Rune's particle system
Date: 27 Nov 2011 10:20:03
Message: <4ed25523$1@news.povray.org>
On 27-11-2011 14:17, Stephen wrote:
> On 27/11/2011 12:36 PM, Thomas de Groot wrote:
>> Frankly, I don't know what went wrong because now everything works as
>> expected and with identical settings. Very strange indeed...
>

> And beat it when it glitches.
> It only does it to annoy
> Because it knows it itches.
>
> With apologies to Lewis Carroll.
>
>

Wow! wow! wow!   :-)

There are none better than Lewis Carroll for this.

Twinkle, twinkle, little bit
How I wonder what you did!
Back behind the screen you glitch
Until I - to off - you switch.      [ouch! this is really crooked]

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Question about Rune's particle system
Date: 27 Nov 2011 11:10:49
Message: <4ed26109@news.povray.org>
On 27/11/2011 3:20 PM, Thomas de Groot wrote:
> Wow! wow! wow! :-)
>

LOL I've been saying that for more years than I care to remember.

> There are none better than Lewis Carroll for this.

Edward Lear and Ogden Nash have a good go, too.
>
> Twinkle, twinkle, little bit
> How I wonder what you did!
> Back behind the screen you glitch
> Until I - to off - you switch.      [ouch! this is really crooked]

Don't you mean:

     Twinkle, twinkle, little bat!
     How I wonder what you're at!
     Up above the world you fly,
     Like an iso-surface in the sky.

You know that you have been Poving too long when...

-- 
Regards
     Stephen


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Question about Rune's particle system
Date: 27 Nov 2011 19:51:13
Message: <4ed2db01@news.povray.org>
Stephen wrote:

> You know that you have been Poving too long when...

Definitely needs more keywords ;)

wrinkles, wrinkles, ior,
now I render what you are,
up above, not bounded_by,
looks_like photons in the sky.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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