|
|
f4a81f1e36
|
Removed global state for LightManager and ObjectManager, they're now inside GameState. Simplified terrain mesh.
|
2019-02-07 10:05:43 -06:00 |
|
|
|
5843a9b0ae
|
Count number of vertices instead of faces, added formatted_number to CommonMethods
|
2018-12-11 12:27:23 -06:00 |
|
|
|
c656686997
|
Camera: Removed mouse position correction (no longer needed apparently :)), Mouse can now be released from Camera be pressing LeftAlt and can get captured again by clicking with the left mouse button.
|
2018-12-10 10:34:18 -06:00 |
|
|
|
66e7800cad
|
Added main menu, added loading screen, hacked and chiseled things until I could load models without attaching to a gameobject.
|
2018-09-09 15:01:53 -05:00 |
|
|
|
16e0e4dcff
|
Added Game States, decoupled game from Window class and placed it in Game < GameState
|
2018-09-09 07:49:26 -05:00 |
|
|
|
67b06b0001
|
Bounding boxes are now drawn using Vertex arrays
|
2018-07-30 12:53:52 -05:00 |
|
|
|
ded012a9e0
|
added support for ruby-prof, make trees jump to nearest vertex position.
|
2018-07-08 14:39:57 -05:00 |
|
|
|
4c603c3a3d
|
Improved terrain collision slightly
|
2018-07-01 19:10:09 -05:00 |
|
|
|
5fa2843de2
|
added width,height and depth vars to GameObjects, randomly position 25 trees about the terrain.
|
2018-07-01 16:32:10 -05:00 |
|
|
|
a84b9d95b4
|
Added a proper terrain mesh, implemented basic (and glitchy) terrain collision detection.
|
2018-07-01 16:06:22 -05:00 |
|
|
|
5b16d9b4c3
|
AABB are now functional!
|
2018-07-01 12:10:48 -05:00 |
|
|
|
6a14c5e9be
|
Eat memory, load faster. edited comments in parser.
|
2018-06-30 21:55:51 -05:00 |
|
|
|
218d7797c1
|
Intellisense says its faster this way
|
2018-06-18 13:13:37 -05:00 |
|
|
|
f68c31f87c
|
Duct taping a cache bug, added test_object that uses sponza.obj.
|
2018-06-18 12:17:32 -05:00 |
|
|
|
fb1f4370eb
|
Added fps target, added comma
|
2018-04-23 21:51:10 -05:00 |
|
|
|
473a597b66
|
Bunch of stuff
|
2018-04-23 21:13:16 -05:00 |
|
|
|
bc8c78c90b
|
Terrrain fill dome, added terrain to face count
|
2018-03-31 21:33:03 -05:00 |
|
|
|
05a77a0f11
|
Fixed nameplate oddly cutting off terrain, got a grid for terrain, first/third person toggle.
|
2018-03-31 21:22:11 -05:00 |
|
|
|
162e23d0b4
|
More testing
|
2018-03-24 10:03:05 -05:00 |
|
|
|
468600c1b4
|
Camera almost done, maybe.
|
2018-03-23 16:00:05 -05:00 |
|
|
|
28acb12efc
|
We can now attach an object to the camera- bit buggy atm.
|
2018-03-23 15:34:03 -05:00 |
|
|
|
0b0d307d2a
|
Terrain is still broken, player moves in the correct relative directions now :)
|
2018-03-23 08:54:23 -05:00 |
|
|
|
dacf05475f
|
Cleanup
|
2018-03-22 21:12:21 -05:00 |
|
|
|
bdbb5f2e94
|
Major refactor
|
2018-03-22 19:26:02 -05:00 |
|
|
|
632830503b
|
Everything is broken and stuff.
|
2018-03-22 15:15:20 -05:00 |
|
|
|
e7aa32b62d
|
Fixed missing spaces, added terrain object, various tweaks trying to get collision detection working correctly; Still isn't...
|
2018-03-21 12:09:28 -05:00 |
|
|
|
2de1c0ffdf
|
Camera can bind to model
|
2018-03-20 22:48:01 -05:00 |
|
|
|
d390d3d728
|
Refactored lights, use light manager
|
2018-03-20 20:17:33 -05:00 |
|
|
|
57c52cd725
|
Moved camera into its own class, added CommonMethods for gosu methods outside of window.
|
2018-03-20 19:25:06 -05:00 |
|
|
|
7aef9b179a
|
Added changable mouse sensitivity
|
2018-03-20 18:03:50 -05:00 |
|
|
|
fd4530911e
|
Cleaning up Wavefront::Model and centralizing into Model, mouse_look now adapts to FOV better, bounding_boxes are correctly placed (not just moved from center)
|
2018-03-20 17:19:34 -05:00 |
|
|
|
46f533f83e
|
Did some reorganizing
|
2018-03-20 15:11:00 -05:00 |
|
|
|
a3c92f9de3
|
Add that plane, clamp FOV 1..179
|
2018-03-20 11:40:07 -05:00 |
|
|
|
e26796f42c
|
Textures work! that 3 was only getting 2... Added --native to lunch game at native resolution and fullscreen. Added basic plane.
|
2018-03-20 11:18:16 -05:00 |
|
|
|
afc039ffe6
|
Added crosshair, added changable FOV.
|
2018-03-20 09:44:59 -05:00 |
|
|
|
c21e9d5fbf
|
Draw them again
|
2018-03-20 09:07:12 -05:00 |
|
|
|
86fe61f0bf
|
Fixed mouse wweirdness
|
2018-03-20 08:58:00 -05:00 |
|
|
|
89c84dbe39
|
Broken mouse input, texture mapping issue persists.
|
2018-03-19 22:08:20 -05:00 |
|
|
|
a46f3deff9
|
Moved OBJ parser out of Model, added axis-aligned bounding boxes, added --debug, bounding boxes can be rendered.
|
2018-03-19 14:35:13 -05:00 |
|
|
|
b489c48200
|
Pack everything as f*? It renders!
|
2018-03-19 09:40:06 -05:00 |
|
|
|
6df9f09496
|
Added them lights, relative speed!
|
2018-03-19 08:54:06 -05:00 |
|
|
|
4818d5a67e
|
Objectified lights, cleanup and messification.
|
2018-03-19 08:44:07 -05:00 |
|
|
|
62364b2145
|
Broken support for textures, trying to switch to opengl-bindings gem
|
2018-03-18 22:38:16 -05:00 |
|
|
|
3e9f1c47e7
|
~10 fps with the mega_model :) (210,000 faces)
|
2018-03-18 20:45:05 -05:00 |
|
|
|
c2aebbf0e8
|
Added basic skydome, now using glDrawArrays :D
|
2018-03-18 20:31:20 -05:00 |
|
|
|
47a27c15d3
|
Disabled glut, got scaling working as desired.
|
2018-03-18 15:36:36 -05:00 |
|
|
|
906e1775e5
|
Relative camera movement!
|
2018-03-18 15:02:28 -05:00 |
|
|
|
323aa05342
|
Added a 'background color', light now has ambient emission, drawing more trees, fixed moving along the x-axis was limited.
|
2018-03-18 13:14:46 -05:00 |
|
|
|
fa912d412d
|
Working camera! (I think)
|
2018-03-18 12:33:37 -05:00 |
|
|
|
4d09dde058
|
Fixed scaling lighting weirdness
|
2018-03-18 11:53:41 -05:00 |
|