|
|
I tried the fixed prism, but that doesn't work for me. The lathe works fine, but
with the prism, I only see nothing. Thats my code:
#version 3.7; // 3.7
global_settings{assumed_gamma 1.0}
#default{ finish{ ambient 0.2 diffuse 0.9 }}
#default{pigment{rgb <0.800, 0.800, 0.800>}}
//------------------------------------------
#include "colors.inc"
#include "textures.inc"
//------------------------------------------
// camera ----------------------------------
#declare CamUp = < 0, 0, 1>;
#declare CamRight = <1.33, 0, 0>;
#declare CamRotation = <-35.264390534, 1.9538003485e-05, 45.0000026303>;
#declare CamPosition = <17.0710754395, -7.07106590271, 17.0710659027>;
camera {
location <0, 0, 0>
direction < 0, 1, 0>
up CamUp
right CamRight
rotate CamRotation
translate CamPosition
angle 57.82
}
// sun -------------------------------------
light_source { <17.0710754395, -7.07106590271, 17.0710659027> color rgb<0.5,
0.5, 0.5> }
// background ------------------------------
sky_sphere {
pigment {
gradient z
color_map {
[ 0.00 color rgb<0.098, 0.667, 0.067> ]
[ 0.30 color rgb<0.098, 0.667, 0.067> ]
[ 0.50 color rgb<0.576, 0.000, 0.000> ]
[ 0.70 color rgb<0.200, 0.200, 0.396> ]
[ 1.00 color rgb<0.200, 0.200, 0.396> ]
}
scale 2
translate -1
rotate<-35.264390534, 1.9538003485e-05, 45.0000026303>
}
}
//------------------------------------------
// objects in scene ------------------------
prism {
bezier_spline
0,.2,8,
<2.00, 1.00>, <1.00, 1.50>, <3.00, 3.50>, <2.00, 4.00>
<2.00, 4.00>, <3.00, 4.50>, <1.00, 6.50>,<2.00, 7.00>
pigment { color rgbt<0.4,0.2,1,.5>}
finish { ambient 1 }
}
/*
lathe {
bezier_spline
8
<2.00, 1.00>, <1.00, 1.50>, <3.00, 3.50>, <2.00, 4.00>
<2.00, 4.00>, <3.00, 4.50>, <1.00, 6.50>,<2.00, 7.00>
pigment { color rgbt<0.4,0.2,1,.5>}
finish { ambient 1 }
}*/
Thanks in advance!
Post a reply to this message
|
|