POV-Ray : Newsgroups : povray.newusers : Question noise3d Server Time
27 Nov 2024 08:06:49 EST (-0500)
  Question noise3d (Message 1 to 3 of 3)  
From: HFrik
Subject: Question noise3d
Date: 23 Feb 2003 05:46:25
Message: <3e58a681@news.povray.org>
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.

syntax:

isosurface {

function {(x*x+y*y+z*z-1) + noise3d(x,y,z)} 

threshold 0 

contained_by { box { -1, 1 } }

texture {

T_Stone23 scale <0.35, 0.35, 1.0>} 

translate <-0.5,0,-0.5>

scale <5,1.75,5>

finish { Shiny } 

normal { wrinkles 0.001 scale .02 }

normal { bumps 0.01 }

}

Maybe you know the answer.

H.Frik


Post a reply to this message


Attachments:
Download 'iso-8859-1' (1 KB)

From: hughes, b 
Subject: Re: Question noise3d
Date: 23 Feb 2003 06:48:19
Message: <3e58b503@news.povray.org>
"HFrik" <fri### [at] zonnetnl> wrote in message news:3e58a681@news.povray.org...

> 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.
>
> Maybe you know the answer.

Hi there, yes, wrong syntax. It's f_noise3d(x,y,z), and hopefully you are
using a #include "functions.inc" before the isosurface. I think you might be
trying to do it the way MegaPOV had done it before version 3.5 of POV-Ray.

Bob


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Question noise3d
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.