|
34428a764d
|
If ray intersects shape, return the shape's color
|
2013-09-08 08:45:13 -07:00 |
|
|
830979fc75
|
First object in Scene objects list is pointed to by scene->objects
|
2013-09-07 21:39:02 -07:00 |
|
|
4e3092eecc
|
Static-ify scene_trace_ray()
|
2013-09-07 21:35:19 -07:00 |
|
|
8df7a5a6a1
|
Add a comment
|
2013-09-07 18:42:36 -07:00 |
|
|
c45331d79d
|
Initial interesection test for ray tracing
|
2013-09-07 18:41:46 -07:00 |
|
|
c06fb87990
|
Add scene_add_object
|
2013-09-07 18:41:33 -07:00 |
|
|
a73cce8dbf
|
Compact declaration of default color in ray trace function
|
2013-09-07 18:26:59 -07:00 |
|
|
b4cc32a196
|
Add ObjectList struct
|
2013-09-07 16:10:50 -07:00 |
|
|
9d6c293cad
|
Set is_rendered flag after scene rendering completes.
|
2013-09-07 16:10:29 -07:00 |
|
|
4e27e4e960
|
Color is three unit8_t's instead of three floats
|
2013-09-06 23:03:25 -07:00 |
|
|
079ae98c9e
|
Add a Ray object; initial bits of the tracer
|
2013-09-06 21:15:56 -07:00 |
|
|
9508b01e10
|
Scenes have a Camera object
|
2013-09-06 19:01:15 -07:00 |
|
|
0377a651f5
|
Fiddle with the scene functions; add scene_load
|
2013-09-06 14:52:03 -07:00 |
|
|
f8806f9fd4
|
Add scene_render() function
|
2013-09-05 22:08:55 -07:00 |
|
|
495d3802e2
|
Some code
- A main()
- A Scene type
- Some functions on Scenes
|
2013-09-05 21:58:58 -07:00 |
|