|
|
#version 3.7;
global_settings {assumed_gamma 1.0}
#include "colors.inc"
#include "textures.inc"
camera {
location <0, 5, -10>
look_at <0, 5, 0>
right x*image_width/image_height
up y
}
light_source {<20, 50, -100> White shadowless}
light_source {<0, 5, -1> White shadowless}
#declare F = function {z - (cos(x*4*pi)*0.5)/x}
isosurface { // ------------------------------------------------------------
function{
abs(F (x, y, z))-0.1
}
threshold 0
//accuracy 0.0000000001
max_gradient 4
contained_by {box {<0.01,-1.5,-1>, < 3.01, 1.5, 3>}}
//open
texture{ pigment{ color rgb<0.8,1,0.0>}
finish { phong 1}
}
scale <1, 1, 1>
rotate <80, 0, 0>
translate < 0, 5, 0>
} // end of isosurface -----------------------------------------------------
Post a reply to this message
|
|