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) m (change citrus for lemon (right term)) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
<source lang="pov"> | <source lang="pov"> | ||
#include "colors.inc" | #include "colors.inc" | ||
− | #include " | + | #include "golds.inc" |
− | + | global_settings { | |
− | camera { location <1 | + | 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> |
Latest revision as of 19:04, 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
}