87 Commits

Author SHA1 Message Date
ced7ba85a4 Fix texelsize multiplier for both sections of the loop.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-12-01 05:25:20 +00:00
14012b09d3 Fix texel code.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-12-01 04:20:24 +00:00
9bba62bd7a Add in texel size quality support.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-12-01 03:23:21 +00:00
984b0c4282 Preparations for optimizations.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-12-01 01:16:29 +00:00
d345b3d2a9 Add some notes about optimizations to make.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-29 07:03:37 +00:00
a4c086f976 Merge branch 'main' of https://github.com/sigonasr2/SigRenderer2 into main 2021-11-20 02:50:58 +09:00
8c698eb3c7 Textured triangle implementation. 2021-11-20 02:50:56 +09:00
546c8f60bb Fix coauthors
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-18 23:09:29 +00:00
9e680ac9cb Merge commit '9642d25c34ae83ac68a28d0365d64e97cc84a1ab' into main 2021-11-17 22:48:27 +09:00
9642d25c34 Fix threading issues. 2021-11-17 22:47:02 +09:00
6b64e29689 Save a test kernel for later experimentation. 2021-11-17 22:12:44 +09:00
a3ff6f7e3b 8 threads for rendering. 2021-11-17 17:50:05 +09:00
c9366ba541 Fix plant texture coordinates 2021-11-17 16:26:14 +09:00
d1f61e878c Update neighboring faces so plants can compile.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-16 07:23:18 +00:00
86c03cf7d2 Newly textured plant model.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-16 07:12:38 +00:00
0a84a43070 Create plant model. 2021-11-14 22:39:40 +09:00
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