|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|