POV-Ray : Newsgroups : povray.general : distance pattern ? : Re: distance pattern ? Server Time
18 Nov 2024 21:36:00 EST (-0500)
  Re: distance pattern ?  
From: Warp
Date: 9 Jul 2002 23:20:45
Message: <3d2ba80d@news.povray.org>
Rafal 'Raf256' Maj <raf### [at] raf256com> wrote:
> is this future available in Pov 3.5 and what is it's name ?

  I thought that I made clear that the patch was highly experimental.
  They didn't include highly experimental and incomplete patches to 3.5.

> Well - it should be easy to optimize it :) 
> if you do NOT need information about normal of object, but only of 
> distance, why not add future like

> pixelized {
>   object ...
>   100,100,100
> }

> that will create 100x100x100 bits arrar - informing is some point inside 
> object or not.

  Uh... I didn't understand this at all. What does it help to know if
a point is inside an object or not, when you are calculating the distance
of a point from the surface of the object?

  And besides, insideness test is not a problem (it's required for CSG and
perhaps some other things, and in pov3.5 they even added it to the SDL so
that you can use it in your scenes; it's the inside() function).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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