Jozufozu
3919aaeead
TextureBinder for dealing with vanilla RenderTypes
2021-11-09 16:48:54 -08:00
Jozufozu
ecb3fd1540
Instance init
...
- So that simi can have his cogs.
- Inheritance is painful when models are acquired in an instance's ctor
2021-11-09 15:03:52 -08:00
Jozufozu
1233c95edb
Chipping away at light
2021-11-09 14:59:31 -08:00
Jozufozu
7b5b8cca2a
Named models
2021-11-08 20:48:02 -08:00
Jozufozu
d0fec67b60
Parchment and gradle changes
2021-11-08 13:19:48 -08:00
Jozufozu
d9bfe82a22
Compat work
...
- No more net.minecraftforge.common.util usages
- Replace forge lazy with flywheel lazy
- Replace forge NonNullSupplier with flywheel NonNullSupplier
- texture2D -> texture
2021-10-12 12:52:02 -07:00
Jozufozu
59ea700b04
Revert "Rename/refactor many interfaces"
...
This reverts commit 66aa987dbd
.
Can re-think the names later.
2021-09-30 13:43:09 -07:00
Jozufozu
18ed201c93
Rename/refactor many interfaces
...
- Drop I prefix
- Inline IMultiProgram
- Remove unused method in InstanceRendered
2021-09-28 17:54:47 -07:00
Jozufozu
39ce96ec9c
Better Block Entity filtering
...
- Assumes IInstanceRendered#shouldRenderNormally does not change over a BE's life
2021-09-26 22:30:11 -07:00
Jozufozu
79ac9e96e4
Testing + fixing
2021-09-26 21:15:02 -07:00
Jozufozu
7c5e02d2e8
UNTESTED - Replace ATs
...
- Matrices use #store
- Accessor for pausedPartialTick
2021-09-26 19:40:53 -07:00
Jozufozu
532e7450e9
GL32 shaders and errors
...
- Update shaders to glsl 150
- Objectfy errors
2021-09-20 19:27:04 -07:00
Jozufozu
d11676cf3a
MDK println build test
2021-09-18 17:01:20 -07:00
Jozufozu
c504496728
Small things
...
- Fix minecarts rendering really far away
- InstanceManager#getInstance now has one job
- Instance creation moved to InstanceManager#addInternal
- TransformStack#translateBack for Vec3i
2021-09-17 15:59:20 -07:00
Jozufozu
ca554f5993
F3+A
...
- Reloading chunks correctly reloads block entity instances
2021-09-17 14:20:35 -07:00
Jozufozu
0c6a75ade5
Always use discard
2021-09-16 20:53:35 -07:00
Jozufozu
7da64cded6
It renders stuff
...
- The lightmap moved
- Begin to move away from access transformers
- .textureManager -> .getTextureManager()
- RIP cutout, saw that coming
2021-09-16 20:03:45 -07:00
Jozufozu
87a51cea80
Nuke changelog and bump version
2021-09-15 14:46:36 -07:00
Jozufozu
9976de110d
Don't crash when block entities are placed
...
- Block entities got a huge refactor in 1.17, a lot of the old code needs to be rethought
2021-09-15 14:29:58 -07:00
Jozufozu
d67362cacd
Minecraft already stores the projection matrix
...
mixins--
2021-09-15 14:27:51 -07:00
Jozufozu
d023b27ae8
It launches
...
- yeet the fog
- update mixin compatibility level
2021-09-15 13:49:18 -07:00
0b2101c25d
Fix obvious errors
2021-09-15 09:26:51 +02:00
2fc54ffbee
Remap, update forge, minecraft and java
2021-09-15 09:14:30 +02:00
f4adf9b9c2
update gradle and mixin
2021-09-15 08:33:12 +02:00
Jozufozu
0ed59a69ed
fixup! Initial data/struct format refactor
2021-09-14 13:52:52 -07:00
Jozufozu
56cb4be580
Revert "Parallel light updates"
...
Caused a crash, likely related to the use of weak references
This reverts commit c68b2bbf91
.
2021-09-14 13:19:52 -07:00
Jozufozu
cc5949a4bb
LightPacking utility class
2021-09-14 13:17:13 -07:00
Jozufozu
555cc2e57e
Initial data/struct format refactor
...
- Inspired by jellysquid3's vertex sinks
- More robust/extensible solution for data writes
2021-09-12 14:49:00 -07:00
Jozufozu
c79084ce57
Parallel light updates
2021-09-12 10:29:29 -07:00
Jozufozu
2ed8c6e2e5
Optimize imports
2021-09-12 09:41:45 -07:00
Jozufozu
aa83cd5c60
Instancer interface
...
- Entire material/model system finally cleaned up
2021-09-12 09:40:36 -07:00
Jozufozu
7e65eaa00d
Separate LightVolume and GPULightVolume
...
- LightVolumes now can act as a light cache with configurable size
- More GridAlignedBB changes
- Remove ILightUpdateListeners
- Simplify pulley rendering using LightVolume
2021-09-08 15:48:49 -07:00
Jozufozu
1f7af0d8b2
Immutable view of GridAlignedBB
2021-09-04 19:57:32 -07:00
Jozufozu
c055873bac
Moving light updates
...
- Better system for moving objects that want to receive light updates
- LightProvider interface to better abstract light lookups
- All light listeners use GridAlignedBBs
- More utility in GridAlignedBB
2021-09-04 16:40:40 -07:00
Jozufozu
352608c2ae
Light update convergence
...
- Move light update logic for all instances to use LightUpdater
- Begin refactor of LightUpdater to account for moving listeners
2021-08-29 14:40:46 -07:00
Jozufozu
1be7d9a286
Merge branch 'dev' into next
2021-08-25 13:21:42 -07:00
Jozufozu
4a39150eba
Merge pull request #36 from MehVahdJukaar/dev
...
Adds 3 parameter scaling function to MatrixTransformStack
2021-08-25 13:20:42 -07:00
Jozufozu
ae6d953c6b
Restore single paramater scale function
...
- Now has default impl in TransformStack
- MatrixTransformStack now only overrides xyz scale
2021-08-25 13:15:29 -07:00
Jozufozu
86dbed66af
Instanced Minecarts
...
- Rotations in PartBuilder
- BlockModels are always UNLIT_MODEL format
2021-08-25 12:53:43 -07:00
MehVahdJukaar
0b2e8834d8
Update TransformStack.java
2021-08-25 21:49:06 +02:00
MehVahdJukaar
e6c67fecc7
Update MatrixTransformStack.java
2021-08-25 21:40:35 +02:00
MehVahdJukaar
d4a9fd1cc1
Merge pull request #1 from MehVahdJukaar/MehVahdJukaar-patch-1
...
Add 3 parameter MatrixTransformStack scaling function
2021-08-25 20:23:58 +02:00
MehVahdJukaar
e541b6d449
Added 3 parameter scaling function
...
Simply adds a 3 parameter function to to MatrixTransformStack so a matrix can be scaled on different axis
2021-08-25 20:21:33 +02:00
Jozufozu
68ca281ee8
Interfaces and less log lines
...
- MateralManager, MaterialGroup, and InstanceMaterial are all interfaces
- Separate (T)EI facing API from implementation
- Comment out debug log in ModelPool
2021-08-23 22:34:27 -07:00
Jozufozu
d431318022
Errors and pools
...
- GlException and error checking WIP
- Put all models within a material in a ModelPool
- Instancers directly accept IModels
- ModelPools are very WIP
2021-08-20 15:05:41 -07:00
Jozufozu
d41acf2bcf
Storage clean-up
...
- Wrapper for sync objects
- Compat layer for buffer storage
- Don't get persistent buffers if they're not supported
2021-08-14 15:57:52 -07:00
Jozufozu
f82b9d2d23
Persistent buffers v1.5
...
- Add new sync function to GlBuffer
2021-08-14 13:33:17 -07:00
Jozufozu
5956fbfaa0
Merge branch 'dev' into shader-pipeline
2021-08-13 16:15:28 -07:00
Jozufozu
6374d6e369
Persistent buffers v1
2021-08-13 16:15:20 -07:00
Jozufozu
55537fb2af
Better float array buffering
2021-08-13 13:35:18 -07:00