teatime or beer ?

This commit is contained in:
le vieux
2021-03-15 17:29:35 +01:00
parent c53aa92319
commit 395d648c9d
23 changed files with 97 additions and 122 deletions

View File

@@ -6,6 +6,8 @@
#include "woods.inc"
// -----------------------------------------------------------------
#declare Poteau_0 = object
{
union
@@ -37,8 +39,8 @@ texture
union
{
cylinder { <0, 0, 0>, <0, 20, 0>, 0.42 }
cone { <0, 20, 0>, 0.64, <0, 23, 0>, 0.21 }
cylinder { <-2, 19, 0>, <2, 19, 0>, 0.20 }
cone { <0, 20, 0>, 0.64, <0, 21, 0>, 0.21 }
cylinder { <-4, 19, 0>, <4, 19, 0>, 0.20 }
}
texture { T_Wood12 rotate x*90 scale 3 }
}

View File

@@ -7,19 +7,22 @@
*
*/
//-----------------------------------------------------------------
#declare Corps_Grande_Roue = object
{
difference {
union {
cylinder { <-1, 0, 0>, <1, 0, 0>, 4 }
cylinder { <-0.5, 0, 0>, <0, 0, 0>, 4.3 }
cylinder { <-0.5, 0, 0>, <-0.3, 0, 0>, 4.3 }
}
cylinder { <-1.2, 0, 0> <-0.6, 0, 0>, 2.8 }
cylinder { < 1.2, 0, 0> < 0.6, 0, 0>, 3.2 }
#declare foo = 0;
#while (foo < 360)
#declare xx = sin(radians(foo))*2.0;
#declare yy = cos(radians(foo))*2.0;
#local R = 2.2;
#declare xx = sin(radians(foo))*R;
#declare yy = cos(radians(foo))*R;
cylinder { <-2, xx, yy>, <2, xx, yy>, 0.56 }
@@ -27,16 +30,19 @@ difference {
#end
}
translate y*4
pigment { color LightSteelBlue }
finish { phong 0.7 }
texture {
pigment { color LightSteelBlue }
finish { phong 0.7 }
}
}
//-----------------------------------------------------------------
#declare Corps_Petite_Roue = object
{
difference {
union {
cylinder { < 0, 0, 0>, <1, 0, 0>, 3 }
// cylinder { < 0, 0, 0>, <1, 0, 0>, 3 }
cylinder { <-1, 0, 0>, <0, 0, 0>, 3.3 }
}
cylinder { <-1.4, 0, 0> <-0.6, 0, 0>, 1.7 }
@@ -52,9 +58,11 @@ difference {
#declare foo = foo + 36;
#end
}
translate y*3
pigment { color LightSteelBlue }
finish { phong 0.7 }
translate y*3 /* why ??? */
texture {
pigment { color LightSteelBlue }
finish { phong 0.6 }
}
}
#declare Moyeu = object
@@ -118,11 +126,11 @@ texture {
#declare Chassis_Boogie = object
{
union {
box { <-3.85, 0, -3>, <3.85, 2, 3> }
cylinder { <0, 1, 0>, <0, 4, 0>, 2 }
box { <-3.85, 0, -3>, <3.85, 1.6, 3> }
cylinder { <0, 1, 0>, <0, 4, 0>, 1.5 }
}
translate y*2
pigment { color Blue }
pigment { color Gray30 }
}
#declare Boogie = object
@@ -133,7 +141,7 @@ union
object { Petite_Roue scale <-1, 1, 1> translate <-5.5, 0, -3.5> }
object { Petite_Roue translate < 5.5, 0, -3.5> }
object { Petite_Roue scale <-1, 1, 1> translate <-5.5, 0, 3.5> }
object { Petite_Roue translate < 5.5, 0, 3.5> }
// object { Petite_Roue translate < 5.5, 0, 3.5> }
}
}