POV-Ray : Newsgroups : povray.general : help in creating a kaleidescope effect : Re: help in creating a kaleidescope effect Server Time
4 Aug 2024 04:13:18 EDT (-0400)
  Re: help in creating a kaleidescope effect  
From: Hughes, B 
Date: 27 Jul 2003 15:22:26
Message: <3f242672@news.povray.org>
"darrenf" <dar### [at] ukonlinenet> wrote in message
news:web.3f23c4db18cccb436549b3060@news.povray.org...
>
> Can anyone point me in the right direction for creating a kalediescope
> effect in povray?
>
> Any macros or incs or advice much appreciated.

Nothing I know of offhand but it can be done by using intersecting planes
having mirrored surfaces which form a multi-sided tube that the camera looks
through. Same as a real life kaleidoscope does. If there's a macro or other
script showing this it could probably be found in a search of the text or
binaries scene groups. Let me see if I can find one... No, not an example of
script anyway, although I should have a scene file I did long ago someplace
here.

Bob H.

You wouldn't need to see that, really. It's about as simple as:

intersection {
    plane {x,1 rotate 120*z} // sides
    plane {x,1 rotate 240*z}
    plane {x,1 rotate 360*z}
clipped_by {cylinder {0,7*z,2}} // remove excess tubing
texture {pigment {rgb 0} finish {reflection {1,1}}}
rotate 360*clock*z // make it animatable too?
}

// and something to kaleid
sphere {9*z,3 pigment {radial frequency 9} finish {ambient 1}}


Post a reply to this message

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