POV-Ray : Newsgroups : povray.newusers : Question noise3d : Re: Question noise3d Server Time
4 Nov 2024 17:34:06 EST (-0500)
  Re: Question noise3d  
From: Tor Olav Kristensen
Date: 23 Feb 2003 09:10:04
Message: <web.3e58d5f23ffce00b417814a0@news.povray.org>
HFrik wrote:
>Hello,
>
>In this part of a text file there is a yellow line in:
>
>function {(x*x+y*y+z*z-1) + noise3d(x,y,z)},
>
>the noise3d seems not to be working.
....

Since Bob has already answered your question,
I'll only suggest that you write f_sphere(x,y,z,1)
instead of (x*x+y*y+z*z-1). This is a built in
function that will evaluate faster.

More info can be found in 7.7.2 Internal Functions:

http://www.povray.org/documentation/view/244/#f_sphere


Tor Olav


Post a reply to this message

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