|
|
in news:5c376cc9$1@news.povray.org William F Pokorny wrote:
> It's perhaps worth posting again with the correct spelling of the
> include file
I'll do so later Bill, I also noticed there are some comments missing
here and there.
An example use case,
#version 3.8;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 1 diffuse 0 emission 0}}
#include "gradients.inc"
#include "functions.inc"
camera {
orthographic location <0,0,-1> look_at <0,0,0>
right x*image_width/image_height
}
//==
// Remember the Agfacontour film for equidensitometry? Old Skool.
// Three narrow bands of a pattern
// Pf: a pattern or noise function
// pigment{function{Equidens(x,y,z,f_noise_generator(x,y,z,3))}}
// pigment{function{Equidens(x,y,z,f_wood(x,y,z))}}
#declare Equidens = function(x,y,z,Pf){
G_cubic_pulse(Pf,.2,.05)+
G_cubic_pulse(Pf,.5,.05)+
G_cubic_pulse(Pf,.8,.05)
}
box {
<-.5,-.5,0>, <.5,.5,0>
texture {
pigment {
function{
Equidens(x,y,z,f_wood(x,y,z))
}
color_map {
[0.0 color rgb 0.0 ]
[1.0 color rgb 1.0 ]
}
scale .05
}
}
}
ingo
Post a reply to this message
|
|
|
|
hi,
ingo <ing### [at] tagpovrayorg> wrote:
> An example use case,
improves on the test scene. :-)
you say "30+ functions", but what good can they be to people who, like me, do
not have the maths, without some documentation (and perhaps usage examples)?
regards, jr.
Post a reply to this message
|
|