Commit Graph

51 Commits

Author SHA1 Message Date
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
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
b35edcc7aa Added tree and biped (humanoid), can now pass x,y,z coordinance to Model 2018-03-16 23:06:09 -05:00
4f4fb7b7ca Updates 2018-03-06 15:59:14 -06:00
df97ab4528 Add support for smoothing 2018-03-04 15:30:10 -06:00
ce1f95ea45 Materials of color work! 2018-03-04 15:00:34 -06:00
85a66a9f7d Fixed gl::error... 2018-03-04 13:32:19 -06:00
bf7a1b48db WOrky sorta 2018-01-04 16:41:30 -06:00
3942097c6c Broke everything 2018-01-04 14:20:56 -06:00