added .todo file, commented out hard-coded sample scene
git-svn-id: svn://anubis/fart/trunk@172 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
65c447f85a
commit
adf7997417
7
.todo
Normal file
7
.todo
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FART To-Do List
|
||||||
|
===============
|
||||||
|
- Make verbose default
|
||||||
|
- Recurse for reflection
|
||||||
|
- Continue for transparency
|
||||||
|
- Scan for cameras before scene items
|
||||||
|
- Test subtractions of subtractions
|
@ -15,6 +15,7 @@ void Scene::load(const char * filename)
|
|||||||
refptr<Node> node = parse(filename);
|
refptr<Node> node = parse(filename);
|
||||||
processNode(node);
|
processNode(node);
|
||||||
|
|
||||||
|
#if 0
|
||||||
Transform transform;
|
Transform transform;
|
||||||
|
|
||||||
refptr<Material> m = new Material();
|
refptr<Material> m = new Material();
|
||||||
@ -110,6 +111,7 @@ void Scene::load(const char * filename)
|
|||||||
refptr<Light> light = new PointLight();
|
refptr<Light> light = new PointLight();
|
||||||
light->setPosition(Vector(2, -1, 2));
|
light->setPosition(Vector(2, -1, 2));
|
||||||
m_lights.push_back(light);
|
m_lights.push_back(light);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scene::processNode(refptr<Node> node)
|
void Scene::processNode(refptr<Node> node)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user