diff --git a/chain.png b/chain.png deleted file mode 100644 index c145cce..0000000 Binary files a/chain.png and /dev/null differ diff --git a/chain.pov b/chain.pov index e251fcb..4277f93 100644 --- a/chain.pov +++ b/chain.pov @@ -2,7 +2,7 @@ #include "colors.inc" global_settings { - assumed_gamma 1 + assumed_gamma 1.8 } camera { diff --git a/csgdemo.png b/csgdemo.png deleted file mode 100644 index 22ccd77..0000000 Binary files a/csgdemo.png and /dev/null differ diff --git a/csgdemo.pov b/csgdemo.pov index 7993510..e898021 100644 --- a/csgdemo.pov +++ b/csgdemo.pov @@ -2,7 +2,7 @@ #include "colors.inc" global_settings { - assumed_gamma 1 + assumed_gamma 1.8 } camera { diff --git a/demo.png b/demo.png deleted file mode 100644 index 3d1f0b5..0000000 Binary files a/demo.png and /dev/null differ diff --git a/demo.pov b/demo.pov index 8329b6e..99b04b4 100644 --- a/demo.pov +++ b/demo.pov @@ -3,9 +3,14 @@ #include "colors.inc" #include "stones.inc" + global_settings { + assumed_gamma 1.8 + } + background { rgb < 0.5, 0.5, 0.5 > } camera { + right 1.78*x location <0, 2, -4> look_at <0, 1, 2> } diff --git a/first.png b/first.png deleted file mode 100644 index 511c5dd..0000000 Binary files a/first.png and /dev/null differ diff --git a/first.pov b/first.pov index 8f0c915..26522c4 100644 --- a/first.pov +++ b/first.pov @@ -14,7 +14,7 @@ #version 3.7; global_settings { - assumed_gamma 1.0 + assumed_gamma 1.8 } #include "shapes.inc" diff --git a/focal_demo.pov b/focal_demo.pov new file mode 100644 index 0000000..9ef190c --- /dev/null +++ b/focal_demo.pov @@ -0,0 +1,12 @@ + #version 3.7; + + global_settings { + assumed_gamma 1.8 + } + + camera { + right x*1280/720 + location <-25, -75.1, -60> + look_at 0.1 + angle 30 + } diff --git a/images/chain.png b/images/chain.png new file mode 100644 index 0000000..d0e0599 Binary files /dev/null and b/images/chain.png differ diff --git a/images/csgdemo.png b/images/csgdemo.png new file mode 100644 index 0000000..404b18a Binary files /dev/null and b/images/csgdemo.png differ diff --git a/images/demo.png b/images/demo.png new file mode 100644 index 0000000..e4f02a5 Binary files /dev/null and b/images/demo.png differ diff --git a/images/first.png b/images/first.png new file mode 100644 index 0000000..91196d3 Binary files /dev/null and b/images/first.png differ diff --git a/images/lite_demo.png b/images/lite_demo.png new file mode 100644 index 0000000..5885a65 Binary files /dev/null and b/images/lite_demo.png differ diff --git a/images/noodle.png b/images/noodle.png new file mode 100644 index 0000000..5755679 Binary files /dev/null and b/images/noodle.png differ diff --git a/images/texture_demo.png b/images/texture_demo.png new file mode 100644 index 0000000..6a350b1 Binary files /dev/null and b/images/texture_demo.png differ diff --git a/images/tordemo.png b/images/tordemo.png new file mode 100644 index 0000000..8f0df6a Binary files /dev/null and b/images/tordemo.png differ diff --git a/lite_demo.pov b/lite_demo.pov new file mode 100644 index 0000000..c95ef8f --- /dev/null +++ b/lite_demo.pov @@ -0,0 +1,167 @@ + #version 3.7; + #include "colors.inc" + #include "textures.inc" + + global_settings { + assumed_gamma 1.8 + // ambient_light White + } + + camera { + // right x*1280/720 + right 1.78*x + location <-4, 3, -12> + look_at 0 + angle 48 + } + + + #declare spots = union { + light_source { <0, 10, -3> + color White + spotlight + radius 15 + falloff 18 + tightness 10 + point_at 0 + } + + light_source { <10, 10, -1> + color Red + spotlight + radius 12 + falloff 14 + tightness 10 + point_at <2, 0, 0> + } + + light_source { <-12, 10, -1> + color Blue + spotlight + radius 12 + falloff 14 + tightness 10 + point_at <-2, 0, 0> + } + } + + + #declare spot_area = union { + light_source { <2, 10, -3> + color White + spotlight + radius 15 + falloff 18 + tightness 10 + area_light <1, 0, 0>, <0, 0, 1>, 2, 2 + adaptive 1 + jitter + point_at 0 + } + light_source { <10,10,-1> + color Red + spotlight + radius 12 + falloff 14 + tightness 10 + area_light <1,0,0>, <0,0,1>, 2,2 + adaptive 1 + jitter + point_at <2,0,0> + } + light_source { <-12,10,-1> + color Blue + spotlight + radius 12 + falloff 14 + tightness 10 + area_light <1,0,0>, <0,0,1>, 2,2 + adaptive 1 + jitter + point_at <-2,0,0> + } + } + +// spots +// spot_area + + #declare light_bulb = union { + merge { + sphere { <0,0,0>,1 } + cylinder { + <0,0,1>, <0,0,0>, 1 + scale <0.35, 0.35, 1.0> + translate 0.5*z + } + texture { + pigment {color rgb <1, 1, 1>} + finish {ambient .8 diffuse .6} + } + } + cylinder { + <0,0,1>, <0,0,0>, 1 + scale <0.4, 0.4, 0.5> + texture { Brass_Texture } + translate 1.5*z + } + rotate -90*x + scale .5 + } + + light_source { <0, 2.2, 0> + color White + area_light <1, 0, 0>, <0, 1, 0>, 2, 2 + adaptive 1 + jitter + looks_like { light_bulb } + } + + light_source { <0, 20, 0> + color Gray75 + fade_distance 10 + fade_power 2 + shadowless + } + +//////////////// +// objects + plane { + y, -1 + texture { + pigment { + checker + color rgb<0.5, 0, 0> + color rgb<0, 0.5, 0.5> + } + finish { + diffuse 0.4 + ambient 0.2 + phong 1 + phong_size 100 + reflection 0.25 + } + } + } + torus { + 1.5, 0.5 + texture { Brown_Agate } + rotate <90, 160, 0> + translate <-1, 1, 3> + } + box { + <-1, -1, -1>, <1, 1, 1> + texture { DMFLightOak } + translate <2, 0, 2.3> + } + cone { + <0,1,0>, 0, <0,0,0>, 1 + texture { PinkAlabaster } + scale <1, 3, 1> + translate <-2, -1, -1> + } + sphere { + <0,0,0>,1 + texture { Sapphire_Agate } + translate <1.5, 0, -2> + } + diff --git a/noodle.pov b/noodle.pov new file mode 100644 index 0000000..9cbf255 --- /dev/null +++ b/noodle.pov @@ -0,0 +1,49 @@ + #version 3.7; + #include "colors.inc" + + global_settings { + assumed_gamma 1.8 + } + + camera { + right x*1280/720 + location <0, 0, -15> + look_at 0 + angle 0 + } + + background { color Gray30 } + light_source { <300, 300, -1000> White } + + + // #declare crosshair = merge { + // } + // object { crosshair } + + + #declare half_tor = difference { + torus { + 4, 1 + rotate x*-90 + translate < 4, 0, 0 > + } + box { <-10, -10, -2>, <10, 0, 2> } + pigment { Green } + } + #declare tor_trans = 8; // twice the major radius + + #declare flip_it = 180*x; + + #declare noodle = union { + object { half_tor } + object { half_tor + rotate flip_it + translate x*tor_trans + } + } + + object { + noodle + scale .6 + } + diff --git a/povray.ini b/povray.ini index b4447cb..d4ffaf6 100644 --- a/povray.ini +++ b/povray.ini @@ -57,6 +57,7 @@ Verbose=On Library_Path="/usr/local/Cellar/povray/3.7.0.0/share/povray-3.7" Library_Path="/usr/local/Cellar/povray/3.7.0.0/share/povray-3.7/ini" Library_Path="/usr/local/Cellar/povray/3.7.0.0/share/povray-3.7/include" +Library_Path="./inc" ;; File output type control. ;; T Uncompressed Targa-24 @@ -67,7 +68,12 @@ Library_Path="/usr/local/Cellar/povray/3.7.0.0/share/povray-3.7/include" Output_to_File=true Output_File_Type=N16 ;; (+/-Ftype) +Output_File_Name=./images/ -+A +Dither=true +Dither_Method=B4 + +Antialias=true +Sampling_Method=2 diff --git a/texture_demo.pov b/texture_demo.pov new file mode 100644 index 0000000..f9b186a --- /dev/null +++ b/texture_demo.pov @@ -0,0 +1,59 @@ + #version 3.7; + #include "colors.inc" + + global_settings { + assumed_gamma 1.8 + } + + camera { + right 1.78*x + location <0, 0, -6> + look_at <0, 1, 0> + angle 0 + } + + + #declare area_lamp = light_source { <0, 15, 0> + color White + area_light <6,0,0>, <0,0,6>, 3, 3 + adaptive 1 + jitter + } + area_lamp + + +// sphere { +// <-3, 1, 2>, 2 +// texture { +// pigment { +// wood +// color_map { +// [0.1 color DarkTan] +// [0.9 color DarkBrown] +// [1.0 color VeryDarkBrown] +// } +// turbulence 0.05 +// scale <0.2, 0.3, 1> +// } +// normal { bumps 0.1 scale 0.2 } +// finish { phong 0.65 } +// } +// } + + + sphere { + <0, 1, 2>, 2 + texture { + pigment { + wood + color_map { + [0.0 color Red] + [0.5 color Green] + [1.0 color Blue] + } + turbulence 0.08 + scale 3 + } + finish { phong 1 } + } + } diff --git a/tordemo.png b/tordemo.png deleted file mode 100644 index fd1a66a..0000000 Binary files a/tordemo.png and /dev/null differ diff --git a/tordemo.pov b/tordemo.pov index 686fb9e..baec0ce 100644 --- a/tordemo.pov +++ b/tordemo.pov @@ -1,5 +1,8 @@ #include "colors.inc" + global_settings { + assumed_gamma 1.8 + } camera { location <0, .1, -75> look_at 0.1