added Color::operator*=(), added jitter computation to reflectance and transparency recursion, recursing now but there is still a jitter or recursion issue
git-svn-id: svn://anubis/fart/trunk@182 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
1f00625379
commit
e233056880
9 files changed
+71
-22
No files matched your search
+13
-6
@@ -15,12 +15,19 @@ scene
|
||||
up <0, 0, 1>
|
||||
}
|
||||
|
||||
plane { position <1, 0, 0>, 2 }
|
||||
plane { position <-1, 0, 0>, 2 }
|
||||
plane { position <0, 1, 0>, 2 }
|
||||
plane { position <0, -1, 0>, 2 }
|
||||
plane { position <0, 0, 1>, 2 }
|
||||
plane { position <0, 0, -1>, 2 }
|
||||
define material mirror
|
||||
{
|
||||
color <1, 0, 0>
|
||||
specular <0, 0, 0>
|
||||
reflectance 1.0
|
||||
}
|
||||
|
||||
plane { position <1, 0, 0>, 2 material mirror }
|
||||
plane { position <-1, 0, 0>, 2 material mirror }
|
||||
plane { position <0, 1, 0>, 2 material mirror }
|
||||
plane { position <0, -1, 0>, 2 material mirror }
|
||||
plane { position <0, 0, 1>, 2 material mirror }
|
||||
plane { position <0, 0, -1>, 2 material mirror }
|
||||
|
||||
sphere
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user