|
|
@9cd92ae
|
5 years |
dmitry.portnoy |
Update TODO and remove some unused files
feature/imgui-sdl
points-test
|
|
|
@88ebdc8
|
5 years |
dmitry.portnoy |
Update new-game.cpp to use a header-only version of stb_image
feature/imgui-sdl
points-test
|
|
|
@b373466
|
6 years |
dmitry.portnoy |
Undo tweaks to badFunc
feature/imgui-sdl
points-test
|
|
|
@6abfd07
|
6 years |
dmitry.portnoy |
Create a log with a stack-trace when the game crashes
feature/imgui-sdl
points-test
|
|
|
@a23fc08
|
6 years |
dmitry.portnoy |
Move several functions from new-game.cpp to utils.cpp
feature/imgui-sdl
points-test
|
|
|
@98f06d9
|
6 years |
dmitry.portnoy |
Add support for ofstream to logger.cpp
feature/imgui-sdl
points-test
|
|
|
@d9b6a1c
|
6 years |
dmitry.portnoy |
Print a stack trace in the event of a crash. Currently, the code for …
feature/imgui-sdl
points-test
|
|
|
@caa2359
|
6 years |
dmp1488 |
Fix some logging code errors
feature/imgui-sdl
points-test
|
|
|
@bae0911
|
6 years |
dmitry.portnoy |
Update logging code to send all errors to the log file as well as the …
feature/imgui-sdl
points-test
|
|
|
@155a7cf
|
6 years |
dmitry.portnoy |
Replace printf with cout and cerr in new-game.cpp and logger.cpp
feature/imgui-sdl
points-test
|
|
|
@e6bc0f4
|
6 years |
dmitry.portnoy |
Add a callback for the window resize event
feature/imgui-sdl
points-test
|
|
|
@c55614a
|
6 years |
dmitry.portnoy |
CHange the code that copies object data into the OpenGL buffers into …
feature/imgui-sdl
points-test
|
|
|
@7e10667
|
6 years |
dmitry.portnoy |
Finish switching to the new model group rendering algorithm for …
feature/imgui-sdl
points-test
|
|
|
@dc19a39
|
6 years |
dmitry.portnoy |
Make explosion objects use the global model mat uniform buffer and a …
feature/imgui-sdl
points-test
|
|
|
@f97e638
|
6 years |
dmitry.portnoy |
Remove all the generic vbos
feature/imgui-sdl
points-test
|
|
|
@14e6918
|
6 years |
dmitry.portnoy |
Switch to the new model group rendering algorithm for TYPE_ASTEROID objects
feature/imgui-sdl
points-test
|
|
|
@a9d191a
|
6 years |
dmitry.portnoy |
Fix the buffer resizing algorithm for model groups (this fixes the …
feature/imgui-sdl
points-test
|
|
|
@c4c205e
|
6 years |
dmitry.portnoy |
Add a debug console to the game that displays program variable values
feature/imgui-sdl
points-test
|
|
|
@a926b79
|
6 years |
dmitry.portnoy |
For TYPE_SHIP objects, switch to using vbos specific to the model …
feature/imgui-sdl
points-test
|
|
|
@b05e2b5
|
6 years |
dmitry.portnoy |
Initialize the explosion shader vertex attributes using the new …
feature/imgui-sdl
points-test
|
|
|
@de53394
|
6 years |
dmitry.portnoy |
Move the generation of the explosion shader vbos to where all the …
feature/imgui-sdl
points-test
|
|
|
@b220f78
|
6 years |
dmitry.portnoy |
Create an overloaded version of bindUniformData that takes the data as …
feature/imgui-sdl
points-test
|
|
|
@49db5fc
|
6 years |
dmitry.portnoy |
Add support for uniform attributes in a ShaderModelGroup
feature/imgui-sdl
points-test
|
|
|
@a0eb547
|
6 years |
dmitry.portnoy |
Create an AttribInfo array for each ShaderModelGroup to support …
feature/imgui-sdl
points-test
|
|
|
@dd9771c
|
6 years |
dmp1488 |
Remove SceneObject.shader_program and use the object type to get the …
feature/imgui-sdl
points-test
|
|
|
@b62c109
|
6 years |
dmp1488 |
Use a ShaderModelGroup for the lasers amd remove BufferInfo.vbo_offset …
feature/imgui-sdl
points-test
|
|
|
@4c7cd57
|
6 years |
dmp1488 |
Use a ShaderModelGroup for the ship
feature/imgui-sdl
points-test
|
|
|
@0414306
|
6 years |
dmp1488 |
Create a map of ShaderModelGroups and use it for asteroids and explosions
feature/imgui-sdl
points-test
|
|
|
@7a55b49
|
6 years |
dmp1488 |
Create the ShaderModelGroup struct and start moving info required for …
feature/imgui-sdl
points-test
|
|
|
@ae0c7f4
|
6 years |
dmp1488 |
Merge branch 'WIP' of medievaltech.com:opengl-game into WIP
feature/imgui-sdl
points-test
|
|
|
@39ac76d
|
6 years |
dmp1488 |
Remove some unused code and rename some variables to more descriptive names
feature/imgui-sdl
points-test
|
|
|
@646f3f2
|
6 years |
dmp1488 |
Make explosions render correctly whenever a ship is destroyed.
feature/imgui-sdl
points-test
|
|
|
@bebfd5c
|
6 years |
dmp1488 |
WIP continued
feature/imgui-sdl
points-test
|
|
|
@c5fb958
|
6 years |
dmp1488 |
WIP
feature/imgui-sdl
points-test
|
|
|
@fe5e3ca
|
6 years |
dmitry.portnoy |
Apply the model, view, and projection matrices to explosions
feature/imgui-sdl
points-test
|
|
|
@8fbd34f
|
6 years |
dmitry.portnoy |
Create a work-around for the OSX Sierra vsync issue
feature/imgui-sdl
points-test
|
|
|
@adb104f
|
6 years |
dmp1488 |
Make the explosion shader only emit particles for a short time instead …
feature/imgui-sdl
points-test
|
|
|
@db06984
|
6 years |
dmp1488 |
Create a particle system that will later be used to render exploding …
feature/imgui-sdl
points-test
|
|
|
@e1eec78
|
6 years |
dmp1488 |
Finish resolving merge conflict
feature/imgui-sdl
points-test
|
|
|
@3d96d13
|
6 years |
dmp1488 |
Merge branch 'master' of medievaltech.com:opengl-game
feature/imgui-sdl
points-test
|
|
|
@1e3dddf
|
6 years |
dmp1488 |
Display an actual score, which gets incremented every time the player …
feature/imgui-sdl
points-test
|
|
|
@446e55d
|
6 years |
dmitry.portnoy |
Fix the OpenGL version issue on OSX by making it only request an …
feature/imgui-sdl
points-test
|
|
|
@8e8aed6
|
6 years |
dmp1488 |
Fix some g++ compiler warnings
feature/imgui-sdl
points-test
|
|
|
@25b47d7
|
6 years |
dmp1488 |
Correctly send the hp of each asteroid to the shader using a uniform …
feature/imgui-sdl
points-test
|
|
|
@0e0f851
|
6 years |
dmp1488 |
Add a dedicated shader for asteroids, add an OpenGL debug callback, …
feature/imgui-sdl
points-test
|
|
|
@2b0214c
|
6 years |
dmp1488 |
-Comment out the code for showing selected objects in a different …
feature/imgui-sdl
points-test
|
|
|
@1f3d32b
|
6 years |
dmp1488 |
-Dynamically allocate SceneObjectsto make it easier to support …
feature/imgui-sdl
points-test
|
|
|
@e9347b4
|
6 years |
dmp1488 |
Implement an algorithm to find the closest object in a laser's path …
feature/imgui-sdl
points-test
|
|
|
@612d1f6
|
6 years |
dmp1488 |
As a laser moves, update its rotation so it always faces the camera.
feature/imgui-sdl
points-test
|
|
|
@fabed35
|
6 years |
dmp1488 |
Make the left and right lasers fire while the Z and X keys are held …
feature/imgui-sdl
points-test
|
|
|
@8316333
|
6 years |
dmp1488 |
Refactor the scene object creation functions, make the initial two …
feature/imgui-sdl
points-test
|
|
|
@3effd81
|
6 years |
dmp1488 |
Change addLaserToScene() to position the laser between the correct …
feature/imgui-sdl
points-test
|
|
|
@fd6f465
|
6 years |
dmp1488 |
Change the laser rendering algorithm to draw lasers starting from the …
feature/imgui-sdl
points-test
|
|
|
@9f9f9a7
|
6 years |
dmp1488 |
Improve the laser rendering algorithm by using a translucent white …
feature/imgui-sdl
points-test
|
|
|
@6877ef3
|
6 years |
dmp1488 |
Finish integrating lasers into the object rendering pipeline and …
feature/imgui-sdl
points-test
|
|
|
@92b1e90
|
6 years |
dmp1488 |
Add a type field to SceneObject and mostly integrate lasers into the …
feature/imgui-sdl
points-test
|
|
|
@b155f13
|
6 years |
dmp1488 |
WIP: Start writing code for rendering lasers
feature/imgui-sdl
points-test
|
|
|
@ebaa95c
|
6 years |
dmp1488 |
Fix the logic for checking when asteroids leave the viewable scene area.
feature/imgui-sdl
points-test
|
|
|
@95595de
|
6 years |
dmp1488 |
Update each object's bounding center as the object moves, and remove …
feature/imgui-sdl
points-test
|
|
|
@3d06b4e
|
6 years |
dmp1488 |
Calculate the bounding box for each object
feature/imgui-sdl
points-test
|
|
|
@dba67b2
|
6 years |
dmp1488 |
Update the project to GLM 0.9.9, add the README to the Visual Studio …
feature/imgui-sdl
points-test
|
|
|
@5527206
|
6 years |
dmp1488 |
Add a random number generating function and continuously spawn …
feature/imgui-sdl
points-test
|
|
|
@c94a699
|
6 years |
dmp1488 |
Fix rendering of textured objects
feature/imgui-sdl
points-test
|
|
|
@c3c3158
|
6 years |
dmp1488 |
Allow objects to be added to the scene after the graphics buffers are …
feature/imgui-sdl
points-test
|
|
|
@8d5e67b
|
6 years |
dmp1488 |
Modify the scene to have the asteroids come out of the top edge of the …
feature/imgui-sdl
points-test
|
|
|
@cf2d1e5
|
6 years |
dmp1488 |
-Stop rendering the triangle and square
-Place the player ship at the …
feature/imgui-sdl
points-test
|
|
|
@20e0020
|
7 years |
dmp1488 |
Finish building the player ship model and scale and rotate it correctly.
feature/imgui-sdl
points-test
|
|
|
@81f28c0
|
7 years |
dmp1488 |
Begin creating a simple model for the player's ship.
feature/imgui-sdl
points-test
|
|
|
@809ce16
|
7 years |
dmp1488 |
Add the ability to tilt the camera up or down with arrow keys. Moving …
feature/imgui-sdl
points-test
|
|
|
@5c403fe
|
7 years |
dmp1488 |
Change the SceneObject definition to include a base model matrix and a …
feature/imgui-sdl
points-test
|
|
|
@f7d35da
|
7 years |
dmp1488 |
Add a system to keep track of which keys are pressed or held down and …
feature/imgui-sdl
points-test
|
|
|
@0d5c100
|
7 years |
dmp1488 |
Create a populateBuffers() function to encapsulate populating all the …
feature/imgui-sdl
points-test
|
|
|
@e3ca955
|
7 years |
dmp1488 |
Change the rendering algorithm to draw the selected objects, then draw …
feature/imgui-sdl
points-test
|
|
|
@f9a242b
|
7 years |
dmp1488 |
Create addObjectToScene function to automate some aspects of …
feature/imgui-sdl
points-test
|
|
|
@4f3262f
|
7 years |
dmp1488 |
Move all function definitions in new-game.cpp after main.
feature/imgui-sdl
points-test
|
|
|
@14ff67c
|
7 years |
dmp1488 |
Use uniform buffers to store model matrices and add constants to …
feature/imgui-sdl
points-test
|
|
|
@e165b85
|
7 years |
dmp1488 |
Start incorporating UBOs
feature/imgui-sdl
points-test
|
|
|
@cffca4d
|
7 years |
dmp1488 |
Change the rendering for colored objects by drawing selected and …
feature/imgui-sdl
points-test
|
|
|
@93462c6
|
7 years |
dmp1488 |
-Create State and Event enums
-Create the main menu and game states …
feature/imgui-sdl
points-test
|
|
|
@f0cc877
|
7 years |
dmp1488 |
Add code to create a fullscreen window, which will be used to create …
feature/imgui-sdl
points-test
|
|
|
@5b3462b
|
7 years |
dmp1488 |
Implement a basic gui with a stats window and a menubar containing a …
feature/imgui-sdl
points-test
|
|
|
@1c81bf0
|
7 years |
dmp1488 |
Remove imgui_example.cpp from the Visual Studio project and add …
feature/imgui-sdl
points-test
|
|
|
@c1ca5b5
|
7 years |
dmp1488 |
Show the example ImGui gui in the OpenGL game.
feature/imgui-sdl
points-test
|
|
|
@4e0b82b
|
7 years |
dmp1488 |
Add an ImGui example project
feature/imgui-sdl
points-test
|
|
|
@9f4986b
|
7 years |
dmp1488 |
Change the square's selected color to a darker blue-green
feature/imgui-sdl
points-test
|
|
|
@9dd2eb7
|
7 years |
dmp1488 |
Implement Phong shading in the color and texture shaders
feature/imgui-sdl
points-test
|
|
|
@d9f99b2
|
7 years |
dmp1488 |
Remove all instances of ObjectFace and just reference the points …
feature/imgui-sdl
points-test
|
|
|
@07ed460
|
7 years |
dmp1488 |
Move all the point and color data into the SceneObjects and populate …
feature/imgui-sdl
points-test
|
|
|
@05e43cf
|
7 years |
dmp1488 |
Move the points for all models into one vbo
feature/imgui-sdl
points-test
|
|
|
@7280257
|
7 years |
dmitry.portnoy |
Remove uniform buffer code until I figure out how to use it correctly.
feature/imgui-sdl
points-test
|
|
|
@baa5848
|
7 years |
dmp1488 |
Create a new rendering algorithm that supports a variable number of …
feature/imgui-sdl
points-test
|
|
|
@f70ab75
|
7 years |
dmitry.portnoy |
Remove previous_seconds_fps since it's unused
feature/imgui-sdl
points-test
|
|
|
@1a530df
|
7 years |
dmp1488 |
Design an algorithm for rendering objects using colors or shaders and …
feature/imgui-sdl
points-test
|
|
|
@046ce72
|
7 years |
dmp1488 |
Add an FPS counter.
feature/imgui-sdl
points-test
|
|
|
@e856d62
|
7 years |
dmp1488 |
Make texture images appear right-side up and streamline the code for …
feature/imgui-sdl
points-test
|
|
|
@267c4c5
|
7 years |
dmp1488 |
Re-enable movement controls
feature/imgui-sdl
points-test
|
|
|
@b73cb3b
|
7 years |
dmp1488 |
Fix all issues with object click detection, and add the shader files …
feature/imgui-sdl
points-test
|
|
|
@e82692b
|
7 years |
dmp1488 |
Pass a reference to faceClicked that will be set to the clicked point …
feature/imgui-sdl
points-test
|
|
|
@5c9d193
|
7 years |
dmp1488 |
Created a faceClicked method to encapsulate checking for the …
feature/imgui-sdl
points-test
|
|
|
@147ac6d
|
7 years |
dmp1488 |
Remove the clicked field of the SceneObject and instead use a …
feature/imgui-sdl
points-test
|
|
|