|
|
thx jellby, btw, nice sig. ure right, they are solid... unless u turn on
filter, in which case only the part affected by the difference is solid
(see below). still a problem, but it does let us overlay text etc then. so
now only one question left, how do u change the thickness of the walls, so
that u could, for example, cut a hole in one side of a cup and have it
appear [thickness] at the top (and therefore from <0,10,0>. any ideas other
than john's? (his still doesnt get rid of the 'solidness' (notice quotes
warp) ie, we couldnt do cutaways very well. i still think it would be great
if 3.6 had a thickness modifier built in.
//start file 1
#include "colors.inc"
#include "woods.inc"
#include "glass.inc"
#declare T_Wood9 =
texture { pigment { P_WoodGrain9A color_map { M_Wood9A }}}
texture { pigment { P_WoodGrain9B color_map { M_Wood9B }}}
background{White}
camera {
angle 10
location <1, 4, -30>
look_at <0, 1, 0>
}
light_source {
<20, 20, -40> color White
}
difference{ lathe {
cubic_spline
8,
<0,-.5>, <0,-.5>, <1,-.5>, <.4,-.25>, <.2,0>,<1,1>, <1,2>, <.7,2.3>
texture{
pigment {color rgbf <.4, .4, 1, .87>}}
finish {
F_Glass8
phong .75
reflection 0
}
} box{ <0,0,0>, <4,1,-4> pigment {Green}}}
plane {<0,1,0>, -.5 texture {T_Wood9 scale<3,3,3>} finish{ reflection 0 }
}//end file 1
Post a reply to this message
|
|