Difference between revisions of "User:Le Forgeron/vault/RefImgOvus3D"
< User:Le Forgeron | vault
Jump to navigation
Jump to search
Le Forgeron (talk | contribs) (Created page with "File:RefImgOvus3D.png <source lang="pov"> #include "colors.inc" #include "woods.inc" #include "stones.inc" camera { location <1,6,-4> look_at 0 } plane { y,0 pigment { ...") |
Le Forgeron (talk | contribs) (change citrus for lemon (right term)) |
||
| Line 1: | Line 1: | ||
[[File:RefImgOvus3D.png]] | [[File:RefImgOvus3D.png]] | ||
| + | <source lang="pov> | ||
| + | |||
| + | #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 | ||
| + | } | ||
| + | |||
| + | </source> | ||
| + | |||
<source lang="pov"> | <source lang="pov"> | ||
Revision as of 19:02, 5 May 2016
#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
}
#include "colors.inc"
#include "woods.inc"
#include "stones.inc"
camera { location <1,6,-4> look_at 0 }
plane
{ y,0
pigment { square
}
// finish { ambient 1 }
}
light_source{ <0,100,-100> color rgb <1,1,1> }
sphere{ <0,2,0>,1
texture{ square
texture{ T_Wood1 }
texture{ T_Wood2 }
texture{ T_Wood4 }
texture{ T_Wood8 }
rotate<90,0,0>
scale 0.25
}
}
cone { <0,1,-2>,1,<0,3,-2>,0
pigment{ square
pigment { Aquamarine }
pigment { Turquoise }
pigment { Sienna }
pigment { SkyBlue }
//rotate <45,0,0>
scale 0.1
}
}
cylinder { <3,1,0>,<3,3,0>,1
texture { square
texture { T_Stone16 }
texture { pigment { Aquamarine } }
texture { T_Stone21 }
texture { pigment { Aquamarine } }
rotate <120,30,10>
scale 1/3
}
}
box { <-3,1,-1>,<-2,2,1>
texture { pigment { square
pigment { Red }
pigment { Blue }
pigment { Green }
pigment { Yellow }
rotate <60,30,70>
scale 1/12
}
}
}
