POV-Ray : Newsgroups : povray.binaries.animations : Fairies? Server Time
13 Oct 2026 02:54:14 EDT (-0400)
  Fairies? (Message 1 to 17 of 17)  
From: Rune
Subject: Fairies?
Date: 11 Feb 2001 08:40:54
Message: <3a869666@news.povray.org>
This is something I've wanted to do all since glows first came out. Don't
know why I haven't come around to doing it before, because it was pretty
straightforward and took me only an evening to do (though it can still be
improved).

What do you think?

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message


Attachments:
Download 'fairies.mpg' (98 KB)

From: Marc-Hendrik Bremer
Subject: Re: Fairies?
Date: 11 Feb 2001 09:18:30
Message: <3a869f36@news.povray.org>
Nice effect!
That green one looks really bright. It look s brighter than normal rgb 1. Is
it achieved by just using a glow or are there any secrets involved. If the
later, care to share? ;-)

Marc-Hendrik


Post a reply to this message

From: Bob H 
Subject: Re: Fairies?
Date: 11 Feb 2001 09:36:03
Message: <3a86a353@news.povray.org>
Very cool thing.  Brightness is illusion I'd say.  Does this use the C.C. spray
include, or not?  Or something you came up with maybe?

Bob H.

"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3a869f36@news.povray.org...
> Nice effect!
> That green one looks really bright. It look s brighter than normal rgb 1. Is
> it achieved by just using a glow or are there any secrets involved. If the
> later, care to share? ;-)


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 11 Feb 2001 10:23:44
Message: <3a86ae80@news.povray.org>
"Marc-Hendrik Bremer" wrote:
> Nice effect!

Thanks!

> That green one looks really bright. It look s brighter than normal rgb 1.
> Is it achieved by just using a glow or are there any secrets involved.

Normally monitors are limited in brightness to rgb 1, but I used the new
MPGlow video codex that expands the range of brightness by bending the
cathode ray to shoot more electrons at the brighter parts of the screen. Or,
if you don't buy that, it's just a visual illusion caused by the glows... ;)

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 11 Feb 2001 10:23:46
Message: <3a86ae82$1@news.povray.org>
"Bob H." wrote:
> Very cool thing.

Thanks!

> Does this use the C.C. spray include, or not?

Not. I'm not sure the spray include supports moving emitter-points.

> Or something you came up with maybe?

Yes. It's a simple POV-script particle system (not related to the particle
patch). It creates particles along a moving emitter-point. These particles
have slightly different start-velocity-vectors, and they're all affected by
gravity.

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Tony[B]
Subject: Re: Fairies?
Date: 11 Feb 2001 10:27:39
Message: <3a86af6b@news.povray.org>
"Pretty straightforward"?! I can't even imagine how to do that... Explain...
please.


Post a reply to this message

From: David Wilkinson
Subject: Re: Fairies?
Date: 11 Feb 2001 11:13:08
Message: <gvdd8toacg0gfe4bsr219dkdouktmu7nho@4ax.com>
On Sun, 11 Feb 2001 16:05:35 +0100, "Rune" <run### [at] inamecom> wrote:
>
>Normally monitors are limited in brightness to rgb 1, but I used the new
>MPGlow video codex that expands the range of brightness by bending the
>cathode ray to shoot more electrons at the brighter parts of the screen. 
>
I thought that expansion of the dynamic range of a crt was usually done by
sublimating a quark/positron attractor on to the anode and modulating the sweep
frequency with a uv component.  I may be wrong though.
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 11 Feb 2001 11:35:11
Message: <3a86bf3f@news.povray.org>
"Tony[B]" wrote:
> "Pretty straightforward"?!

Erm, hehe, pretty straightforward to *me* since I've done POV-script
particle systems before, so there was not much new in this one... :D

I'm also sure other's here who have worked with particle systems would think
that this one is nothing special. It looks nice nonetheless.

> I can't even imagine how to do that... Explain...
> please.

Ok, you asked for it. Let's see, where to start...

The core of the particle systems is two arrays, one containing the current
location of each particle and the other containing the last location.
There's also an array for the life of each particle (it goes downwards, and
when it reaches zero the particle dies) and one for the color (yes, all the
particles have slightly different colors).

