POV-Ray : Newsgroups : povray.binaries.animations : Its disco time! Server Time
1 Jul 2024 03:10:26 EDT (-0400)
  Its disco time! (Message 1 to 8 of 8)  
From: DJ Wiza
Subject: Its disco time!
Date: 16 Apr 2006 17:31:44
Message: <4442b7c0@news.povray.org>
Just playing around here.  Made a disco ball by intersecting a bunch of 
planes then made two spotlights pointing at it and shooting a ton of 
photons.

The only problem with it is that in order to get caustics to show up 
with more facets on the ball is to set an insanely high photon count. 
Otherwise, the walls just get some brighter, but still very dim, patches 
  of light, rather than the bright spots.

-DJ


Post a reply to this message


Attachments:
Download 'disco.m1v.mpg' (184 KB)

From: Slime
Subject: Re: Its disco time!
Date: 16 Apr 2006 18:00:55
Message: <4442be97@news.povray.org>
Nice.

A while ago I did something similar, but instead of relying on photons
(which have the problem you mention with large numbers of facets), I
manually calculated the shapes of the reflected rays. The beams of light are
meshes filled with media, and the lights on the floor are actually polygons.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'discoslime.gif' (650 KB)

Preview of image 'discoslime.gif'
discoslime.gif


 

From: DJ Wiza
Subject: Re: Its disco time!
Date: 16 Apr 2006 19:05:09
Message: <4442cda5$1@news.povray.org>
I'm considering doing something like that.  I was going to run a trace() 
from each facet to the box making the room, but I was going to create 
the dots on the floor and walls using point lights, though I'm sure 
using polygons is much faster.

Slime wrote:

> Nice.
> 
> A while ago I did something similar, but instead of relying on photons
> (which have the problem you mention with large numbers of facets), I
> manually calculated the shapes of the reflected rays. The beams of light are
> meshes filled with media, and the lights on the floor are actually polygons.
> 
>  - Slime
>  [ http://www.slimeland.com/ ]
> 
> 
>


Post a reply to this message

From: Chris B
Subject: Re: Its disco time!
Date: 16 Apr 2006 19:05:22
Message: <4442cdb2@news.povray.org>
"DJ Wiza" <Kil### [at] sohcahtoanet> wrote in message 
news:4442b7c0@news.povray.org...
> Just playing around here.  Made a disco ball by intersecting a bunch of
> planes then made two spotlights pointing at it and shooting a ton of
> photons.
>
> The only problem with it is that in order to get caustics to show up
> with more facets on the ball is to set an insanely high photon count.
> Otherwise, the walls just get some brighter, but still very dim, patches
>  of light, rather than the bright spots.
>
> -DJ
>

Hi DJ,

Looks good, but I think you got an extra frame in there, so when it loops it 
doesn't loop seamlessly.

Regards,
Chris B.


Post a reply to this message

From: Slime
Subject: Re: Its disco time!
Date: 16 Apr 2006 19:49:25
Message: <4442d805$1@news.povray.org>
> I'm considering doing something like that.  I was going to run a trace()
> from each facet to the box making the room, but I was going to create
> the dots on the floor and walls using point lights, though I'm sure
> using polygons is much faster.

Hmm. The problem with polygons is that you can't easily project them onto
any complex shape (a box shaped room is about as complicated as you can
easily get).

A good solution would probably be: for every light source, for every facet,
create a duplicate light reflected around that facet, using
projected_through on the facet so that the light comes out of it as though
it were reflected from the original light source. Then you can get proper
shadows and lighting on complex surfaces.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Mike Williams
Subject: Re: Its disco time!
Date: 17 Apr 2006 01:13:57
Message: <NFuw+GAHNyQEFwqn@econym.demon.co.uk>
Wasn't it Slime who wrote:
>Nice.
>
>A while ago I did something similar, but instead of relying on photons
>(which have the problem you mention with large numbers of facets), I
>manually calculated the shapes of the reflected rays. The beams of light are
>meshes filled with media, and the lights on the floor are actually polygons.

Your beams seem to rotate at the same speed, as if the ball were a light
source rather than mirrors.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: John VanSickle
Subject: Re: Its disco time!
Date: 17 Apr 2006 23:03:38
Message: <4444570a$1@news.povray.org>
DJ Wiza wrote:

> Just playing around here.  Made a disco ball by intersecting a bunch of 
> planes then made two spotlights pointing at it and shooting a ton of 
> photons.
> 
> The only problem with it is that in order to get caustics to show up 
> with more facets on the ball is to set an insanely high photon count. 
> Otherwise, the walls just get some brighter, but still very dim, patches 
>  of light, rather than the bright spots.

The beauty of a disco ball is that each tiny mirror can be simulated 
with its very own spotlight, the parameters for which can be calculated 
based on the location of the light shining on the ball and the location 
of the little mirror.

Your rendering times will probably go way down.

Regards,
John


Post a reply to this message

From: Slime
Subject: Re: Its disco time!
Date: 18 Apr 2006 23:20:25
Message: <4445ac79@news.povray.org>
> Your beams seem to rotate at the same speed, as if the ball were a light
> source rather than mirrors.

They actually rotate faster than the disco "ball" itself, though it's hard
to see that. If you follow some of the dots of light on the floor, you can
see that they don't stay in the same positions relative to each other.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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