|
![](/i/fill.gif) |
I'm trying to make a small round wooden table. I seem made the base too
tall because I used intersection. this is my test code only. here's the
code:
#include "colors.inc"
background {color White}
light_source{
0*x
color White*1.1
area_light
<8,0,0> <0,0,8>
8, 8
adaptive 0
jitter
translate <40,180,40>
}
camera {
location <0,0,11>
look_at 0
angle 40
}
union {
intersection{
// Capped Cylinder, closed [or open ended]
// cylinder { <END1>, <END2>, RADIUS [open] }
// END1 = coord of one end of cylinder
// END2 = coord of other end
// RADIUS = size of cylinder
// open = if present, cylinder is hollow, else capped
cylinder
{
0*y, .5*y, 4
// open
}
// Capped Cylinder, closed [or open ended]
// cylinder { <END1>, <END2>, RADIUS [open] }
// END1 = coord of one end of cylinder
// END2 = coord of other end
// RADIUS = size of cylinder
// open = if present, cylinder is hollow, else capped
cylinder
{
0*y, 1.5*y, .5
// open
}
}
texture {
pigment {color Blue}
}
}
My second question is: how do I model a winged-back chair? can I model it
just using code? I ask this because I'm disabled.
Wade
Post a reply to this message
|
![](/i/fill.gif) |