The same calculations are done over and over again. In each calculation step
all the particles are moved slightly 1) , some particles die 2) and some new
ones are born 3).

1) Each particle is moved by it's current velocity (current location minus
last location) plus gravity. More forces could be added if necessary. The
life is also decreased by an amount.

2) In each calculation-step some particles die (Life goes below 0). It
seemed like I couldn't use #undef with individual array elements, so I set
the color to <0,0,0> instead and detected empty elements that way instead.

3) In each calculation step new particles are also created (they are created
in empty elements). Their initial "last" location is set equal to the
current position of the emitter-point. Their initial "current" location is
the same as the "last", but with some randomness added. The particle is also
given a color (user-defined color plus some randomness) and it's life is
initialised.

For each frame in the animation a number of calculation steps are done.
After the last step for a given frame, the glows are created according to
the latest calculated locations, and after that, file I/O is used to save
the data in a file to make it available to the next frame in the animation.

So you see, it's pretty straightforward! ;)

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Dearmad
Subject: Re: Fairies?
Date: 11 Feb 2001 13:03:24
Message: <3A86D574.8EE725BF@teleport.com>
beautiful- details please!


-- 
Yeah, but ask yourself... why are you really
interested?
http://www.teleport.com/~dearmad


Post a reply to this message

From: Dearmad
Subject: Re: Fairies? [found the details]
Date: 11 Feb 2001 13:07:20
Message: <3A86D660.AD338FDD@teleport.com>
oh here are the details... thanks!!!
-- 
Yeah, but ask yourself... why are you really
interested?
http://www.teleport.com/~dearmad


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Fairies?
Date: 11 Feb 2001 13:18:33
Message: <3a86d779@news.povray.org>
Ok, I don't buy it ;o)  Good to know that such effect can be achieved with
glows.

So little time, so much to try ...

Marc-Hendrik


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 11 Feb 2001 13:55:17
Message: <3a86e015@news.povray.org>
"Dearmad" wrote:
> beautiful

Thanks!

> - details please!

I see you found them. If you need to know more, just ask! :)

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Tony[B]
Subject: Re: Fairies?
Date: 11 Feb 2001 18:10:16
Message: <3a871bd8@news.povray.org>
> Erm, hehe, pretty straightforward to *me* since I've done POV-script
> particle systems before, so there was not much new in this one... :D

Well, that would explain it. :)

> Ok, you asked for it. Let's see, where to start...
> So you see, it's pretty straightforward! ;)

Yup, 'piece of cake'... I can't think like that... :) I wish I could!


Post a reply to this message

From: Andy Cocker
Subject: Re: Fairies?
Date: 11 Feb 2001 19:07:22
Message: <3a87293a@news.povray.org>
Rune, would it be possible for me to see the code that produced this,
please?

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 12 Feb 2001 04:29:24
Message: <3a87acf4@news.povray.org>
"Andy Cocker" wrote:
> Rune, would it be possible for me to see the code that
> produced this, please?

I don't share my messy code as it is now, but if there's any interest I can
make an include file out of this. But right now I'll be away for some days.
I'll be home again Thursday evening. See you!

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Fairies?
Date: 15 Feb 2001 08:33:54
Message: <3A8BD958.9D9B6728@my-dejanews.com>
Rune wrote:

> This is something I've wanted to do all since glows first came out.

I'm assumng you *could not* do this when glows first came out--there was a
restriction against translation, no? Am I correct, and in which versions are
glows now translatable?

Very cool, "magical."


Post a reply to this message

From: Rune
Subject: Re: Fairies?
Date: 15 Feb 2001 13:00:16
Message: <3a8c1930@news.povray.org>
"Greg M. Johnson" wrote:
> I'm assumng you *could not* do this when glows first came
> out--there was a restriction against translation, no?

I'm not using any translations, so I could indeed have done it when glows
first came out. I simply specify the locations.

> Am I correct, and in which versions are glows now translatable?

Dunno.

> Very cool, "magical."

Thanks! "Magical" is what I was going for!

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

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