// ==== includes standards ==== #include "colors.inc" // -- realisation d'une table #declare plateau = box { <0, 0, 0>,<10, 0.5, 8> } #declare pied = box { <0, 0, 0>, <0.5, 5, 0.5> } // la table union { object { plateau translate y*5 } object { pied } object { pied translate <10-0.5 , 0, 0> } object { pied translate <10-0.5 , 0, 8-0.5> } object { pied translate <0 , 0, 8-0.5> } } |
![]() |
// realisation d'une demie sphère creuse #declare boulle = sphere { <0, 0, 0>, 3 pigment { Aquamarine } } //la coupe difference { object { boulle } object { boulle pigment { MandarinOrange } translate y*0.1} translate <0, 3, 0> } |
![]() |
// réalisation d'u #declare ampoule_r = merge { object { tube } object { bout translate y*4 } finish { specular 0.3 } } #declare ampoule_b = union { object { tube } object { bout translate y*4 } finish { specular 0.3 } } |
![]() |
sommaire |
formes simples |
surface de l'objet |