big commit, a lot of small adjustemnst
This commit is contained in:
17
trident.inc
17
trident.inc
@@ -4,7 +4,10 @@
|
||||
// ------------------------------------------------------
|
||||
#declare Trid_cone = object
|
||||
{
|
||||
cone { 0, R_basecone, y*0.89, 0.0001 }
|
||||
merge {
|
||||
cone { 0, R_basecone, y*0.89, 0.0001 }
|
||||
sphere { 0, R_basecone }
|
||||
}
|
||||
}
|
||||
|
||||
#macro Trid_A_cone ()
|
||||
@@ -12,14 +15,10 @@ difference {
|
||||
object { Trid_cone }
|
||||
object { Trid_cone translate -y*0.001 }
|
||||
#local Foo = rand(Rng1);
|
||||
#if (Foo < 0.25)
|
||||
texture { T_Brass_2C }
|
||||
#elseif (Foo < 0.50)
|
||||
texture { T_Chrome_2C }
|
||||
#elseif (Foo < 0.75)
|
||||
texture { T_Chrome_3A }
|
||||
#else
|
||||
texture { GoldDark }
|
||||
#if (Foo < 0.25) texture { T_Brass_2C }
|
||||
#elseif (Foo < 0.50) texture { T_Chrome_2C }
|
||||
#elseif (Foo < 0.75) texture { T_Chrome_3A }
|
||||
#else texture { GoldDark }
|
||||
#end // else
|
||||
#undef Foo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user