Compare commits

..

2 Commits

Author SHA1 Message Date
Tonton Th
802a4ab8c2 HexaPole is now a macro 2025-04-25 21:39:34 +02:00
Tonton Th
ffd73e832c add a new texture 2025-04-25 21:38:12 +02:00
3 changed files with 12 additions and 2 deletions

View File

@ -82,7 +82,7 @@ object { Gyros }
#debug " Cabane+Compteur !!!\n" #debug " Cabane+Compteur !!!\n"
#break #break
#case (1) #case (1)
object { HexaPole } object { HexaPole () }
#debug " Hexapole !!!\n" #debug " Hexapole !!!\n"
#break #break
#case (2) #case (2)

View File

@ -102,6 +102,16 @@ finish {
} }
} }
/* ------------------------------------------------------------ */
#declare GoldDark = texture
{
pigment{ rgb <0.81, 0.71, 0.23> }
finish{ diffuse 0.5 ambient 0 specular 1 metallic roughness 0.01
reflection{0.6 metallic}
}
} // This is a metal.
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */
/* /*
* Usefull macros * Usefull macros

View File

@ -19,7 +19,7 @@ difference {
#elseif (Foo < 0.75) #elseif (Foo < 0.75)
texture { T_Chrome_3A } texture { T_Chrome_3A }
#else #else
texture { Flashy } texture { GoldDark }
#end // else #end // else
#undef Foo #undef Foo
} }