POV-Ray : Newsgroups : povray.general : random distribution in an object : Re: random distribution in an object Server Time
4 Nov 2024 21:24:39 EST (-0500)
  Re: random distribution in an object  
From: Christoph Hormann
Date: 12 Sep 2003 03:27:27
Message: <07c831-ia7.ln1@triton.schunter.etc.tu-bs.de>
Rohan Bernett wrote:
> I'd like to randomly position some objects inside an isosurface, but I have
> no idea as to how to do it. Can anyone help me? Also, would it be possible
> to extend this to an arbitary object?

Have a look at the inside() function.  It works for all objects ith well 
defined inside and outside (like isosurfaces)

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 17 Jun. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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