JozsefA
67d59540cf
THIS IS NOT READY FOR USE
...
new rendering api/pipeline
not everything is there yet, but a lot is
2021-01-26 19:45:13 -08:00
JozsefA
1874b267b3
fix a contraption lighting glitch
2021-01-25 01:58:39 -08:00
JozsefA
93353b61d6
smarter light volumes
...
start the process of creating sane gl abstractions
stabilized contraption bounds now fit tightly with them
fix global tile entity issues
2021-01-25 01:17:55 -08:00
JozsefA
f05497a28c
okay the synchronized functions didn't actually fix it
...
but now we actually benefit from the tile entity render filtering, another 2x ish performance
2021-01-24 01:07:22 -08:00
JozsefA
59e29ac958
that was a nasty crash
...
os memory exception because memory that was being sent to the gpu was getting modified by another thread
2021-01-23 23:32:23 -08:00
JozsefA
ebd20f5173
suddenly, everything is smooth and dry
...
- replace all usages of Minecraft.getRenderPartialTicks() with AnimationTickHolder.getPartialTicks()
- refactor stabilized and mounted lighters into one class
- separate fancy contraption render logic and entity render logic, should maybe move *all* rendering to ContraptionRenderDispatcher
2021-01-23 23:07:12 -08:00
JozsefA
55ea7e3e55
cart contraptions are lit
2021-01-23 21:02:11 -08:00
JozsefA
dea3f05364
fix saws not rendering their shafts in contraptions
2021-01-23 16:39:11 -08:00
JozsefA
83cb735e62
actors render correctly
2021-01-23 12:49:33 -08:00
JozsefA
cfd60fbc8d
fast actor rendering but it's not correct yet
2021-01-22 18:00:14 -08:00
JozsefA
f6518d5c5d
insane amounts of refactoring
...
surprisingly it all still works the same, but better
maybe still some more cleanup to do
2021-01-22 11:28:39 -08:00
JozsefA
11f9c7459c
prepare for fast actor rendering
2021-01-21 14:14:20 -08:00
JozsefA
697a7df59c
suddenly and magically, contraption rendering is 100% accurate
2021-01-21 12:26:55 -08:00
JozsefA
33e66c6e89
pulleys are lit
...
stabilized things are sort of lit but man is it jank
light volumes have a more sane constructor
try to mess around with contraption layering but it's still jank
2021-01-20 00:47:40 -08:00
JozsefA
9df796029f
rename the confounding function
2021-01-18 00:35:16 -08:00
JozsefA
398a848791
pistons are lit and bearings are better lit in the corners
...
stop sampling light in places that don't matter
2021-01-18 00:31:33 -08:00
JozsefA
22a90c8e5d
on our way to super fancy contraption lighting
2021-01-17 22:18:31 -08:00
JozsefA
37e64e4c1d
fix vertex attribute data types
...
blockcolors and ao now work in contraptions
be smarter about allocating buffers
use gl buffer mapping, more to come
2021-01-15 16:17:13 -08:00
JozsefA
5ea0fa788f
Make the last tile of its kind disappear
2021-01-15 14:26:27 -08:00
JozsefA
0bc6b11c5b
be smart about rebuilding things
...
not smart enough about contraptions yet
things mostly render in the correct layers
2021-01-14 14:00:20 -08:00
JozsefA
03205c277b
move render package up one level
2021-01-13 12:15:48 -08:00