POV-Ray : Newsgroups : povray.general : distance pattern ? : Re: distance pattern ? Server Time
6 Aug 2024 00:17:44 EDT (-0400)
  Re: distance pattern ?  
From:
Date: 10 Jul 2002 05:11:00
Message: <hstniu4gije9cv8iqg5rdurkrb0gb92vqg@4ax.com>
On 9 Jul 2002 21:17:50 -0400, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> Hi,
> realy couldn't find one thing in manual... there AFAIR was some pattern 
> (used i.e. in media) that value in <x,y,z> was equal to distance beetwen 
> <x,y,z> and some object

For basic primitives this can be realized without internall support. Take a
look at my 'rounded' addition to iso_csg library
(http://www-public.tu-bs.de:8080/~y0013390/pov/ic/). It can be even faster
than internall pattern since it is optimized for shapes and not use rays like
original proximity pattern. It is also accurate unless you not use strange
transformations or complicated CSGs.

For more complicated shapes it can be realized with my
blurred/distance/proximity solution (unfortunatelly final macro is not
finished becouse of bugs I found during betatesting but initial version should
work).

http://news.povray.org/povray.binaries.images/22100/
http://news.povray.org/povray.binaries.images/22745/
http://news.povray.org/povray.text.scene-files/22075/


ABX


Post a reply to this message

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