Commit Graph
12 Commits
Author SHA1 Message Date
yunfeibai b40c9cde96 Add torus shadow render example. 2016-11-29 13:50:49 -08:00
yunfeibai 5fe36ca200 Clean global variables. 2016-11-29 11:11:41 -08:00
yunfeibai 529274a3f4 Render shadow of torus with shadow buffer and index from triangle order. 2016-11-27 15:32:55 -08:00
yunfeibai 29809a4471 Render depth buffer. 2016-11-23 13:00:26 -08:00
yunfeibai 5be4409a1a Render shadow buffer. 2016-11-21 09:13:20 -08:00
erwincoumans 4944aca28b Update our_gl.cpp 2016-09-06 13:26:08 -07:00
Erwin Coumans ceceaa16be make some changes to make the previous example code changes backward compatible 2016-08-12 14:18:46 -07:00
Erwin Coumans 3c30e2f821 add segmentation mask rendering to TinyRenderer and shared memory API
similar to the zbuffer, but storing the object index (int) instead of float depth
2016-08-11 14:55:30 -07:00
erwin coumans 606f78da43 work-in-progress tinyrenderer -> shared memory API synthetic camera image 2016-05-17 23:57:19 -07:00
Erwin Coumans aa9a276a71 fix typo in texels flip
add support to create a cube in TinyRenderer (quick test)
2016-04-28 23:01:49 -07:00
erwin coumans 03bdcc8737 patch TinyRenderer so it software-renders in an OpenGL texture, for testing
fix texture support: flip texture to make OpenGL happy (lower-left is origin)
add path prefix to .obj loader, so materials/textures are loaded ok.
2016-04-26 20:52:52 -07:00
erwin coumans 2cb39e358a add unmodified version of TinyRenderer, a 500 line software renderer with vertex and pixel shaders, texture mapping and Wavefront .obj support. 2016-04-26 20:47:10 -07:00