Commit Graph

15 Commits (082828465c12a3c39f798029582534c0fe0a103f)

Author SHA1 Message Date
kts 082828465c Added Program class - it is responsible for loading and compiling GLSL shaders into a GLSL program. Much to be changed in regards to its functionality, especially Variable/Texture-related access. Rendering to FBO and displaying via a framebuffer shader works. 2015-02-20 19:48:24 -08:00
kts 8b11fd78f3 Re-added VAO code to mesh building, hopefully to no error. 2015-02-13 15:12:26 -08:00
kts f8758111dc Updated android, ios, and osx projects. Hopefully nothing is broken. 2015-02-12 07:40:40 -08:00
kts 9ab5b42752 Added common checks for GLEW on Windows, need to fix and add other systems. Added LOG_INFO to logging, ERROR logs show SDL message box, and pointing logHook to a function taking 2 const char* params will call said function on log. Added Mesh type that can load an OBJ mesh and build OpenGL vbo/vao. Can also build from passed vertices, uv, and normal arrays. RenderCamera updated. RenderObject updated with Mesh member. RenderScene updated with basic rendering system set (renderTo(RenderView*)). RenderView now creates framebuffers and should be working. RenderView also relies on a Mesh that should generally be a quad, but is not necessarily (it uses a Mesh). 2015-02-12 05:48:10 -08:00
kts 28d93f69d3 Updated linux Makefile. 2015-02-11 02:31:21 -08:00
kts f7acf3c219 Added a basic Logging system. Currently calls SDL_ShowSimpleMessageBox(...). 2015-02-11 01:58:43 -08:00
kts 30d4b87298 Updated ios and osx projects. Added some RenderCamera logic to RenderScene. Also added some basic code to main to test Render* functionality before the State machine is implemented. 2015-02-10 21:44:05 -08:00
kts 1fa87fb90f Imported Mat4 class from CC. 2015-02-10 05:34:58 -08:00
kts 66eb0364b3 Updated VS and added Vec2/Vec3/Vec3 classes from CC project. Also added RenderObject skeleton. 2015-02-10 04:50:31 -08:00
kts 710712f8c1 Moved GL.hpp to a common.hpp. common.hpp provides includes for SDL2 and OpenGL(ES) and should be included in any file that wishes to access types or functionality provided by either. 2015-02-10 01:09:39 -08:00
kts 47ca485855 Added RenderScene and RenderSet class skeletons. Also updated VS project. 2015-02-09 21:32:27 -08:00
kts 4d05013cdc Added RenderCamera and RenderView class skeletons. Also added a common GL header file. 2015-02-09 18:29:12 -08:00
kts 3a2d9e3dcb Basic Linux make build environment. DRequires some modification to work on a fresh system -- instructions to be added at a later date. 2015-02-04 16:56:01 -08:00
kts b81a275456 Added working Visual Studio Express 2012 project file. 2015-02-04 16:28:22 -08:00
kts 750791f823 Initial commit of RtB skeleton. ios, osx, and android build environments exist and successfully compile, presuming a fully functional SDL2 build environment. Documentation on getting such an environment set up will be forthcoming. 2015-02-04 15:26:15 -08:00