|
|
Here you go with a sword!
#declare SPR=0.15
#declare I=-1
#declare SwordHandle=union{
difference{
torus{1,SPR rotate x*90}
box{<-10,0,-10>,10}
}
cone{ x,SPR,< 1,2,0>,0}
cone{-x,SPR,<-1,2,0>,0}
sphere{0,1 scale <0.5,0.7,0.3> translate -y}
cone{-y,SPR*1.5,<-2,-1,0>,0}
cone{-y,SPR*1.5,< 2,-1,0>,0}
union{
#while (I>=-3)
torus{0.15,0.1 translate y*I}
#declare I=I-0.1
#end
scale <1,1,0.5>
}
sphere{-y*3,0.5}
}
#declare SwordBlade=difference{
cone{0,0.6,y*14,0 translate z*0.1}
cone{0,0.6,y*14,0 translate -z*0.1}
scale <0.7,1,0.5>
translate -y
}
#declare Sword=union{
object{SwordHandle texture{T_Gold_4B}}
object{SwordBlade texture{T_Chrome_3B}}
}
Post a reply to this message
|
|