#include "colors.inc" #include "textures.inc" //#include "vector.inc" #local Esize = 50; light_source { < 110, 0, 0> color Gray75 } light_source { <-100, 0, 0> color Gray75 } light_source { <0, 100, 0> color Gray75 } light_source { <0, -100, 0> color Gray75 } light_source { <0, 0, 100> color Gray75 } light_source { <0, 0, -100> color Gray75 } plane { z, Esize*2 pigment { Red } rotate<75,-45,0>translate <0,-40,0>} camera{ location <30,5,30> look_at<0,-Esize,0> } camera{ location look_at<0,-Esize*2,0> } //camera{ location look_at<0,0,0> } camera{ location look_at<0,-Esize,0> } // GOOD camera{ location look_at<0,-Esize,0> } // GOOD //camera{ location look_at<0,-Esize,0> } // BAD-problem blob { threshold 0.9 ///0.9 #local dm = 0.5; #local rm= 1.36; // 1.36 #local um = Esize/80; // body of symbol - or the horns sphere{ <0,0,0> Esize*2, 2 } sphere{ < Esize*dm,um,0>, Esize*rm, -1 } sphere{ <-Esize*dm,um,0>, Esize*rm, -1 } #local T=Esize/8; sphere{ <0,-Esize*0.35,0>, T*1.9, -1.2 scale <2,1,1>} sphere{ <0,-Esize*0.45,0>, T*1.9, 1.2 scale <2,1,1>} sphere{ <0,-Esize*0.80,0>, T*1.9, -1 scale <2,0.8,1>} // top cap - to flatten top sphere{ <0,-Esize*0.375,0>, T, -10 scale <2,1,1>} // spike // cylinder{ <0,-Esize/2,0>,<0,-Esize*3,0> T , 10 scale <2,1,1>} // sphere{ <0,-Esize*3,0>, T*15, -10 } cylinder{ <0,-Esize/2,0>,<0,-Esize*2.8,0> T , 10 scale <2,1,1>} sphere{ <0,-Esize*3.4,0>, T*15, -10 } /* #local T=1.95; // gold nail threshold 0.9 ///0.9 sphere{ <0,0,0>, 1, -10 } cylinder{ <0,0,0>,<0,-T,0> 1, 1 } sphere{ <0,-T,0>, 1, -1 } */ #include "metals.inc" texture{ T_Copper_3C } scale <0.5,1,1> no_shadow }