User:Le Forgeron/vault/RefImgOvus3D

From POV-Wiki
Jump to navigation Jump to search

RefImgOvus3D.png

#include "colors.inc"
#include "golds.inc"
global_settings {
   max_trace_level 10
}


camera {
	 orthographic
   location <0,1,-20>
   right 40*x
   up 10*y
   direction z
   look_at <0,1,0>
  
}


light_source {
   <-100,30,-70>
   rgb 1
}

ovus { 3*1,4*2.5/8 texture { uv_mapping  checker texture { T_Gold_2C }, texture { pigment {Aquamarine}}  scale <1/24,1/12,1> }
	translate <-16,0,0>
} 
sphere { 0,3 texture { pigment { Aquamarine} }
	translate <-6.5,0,0>
}
sphere { <0,3,0>,4*2.5/8 texture {   T_Gold_2C }
	translate <4.5,0,0>
}
#declare cyl=cylinder { -4.5*y,4.5*y,3 };
	torus { 6,7.5 
	texture { pigment { Pink  } }
	//rotate -60*x
	clipped_by {cyl}
		translate <0.0,1,0>
	}
intersection {
ovus { 3*1,4*2.5/8 texture { uv_mapping  checker texture { T_Gold_2C }, texture { pigment {Aquamarine}}  scale <1/24,1/12,1> }
}
plane { -z,0 texture { pigment { Pink }} }
	translate <16,0,0>
	}
intersection {
	merge {
sphere { 0,3 texture { pigment { Aquamarine} }
	translate <16,0,0>
}
sphere { <0,3,0>,4*2.5/8 texture {   T_Gold_2C }
	translate <16,0,0>
}

}
plane { -z,0 } cutaway_textures
translate <0,0,-0.001>
}
union {
text { ttf "verdana.ttf","inacurate lemon " 0.01, 0 pigment { Black } scale 1.1 }
text { ttf "verdana.ttf","& not yet cut" 0.01, 0 pigment { Black } translate -y scale 1.1 }
text { ttf "verdana.ttf","& out of scale" 0.01, 0 pigment { Black } translate -2*y scale 1.1 }
box { <-0.4,-2.7,0.1>,<9.1,1.1,0.1> texture { pigment { White} }}
	translate <2,-1,-4>
	no_shadow no_reflection
}