POV-Ray : Newsgroups : povray.binaries.animations : Fairies? Server Time
4 Nov 2024 21:21:06 EST (-0500)
  Fairies? (Message 1 to 10 of 17)  
Goto Latest 10 Messages Next 7 Messages >>>
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

Goto Latest 10 Messages Next 7 Messages >>>

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