POV-Ray : Newsgroups : povray.binaries.images : Skip-a-ray SDL raytracer : Re: Skip-a-ray SDL raytracer Server Time
2 Aug 2024 06:17:41 EDT (-0400)
  Re: Skip-a-ray SDL raytracer  
From: Grassblade
Date: 25 Oct 2007 18:05:00
Message: <web.472112e672fb445f45deea430@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote:
> "Grassblade" <nomail@nomail> wrote in message
> news:web.471f9b31e04cdb41654d6f060@news.povray.org...
> >I used the SDL raytracer found in the help file
> > (http://www.povray.org/documentation/view/3.6.1/123/) to refine an idea
> > more or less suggested by Bruno Cabasson.
> > Top picture skips a ray if (square of) distance in colour-space is smaller
> > than an user supplied threshold.
> > Middle pic is the result of the unadulterated SDL raytracer.
> > Bottom pic is the difference of the two.
> > The supplied Skip-a-ray pic requires about 65-70% of the time to render.
>
>
> is this a similar technique as used here:
> http://www.cip.physik.uni-muenchen.de/~wwieser/render/povray/patches/prt-patch/ ?
>
> cu!
> --
> #macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
> sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
> #end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
> _(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com

Yes! Well, not the page you linked to, but this other one is very similar:
http://www.cip.physik.uni-muenchen.de/~wwieser/render/povray/patches-35/ipt-patch/
Except it's needlessly complicated, and potentially introduces big artifacts
as the pics show. I'm disappointed to see the patch is only available on
Unix systems, though. One more reason to download Linux. Someday.


Post a reply to this message

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