Commit Graph

228 Commits

Author SHA1 Message Date
fb4a5efa14 split main bind group, rename everything, organize GraphicsData 2023-09-20 17:13:08 -07:00
acb658f3e9 goal: repeating ground texture 2023-09-20 14:07:11 -07:00
7e427b3879 instanced rendering 2023-09-20 13:48:07 -07:00
d16485ae6d replace visual ground with custom ground model! 2023-09-20 13:37:46 -07:00
cdf695ee6e label bind group 2023-09-20 13:02:47 -07:00
5fc4044284 small physics opti 2023-09-19 18:14:24 -07:00
6f4fda8cc0 clip walk target velocity in RefreshWalkTarget 2023-09-19 17:54:43 -07:00
8e95fe484a unnecessary cast 2023-09-19 00:58:35 -07:00
5854128164 edit comments 2023-09-19 00:00:14 -07:00
db5b3328bd update time for extern instructions 2023-09-19 00:00:06 -07:00
4951d1513d stop skipping over time 2023-09-18 23:57:42 -07:00
17e71d884f SetControlDir + contact constrain + walk.state enum instead of hash 2023-09-18 23:36:14 -07:00
1dc98d9c2d stupid mistake 2023-09-18 23:33:52 -07:00
fd38502e07 only walk if grounded 2023-09-18 21:28:09 -07:00
0632e322cf implement walk with hashing lole!! 2023-09-18 21:10:07 -07:00
7544c6e6ef fix roblox camera offset 2023-09-18 19:47:15 -07:00
2f0a073fd5 fix aabb normals + face_mesh 2023-09-18 19:04:32 -07:00
21dc425fc2 edit comments 2023-09-18 19:04:32 -07:00
ca141c800c debug print instructions 2023-09-18 19:04:32 -07:00
63ce06f069 syntactic sugar 2023-09-18 18:31:15 -07:00
fe14d5e0fa worthless opti 2023-09-18 18:31:04 -07:00
bffc254a0d put -t back 2023-09-18 18:27:02 -07:00
a5f203484b comment on CollisionEnd handling 2023-09-18 18:08:03 -07:00
e67479a9bd TEMP: move jump out 2023-09-18 18:08:03 -07:00
ad7abbdf1c rework predict_collision_end 2023-09-18 18:08:03 -07:00
3a0b3900ec fix falling 2023-09-18 16:04:55 -07:00
765ed42b9d start in air 2023-09-18 16:04:55 -07:00
8137a26f81 standardize vec init 2023-09-18 16:04:55 -07:00
21ae7a0e4f use pva for init 2023-09-18 16:04:55 -07:00
5a886b76d1 comment about processed_time 2023-09-18 16:04:55 -07:00
f1e26cb07a don't print frame delta 2023-09-18 16:04:55 -07:00
14a74c6e1e consume vec 2023-09-18 16:04:55 -07:00
5b55873bd5 halfsize 2023-09-18 16:04:55 -07:00
fd5d71e1af use hashset for contacts 2023-09-18 16:04:55 -07:00
28c3f21736 implement aabb collision 2023-09-18 16:04:55 -07:00
a58464efb0 how will I do this 2023-09-18 15:49:09 -07:00
b070b9706f InputState 2023-09-18 15:49:09 -07:00
dcfbee8de1 MouseInterpolationState 2023-09-18 15:49:09 -07:00
c5636f7fcd delete unused 2023-09-18 15:26:21 -07:00
a5aa89064b next_instruction non-optional time_limit 2023-09-18 15:26:21 -07:00
0fe14749d3 wip: tickless physics 2023-09-18 15:26:21 -07:00
8daf432991 zeroes 2023-09-18 15:26:21 -07:00
4f5c9afed3 comments on implementing game mechanics 2023-09-08 20:18:31 -07:00
53605746d4 rename best to collector 2023-09-08 20:18:31 -07:00
cead05b08b rename event.rs to instruction.rs 2023-09-08 20:18:31 -07:00
949897a558 rename EventStruct to TimedInstruction 2023-09-08 20:18:31 -07:00
a4ed50fc38 EventConsumer 2023-09-08 20:15:36 -07:00
846f681648 generic events 2023-09-08 20:15:36 -07:00
ff54a03487 happy compiler happy programmer 2023-09-08 20:15:36 -07:00
8c2dda5205 bad data normalization 2023-09-08 16:06:17 -07:00
addde65caa fix up next_event lsp errors 2023-09-08 16:06:17 -07:00
2c4e6f642b boilerplate 2023-09-08 16:06:17 -07:00
f11742ef3b RelativeCollision concept 2023-09-08 16:06:17 -07:00
e6862b5bad rename Model to ModelGRaphics + move model graphics gen code 2023-09-08 16:06:17 -07:00
e18e8a9a7d walk event 2023-09-08 16:06:17 -07:00
f600092f13 LETS GET RUSTY 2023-09-08 16:06:17 -07:00
1f1ef5d3ad there is no model 2023-09-08 12:28:16 -07:00
54bf0358d6 can't stand the idea of 10 nanoseconds less than 66 ticks per second 2023-09-08 12:27:45 -07:00
6caa273623 jump implementation details 2023-09-08 12:04:30 -07:00
101f0f8d12 localize EventStruct 2023-09-08 12:03:32 -07:00
fc751a9fe8 stage sweep 2023-09-08 11:38:47 -07:00
5391b635fb reorder elements 2023-09-08 11:38:47 -07:00
230469496e brainstorm tickless events 2023-09-08 11:38:47 -07:00
ea3134de51 move physics into its own module 2023-09-08 11:35:40 -07:00
05156d1741 sens way too high 2023-09-06 19:35:43 -07:00
d72e3fcabd use syntactic sugar 2023-09-06 19:08:23 -07:00
99d4e51ee8 use Mat4 in place of Affine3A 2023-09-06 14:47:19 -07:00
7effceff03 convert spaces to tabs 2023-09-06 14:39:44 -07:00
355956e532 change equation for bigger reflectionless area 2023-09-06 14:30:30 -07:00
8aad878d49 texture coordinates + fake fresnel using dot 2023-09-06 14:19:35 -07:00
5fb9f8b1bc tweak matrices 2023-09-06 14:19:35 -07:00
a9977c0bd2 fix cam_pos bug 2023-09-06 14:18:44 -07:00
fd34fbe367 save 1 nanosecond 2023-09-06 14:18:44 -07:00
75695946a0 indexed rendering 2023-09-06 14:18:44 -07:00
2dba9554ea draw teapot 2023-09-06 13:02:48 -07:00
988f204358 comment on updating uniforms 2023-09-05 18:51:53 -07:00
1776dc4c39 add comments about moving data 2023-09-05 15:39:04 -07:00
69c7896011 binding group per model 2023-09-05 14:58:55 -07:00
1a1509f315 try one entity, convert to mat4x4 2023-09-05 14:58:55 -07:00
87f674238d add model_bind_group 2023-09-05 14:58:55 -07:00
cce9800045 no fragment 2023-09-05 14:58:55 -07:00
8792b8e782 add entity CFrames 2023-09-05 14:58:55 -07:00
c9cb22be68 comment on value 2023-09-05 14:58:55 -07:00
d4172f5040 rename uniform_buf to camera_buf 2023-09-05 14:58:55 -07:00
df43dc6f6e add suzanne 2023-09-05 14:58:55 -07:00
c3290e2ce6 macro version into window title 2023-09-05 12:23:26 -07:00
e347d4fd51 vertex index buffer is very cool 2023-09-05 00:18:31 -07:00
ad46418e79 expand baseplate 2023-09-05 00:18:07 -07:00
82da9bf40f why not be accurate 2023-09-01 20:28:37 -07:00
bda898a1f1 struct style init straggler 2023-09-01 20:27:28 -07:00
ce5f6fceb9 modulo is implemented incorrectly by the shader language 2023-09-01 00:10:19 -07:00
7179f20e67 add zoom 2023-08-31 22:48:17 -07:00
e25a2d7a7a use slope fov 2023-08-31 22:47:55 -07:00
7c247b6949 fix strafe bug 2023-08-31 12:37:53 -07:00
49fde16c4f rbhop friction 2023-08-31 12:16:51 -07:00
403910d2d8 rbhop jump power 2023-08-31 12:10:49 -07:00
7a23ef2734 add walking 2023-08-31 12:04:18 -07:00
1e25f71618 brain lol 2023-08-31 02:21:39 -07:00
4ee5a0fb2b add friction 2023-08-31 02:05:03 -07:00
80d2582316 this looks nicer 2023-08-31 02:05:03 -07:00
3019e663d6 add jump 2023-08-31 02:05:03 -07:00
4fbe0d8a57 use camera offset 2023-08-31 02:05:03 -07:00
43b5406b93 double gravity 2023-08-31 02:05:03 -07:00
083fc63ffd fix forward and back 2023-08-31 02:05:03 -07:00
7be6126557 v0.1 2023-08-31 02:05:03 -07:00
83099163b7 90 fov of course 2023-08-31 02:05:03 -07:00
da6df39feb jump n shoot 2023-08-31 02:05:03 -07:00
7784999da1 tidy up unused shader values 2023-08-31 02:05:03 -07:00
3c73aeeaa8 change lines grouping 2023-08-31 02:05:03 -07:00
2f9068a5a1 draw two triangles 2023-08-31 02:05:03 -07:00
d790bbc280 rename confusing variable 2023-08-31 02:05:03 -07:00
24eba89bfa enable write depth buffer 2023-08-31 02:05:03 -07:00
72a6e36429 add ground pipeline 2023-08-31 02:05:03 -07:00
e3ef2eddd4 fix wasm warning 2023-08-31 02:05:03 -07:00
5af15fe443 delete tests 2023-08-29 18:40:47 -07:00
6e43fda9f3 wgpu_example is strafe_client 2023-08-29 18:40:47 -07:00
68eda6546e wgpu/examples/skybox 2023-08-29 18:40:47 -07:00
b99f1ef731 switch to wgpu 2023-08-29 18:10:08 -07:00
036c056de0 press tab to lock mouse (no workie on X11) 2023-08-29 18:02:05 -07:00
65eb229961 sens too low 2023-08-29 18:01:48 -07:00
cbe9c4a212 translation is not needed 2023-08-29 18:01:42 -07:00
799c4a9224 fix camera 2023-08-28 15:27:24 -07:00
c8dbfc7268 mouse control 2023-07-21 00:59:45 -07:00
da90e23aa0 moving camera 2023-07-21 00:59:45 -07:00
aea9c5aa79 fix references 2023-07-21 00:59:45 -07:00
2ba0c6080e cannot rename lib.rs 2023-07-21 00:59:45 -07:00
1a8bdef575 teapot
starting point is teapot from the vulkano examples
2023-07-21 00:59:45 -07:00
2ce65aa136 Initial commit 2023-07-14 16:49:01 -07:00