kts
|
561c33f092
|
Updated VS project. Added a _WIN32 ifdef and typedefs for uint32_t and uint8_t due to Windows not including inttypes.h.
|
2015-02-24 17:18:40 -08:00 |
kts
|
b19f0bb727
|
Updated Linux build, forgot to set v_flags to opengl/resizable. Core now calls updateProjection for each camera and setView for each camera's RenderView on window resize. This functionality will be moved elsewhere, as we do not necessarily want to resize the view or the camera to the entire window.
|
2015-02-24 17:11:52 -08:00 |
kts
|
a0eeec21b2
|
Much added. Basic asset access functions using fopen() techniques. Currently the system attempts to load from the CWD on most platforms, but on Android it attempts to load from the assets archive. Once updated, it will likely attempt to load from at least 3 locations before falling back to the built-in application assets (external device, user directory, application data directory). Creation/Loading of RtB is now managed by a Core class. This class is, to some extent, a service locator combined with larger engine functionality. A global instance of the class is provided as 'core'. It is responsible for updating the yet-to-be-added States, the base rendering, and the management of assets and much more.
|
2015-02-24 16:55:11 -08:00 |
kts
|
adcf6cd1b5
|
Added test chest model and basic model rendering shader. Mesh now builds normals buffer along with uv and vp. Added Quaternion class, currently used for RenderObject's rotation matrix generation - needs to be added to RenderCamera. RenderScene now accomplishes what its name implies - the rendering of a scene. Some logic needs to be moved into Program from RenderScene's doRender function.
|
2015-02-23 02:49:52 -08:00 |
kts
|
07cecebad0
|
Added a single comment. That is all.
|
2015-02-22 00:14:48 -08:00 |
kts
|
b7e867fbf2
|
Updates VS project. Replaced snprintf with std::ostringstream in Program::attachTexture. Added RenderCamera functionality for orientation and position. Much more to be added, but likely need to implement the State machine so majority of the program logic is complete.
|
2015-02-21 05:53:40 -08:00 |
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 |