POV-Ray : Newsgroups : povray.advanced-users : VRand_On_Object? : Re: VRand_On_Object? Server Time
29 Jul 2024 14:17:36 EDT (-0400)
  Re: VRand_On_Object?  
From: Slime
Date: 14 Feb 2002 10:28:22
Message: <3c6bd796$1@news.povray.org>
If you can define the object with a function (like an isosurface), you could
use VRand_In_Box to sample random points in the object's bounding box until
you find a point where the function returns a value very close to zero
(closer to zero is closer to the surface, but if you accept numbers farther
from zero it will work faster).

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


Post a reply to this message

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