cinnaboot
2ebbf895ea
replace assimp dependancy with TinyGLTF
5 years ago
cinnaboot
33cf7fdbed
replace block nonsense with arena allocator
5 years ago
cinnaboot
43bdfeed0c
get linear memory allocation working
...
In hindsight, this was a dumb idea. I basically made a binary file
format with headers pointing to offsets in the memory block. It would be
easier carve up the memory block for arrays of data structures with
pointers to other arrays of (eg. glm::vec3), like a normal arena
allocator. On the plus side, I think I came up with a new anti-pattern.
5 years ago
cinnaboot
036f66f0bb
remove note about extension detection
5 years ago
cinnaboot
ff0a676349
add note about GL_DEBUG_OUTPUT detection
5 years ago
cinnaboot
33ae53ecb4
work on making multiple render_groups actually usable
5 years ago
cinnaboot
44acbc91cd
add aspect ratio option to cameraInitPerspective()
5 years ago
cinnaboot
e412f21c7e
add simple SDL input handling and callbacks
5 years ago
cinnaboot
6be56bc532
expose SDL_Handles struct
5 years ago
cinnaboot
787234c969
add option to build a recent version of assimp
...
fixes bug on fedora 33 where the default assimp version doesn't support
glTF2
5 years ago
cinnaboot
5de92d3f1e
add option to pass SDL init flags to renInit()
6 years ago
cinnaboot
a05a546193
add option to pass SDL init flags to renInint()
6 years ago
cinnaboot
14f2763d8c
forget to invert frametime from framerate
6 years ago
cinnaboot
37f8ad93d4
check for nullptr when freeing simple mesh
6 years ago
cinnaboot
81cb24a2d8
don't forget to free meshes and shaders
6 years ago
cinnaboot
c18bd7b51b
re-add world_transform
6 years ago
cinnaboot
5f21f1eb46
combine code paths for render_objects
6 years ago
cinnaboot
db54b4b635
prepare codepath for default meshes/shaders
6 years ago
cinnaboot
e7f80875d2
make SDL_Handles an opaque pointer for render_state
6 years ago
cinnaboot
e828f2fc05
re-order render group loop... boop
6 years ago
cinnaboot
b7e6f5af21
add simple mesh, render object, and shader types
6 years ago
cinnaboot
e598a58e2e
add renDoRenderLoop interface
6 years ago
cinnaboot
7e9af05a7b
move init/shutdown assimp to rendererInit/shutdown
6 years ago
cinnaboot
0027ae04fa
unbreak lights
6 years ago
cinnaboot
fce30650ad
break lighting
6 years ago
cinnaboot
89a9a78e2a
clean up shader initialization
6 years ago
cinnaboot
dd22aa6d3d
add render_object cleanup
6 years ago
cinnaboot
62d78c4765
re-add draw calls for new renderer structure
6 years ago
cinnaboot
47b6bbdb9a
add options to renInit()
6 years ago
cinnaboot
6ca8cfff2b
add renAllocateGroup()
6 years ago
cinnaboot
58ff019a54
hey, we can compile again
6 years ago
cinnaboot
3fa874c981
breaking everything to reorganize render_groups
6 years ago
cinnaboot
2ffeeaf780
remove unused render_groups, and add SDL shutdown
6 years ago
cinnaboot
d3e6dc1eba
poking at renderer interface in assimp_loading example
6 years ago
cinnaboot
3dd798b88d
break out createWindow to new function in renderer
6 years ago
cinnaboot
b62c29bd53
forgot to remove palette_id from render_state
6 years ago
cinnaboot
1db49532f3
remove default palette texture
6 years ago
cinnaboot
e588d897a3
move default shaders into a source file
6 years ago
cinnaboot
b2d98a4d36
breakup giant renInit function
6 years ago
cinnaboot
44c07b7ab8
initial commit
...
new file: .gitignore
new file: .gitmodules
new file: Makefile
new file: README.txt
new file: examples/Makefile
new file: examples/main.cpp
new file: ext/stb_libs
new file: include/camera.h
new file: include/dumbLog.h
new file: include/entity.h
new file: include/mesh.h
new file: include/platform_wait_for_vblank.h
new file: include/render_group.h
new file: include/renderer.h
new file: include/util.h
new file: src/camera.cpp
new file: src/dumbLog.cpp
new file: src/entity.cpp
new file: src/mesh.cpp
new file: src/render_group.cpp
new file: src/renderer.cpp
new file: src/util.cpp
6 years ago