Commit Graph

69 Commits

Author SHA1 Message Date
dc34054fb8 Added test menu background 2018-08-05 10:57:46 -05:00
155b89d053 Added distance for tree 2018-07-30 12:56:29 -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
f21032935b dt with dt for arrow key look 2018-07-01 19:48:00 -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
1eea3c92cb Add files 2018-07-01 16:06:39 -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
582443abe4 Retro-actively add sponza copyright info 2018-06-18 12:24:33 -05:00
f68c31f87c Duct taping a cache bug, added test_object that uses sponza.obj. 2018-06-18 12:17:32 -05:00
8f39c34d54 Added monkey patch to support rubies < 2.5 2018-06-18 11:47:44 -05:00
aff4c8b545 Replaced usage of Time.now 2018-04-23 22:33:17 -05:00
e2af0958bb Fixed multiple text y positioning 2018-04-23 22:07:56 -05:00
fb1f4370eb Added fps target, added comma 2018-04-23 21:51:10 -05:00
16e2352322 Got wireframe mostly working 2018-04-23 21:28:06 -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
5a4bafce26 Next! 2018-03-31 21:22:21 -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
79f5dba4db Clamp it 2018-03-23 16:10:40 -05:00
c9126987fe Added render_pitch to camera for use only for rendering as pitch is used for a bunch of things, maybe? 2018-03-23 16:06:42 -05:00
468600c1b4 Camera almost done, maybe. 2018-03-23 16:00:05 -05:00
134099c2b1 Camera works! 2018-03-23 15:45:07 -05:00
28acb12efc We can now attach an object to the camera- bit buggy atm. 2018-03-23 15:34:03 -05:00
021805cd96 Wireframes! Player now has a name tag. 2018-03-23 13:51:55 -05:00
0b0d307d2a Terrain is still broken, player moves in the correct relative directions now :) 2018-03-23 08:54:23 -05:00
dfc6a0cfe8 Got basic terrain generation working in immediate mode, all list is bugged atm. 2018-03-22 22:27:56 -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
30567a9e94 Rendering texture 2018-03-19 09:44:40 -05:00