Ray-Sphere intersections are working, no lighting/shading/materials/reflectance
git-svn-id: svn://anubis/fart/trunk@43 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
bd12e9798f
commit
801f61f48c
@ -73,7 +73,7 @@ void Scene::load(const char * filename)
|
|||||||
{
|
{
|
||||||
/* TODO: parse file somehow */
|
/* TODO: parse file somehow */
|
||||||
Shape * shape = new Sphere(1.0);
|
Shape * shape = new Sphere(1.0);
|
||||||
m_transform.translate(2.0, 4.0, 1.0);
|
m_transform.translate(1.0, 5.0, 0.5);
|
||||||
shape->setTransform(m_transform);
|
shape->setTransform(m_transform);
|
||||||
m_shapes.push_back(shape);
|
m_shapes.push_back(shape);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user