71 Commits

Author SHA1 Message Date
d5c15f7ee3 Implement translucent/transparent rendering neighbor checking. 2021-11-13 20:44:19 +09:00
52ccce0610 Fix texture disappearing on rotation and block placing for cubes. 2021-11-13 20:26:21 +09:00
1f5cbd514a Jumping on staircases. 2021-11-13 19:54:58 +09:00
d63f8ea2fa Fixed staircase climbing collision stuck/bugs 2021-11-13 19:09:36 +09:00
817231fc49 Staircase stuck collision check. 2021-11-13 01:21:11 +09:00
1922be6cd5 Fix staircase rooftop collisions. 2021-11-13 01:14:28 +09:00
cc9bcb988d Stashing old staircase physics 2021-11-13 01:05:43 +09:00
9c922e3de8 Block to staircase edge cases. 2021-11-12 18:00:29 +09:00
3644040528 Proper staircase triangle neighbor calculations. 2021-11-12 17:40:07 +09:00
ef9d56cdca Rotational neighbor culling for staircase cases. 2021-11-12 16:03:48 +09:00
928052fbd0 Staircase climbing added. 2021-11-12 14:21:53 +09:00
c0e7b06055 Fix bug causing falling through blocks. 2021-11-11 22:51:46 +09:00
decc6535b7 Add rotation of non-cube blocks. 2021-11-11 22:38:41 +09:00
81c8ece1c3 Implement staircase model 2021-11-11 22:11:43 +09:00
21e2e19e67 Automatically clamp vertex texture coords between 0.0~1.0 2021-11-11 10:12:46 +09:00
46f41f2c86 Re-vectorize movespeed and friction physics. 2021-11-10 06:14:52 +09:00
0a020ab3a7 Constrain camera bounds 2021-11-10 05:00:55 +09:00
98f521289d Add small collision radius around player. 2021-11-10 04:20:45 +09:00
9e4ce2dd12 Have invisibleCursor available in a variable. 2021-11-09 17:52:24 +09:00
8e3ba7554a Mouse camera controls, hide cursor. 2021-11-09 17:50:49 +09:00
8997902c7c Gravity added. Camera offset and height set. 2021-11-09 17:27:04 +09:00
5912e0e07e Normalize diagonal movement. Implement movement speed and friction.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-09 07:14:31 +00:00
8e79afdf99 Strafe controls to replace turn controls. Ignore Y axis when not in flying mode.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-09 06:17:35 +00:00
6f48971a74 Prevent camera from going through blocks.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-09 05:13:49 +00:00
b0f0961260 Randomly face randomly generated objects for testing purposes. 2021-11-08 18:13:52 +09:00
cf808fd849 Removed the extra min required. 2021-11-08 18:10:43 +09:00
27fd83af6d Fix a rounding error to remove gridlines that appear around blocks. 2021-11-08 18:10:05 +09:00
90d55de494 Top and bottom edges now rotate accordingly.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-08 07:21:26 +00:00
80873eec27 Change the front facing direction of a block programmatically.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-08 06:12:29 +00:00
8d152ff06a Implement intersection function of line segments. 2021-11-08 05:55:20 +09:00
a1147ce151 Detect face direction of clicked edge. 2021-11-08 03:14:53 +09:00
e5e42d4f88 Handle clicking through transparent blocks. 2021-11-08 02:45:16 +09:00
91d94cc249 Block removal implemented. 2021-11-08 02:26:56 +09:00
4d3d72eba2 Translucency implementation. 2021-11-08 02:04:53 +09:00
5d6c8de3b5 Transparent texture rendering handling. 2021-11-07 23:43:26 +09:00
057ef44afb Threading. 2021-11-07 09:47:03 +09:00
78ffa0d78d Block buildling and some camera clipping fixes. 2021-11-07 06:14:21 +09:00
234520ced4 Improvements to rendering speeds. 2021-11-07 05:43:24 +09:00
8e0af6413e Profiler togling. 2021-11-07 01:09:55 +09:00
87c2c555b8 Per-side texturing and textures loaded in. 2021-11-06 08:48:20 +09:00
6c0b5ccd32 Add block type definitions for texture types. 2021-11-06 08:00:51 +09:00
c8a62a8e83 Setup Texture Types. 2021-11-06 06:49:18 +09:00
1865a973e7 Block click detection. 2021-11-05 22:57:01 +09:00
a99f5a81e3 Optimized texture pixel getting. 2021-11-05 22:30:00 +09:00
16e2b942bb Make sure untextured surfaces still read properly.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-04 13:35:30 +00:00
fb007ad472 Do not render faces that are on the "insides" of a structure.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-04 11:50:53 +00:00
c39412e144 Many blocks.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 20:40:32 +00:00
7aaa75d5a5 Experimentation with distance-based camera lighting.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 20:24:00 +00:00
1ce63d60a2 Include a depth buffer.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 15:15:02 +00:00
562ae07307 Use model loading code. 2021-11-03 14:32:29 +00:00