clean up and tut progress

This commit is contained in:
Mark Moser 2014-02-03 20:32:32 -06:00
parent 367b8d03d9
commit 32b1458047
23 changed files with 305 additions and 4 deletions

BIN
chain.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

View File

@ -2,7 +2,7 @@
#include "colors.inc"
global_settings {
assumed_gamma 1
assumed_gamma 1.8
}
camera {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

View File

@ -2,7 +2,7 @@
#include "colors.inc"
global_settings {
assumed_gamma 1
assumed_gamma 1.8
}
camera {

BIN
demo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

View File

@ -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>
}

BIN
first.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

View File

@ -14,7 +14,7 @@
#version 3.7;
global_settings {
assumed_gamma 1.0
assumed_gamma 1.8
}
#include "shapes.inc"

12
focal_demo.pov Normal file
View File

@ -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
}

BIN
images/chain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
images/csgdemo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

BIN
images/demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
images/first.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

BIN
images/lite_demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 KiB

BIN
images/noodle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
images/texture_demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
images/tordemo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

167
lite_demo.pov Normal file
View File

@ -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>
}

49
noodle.pov Normal file
View File

@ -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
}

View File

@ -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

59
texture_demo.pov Normal file
View File

@ -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 }
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

View File

@ -1,5 +1,8 @@
#include "colors.inc"
global_settings {
assumed_gamma 1.8
}
camera {
location <0, .1, -75>
look_at 0.1