|
|
// Gilles Tran
#version unofficial Megapov 0.4;
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
// ----------------------------------------
camera
{
location <0.0, 0.5, -4.0>
direction 1.5*z
right 4/3*x
look_at <0.0, 0.0, 0.0>
}
background{color rgb 1}
light_source{<1000,1000,-1000> color rgb 1}
// ----------------------------------------
// text : WHITE letters on BLACK background
#declare hftext=function{pigment{image_map{png "text.png" map_type 1
interpolate 2}}}
isosurface{
function{x*x+y*y+z*z + 0.3 - hftext(x,y,z)*0.3}
contained_by{sphere{0,1}}
eval
max_gradient 150 // <--- important- adjust to your picture
otherwise strange things happen
threshold 1
texture{
onion
texture_map{
[0 T_Silver_1B] // change this because reflection make
long renders
[0.85 T_Silver_1B]
[0.85 T_Gold_2C]
[1 T_Gold_2C]
}
}
rotate y*-65
}
Post a reply to this message
|
|