add a new sequence : cutoff
This commit is contained in:
33
contexte.inc
33
contexte.inc
@@ -156,10 +156,39 @@ texture {
|
||||
#declare Repere = object
|
||||
{
|
||||
union {
|
||||
cylinder { 0, <1, 0, 0>, 0.008 pigment { color Red } }
|
||||
cylinder { 0, <0, 0, 1>, 0.008 pigment { color Blue } }
|
||||
#local R = 0.008;
|
||||
cylinder { 0, <1, 0, 0>, R pigment { color Red } }
|
||||
cylinder { 0, <0, 1, 0>, R pigment { color Green } }
|
||||
cylinder { 0, <0, 0, 1>, R pigment { color Blue } }
|
||||
}
|
||||
}
|
||||
|
||||
#declare OpenBox = object
|
||||
{
|
||||
union {
|
||||
#local R = 0.010;
|
||||
/* les verticales */
|
||||
cylinder { <-1, -1, -1>, <-1, 1, -1>, R }
|
||||
cylinder { < 1, -1, -1>, < 1, 1, -1>, R }
|
||||
cylinder { <-1, -1, 1>, <-1, 1, 1>, R }
|
||||
cylinder { < 1, -1, 1>, < 1, 1, 1>, R }
|
||||
/* en bas */
|
||||
cylinder { < 1, -1, 1>, <-1, -1, 1>, R }
|
||||
cylinder { < 1, -1, -1>, <-1, -1, -1>, R }
|
||||
cylinder { <-1, -1, 1>, <-1, -1, -1>, R }
|
||||
cylinder { < 1, -1, 1>, < 1, -1, -1>, R }
|
||||
|
||||
/* en haut */
|
||||
cylinder { < 1, 1, 1>, <-1, 1, 1>, R }
|
||||
cylinder { < 1, 1, -1>, <-1, 1, -1>, R }
|
||||
cylinder { <-1, 1, 1>, <-1, 1, -1>, R }
|
||||
cylinder { < 1, 1, 1>, < 1, 1, -1>, R }
|
||||
|
||||
#undef R
|
||||
texture { WIP_color }
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare Les_Lumieres = object
|
||||
|
||||
Reference in New Issue
Block a user