Skip to content

Commit

Permalink
Update example code to give a finer rendering result.
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsy committed Apr 15, 2015
1 parent 0815472 commit ede34c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/simplept_example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(int argc, char **argv) {
scene.addSphere(Sphere(16.5, Vector3(77.0, 16.5, 78), Color(), Color(0.99, 0.99, 0.99), REFLECTION_REFRACTION)); // Glass ball
scene.addSphere(Sphere(15.0, Vector3(50.0, 90.0, 81.6), Color(36, 36, 36), Color(), REFLECTION_DIFFUSE)); // Light

Renderer renderer(100, 100, 4, 2);
Renderer renderer(256, 256, 16, 4);
renderer.render(scene);

return 0;
Expand Down

0 comments on commit ede34c1

Please sign in to comment.