PepperCode1
4f33fc3a7e
Merge remote-tracking branch 'origin/1.18/fabric/dev' into 1.19/fabric/dev
2023-01-26 15:04:55 -08:00
PepperCode1
09ea5c480d
Do not enforce Semver
2023-01-26 15:04:07 -08:00
PepperCode1
583f6ed9e0
Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
...
Conflicts:
src/main/resources/META-INF/mods.toml
2023-01-26 11:19:36 -08:00
PepperCode1
59c11949e8
Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
...
Conflicts:
src/main/resources/META-INF/mods.toml
2023-01-26 11:17:06 -08:00
PepperCode1
0e198ab8c7
Merge branch '1.18/dev' into 1.19/dev
...
Conflicts:
gradle.properties
2023-01-13 16:09:34 -08:00
PepperCode1
f370e85d6d
Increment version
2023-01-13 16:08:32 -08:00
PepperCode1
83a5723420
Fix IndexedModel allocating incorrect amount of bytes
...
- model.size() returned the byte size relative to the model's
VertexType, but the byte size relative to the passed VertexType is
needed instead
2022-12-31 14:34:59 -08:00
PepperCode1
c4b7e869bb
Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
2022-12-27 16:12:32 -08:00
PepperCode1
99f43ef6eb
Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
2022-12-27 15:22:05 -08:00
PepperCode1
1d851906ab
Merge remote-tracking branch 'origin/1.18/dev' into 1.19/dev
2022-12-13 13:48:26 -08:00
Marc Hermans
e04ae88073
Switch to the block vertex format.
2022-12-01 21:24:11 +01:00
PepperCode1
cf22aab2ea
Merge branch '1.18/dev' into 1.19/dev
2022-11-22 13:04:47 -08:00
PepperCode1
f56d0f9024
Models are (actually) temporary
...
- Call Model#delete on instancer delete
- Add constraint to modelSupplier in Material#model
- Fix memory leak in ModelPart
- Add ArrayModelRenderer#getModel
2022-11-22 13:04:03 -08:00
PepperCode1
954d1d77fb
Merge remote-tracking branch 'origin/1.19/dev' into 1.19/fabric/dev
...
Conflicts:
build.gradle
gradle.properties
src/main/java/com/jozufozu/flywheel/Flywheel.java
src/main/java/com/jozufozu/flywheel/backend/Loader.java
src/main/java/com/jozufozu/flywheel/config/FlwCommands.java
src/main/java/com/jozufozu/flywheel/core/PartialModel.java
src/main/java/com/jozufozu/flywheel/core/model/BakedModelBuilder.java
src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
src/main/java/com/jozufozu/flywheel/core/model/ShadeSeparatedBufferBuilder.java
src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertex.java
src/main/java/com/jozufozu/flywheel/event/EntityWorldHandler.java
src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
src/main/java/com/jozufozu/flywheel/util/RenderMath.java
src/main/resources/META-INF/mods.toml
src/main/resources/pack.mcmeta
2022-11-11 00:11:58 -08:00
PepperCode1
7c757fee80
Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
...
Conflicts:
build.gradle
gradle.properties
src/main/java/com/jozufozu/flywheel/core/QuadConverter.java
src/main/java/com/jozufozu/flywheel/core/crumbling/CrumblingRenderer.java
src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertexList.java
src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
src/main/java/com/jozufozu/flywheel/mixin/ChunkRebuildHooksMixin.java
src/main/java/com/jozufozu/flywheel/mixin/InstanceAddMixin.java
src/main/java/com/jozufozu/flywheel/mixin/LevelRendererMixin.java
2022-11-10 18:05:46 -08:00
PepperCode1
88135d8715
Tiniest of discrepancies
...
- Re-add default implementation of Model#createEBO
- Remove old commented methods in VirtualChunk
- Update Forge
2022-11-10 16:56:23 -08:00
PepperCode1
8c36613738
Merge branch '1.18/dev' into 1.19/dev
...
# Conflicts:
# gradle.properties
# src/main/java/com/jozufozu/flywheel/core/hardcoded/ModelPart.java
# src/main/java/com/jozufozu/flywheel/core/model/BlockModel.java
# src/main/java/com/jozufozu/flywheel/core/model/Model.java
# src/main/java/com/jozufozu/flywheel/core/model/WorldModelBuilder.java
# src/main/java/com/jozufozu/flywheel/event/ForgeEvents.java
# src/main/java/com/jozufozu/flywheel/mixin/LevelRendererMixin.java
# src/main/java/com/jozufozu/flywheel/mixin/instancemanage/ChunkRebuildHooksMixin.java
# src/main/resources/flywheel.mixins.json
2022-11-10 16:41:02 -08:00
PepperCode1
f6d5ed01e7
A bit of backporting
...
- Backport general changes from 1.19
- Fix Javadoc of PartialModel
- Remove default Model#getType implementation
- Increment version to 0.6.8
- Update Parchment
2022-11-10 16:30:30 -08:00
PepperCode1
e328a270e2
Models are temporary
...
- Add Model.delete
- Allow BlockModel.createEBO to be called more than once for a single
instance
- Clear cache on QuadConverter.delete
2022-11-10 12:43:26 -08:00
Jozufozu
72a05ad35d
State your state
...
- Address a few bugs with rubidium
- Ignore EBOs when restoring state
- ElementBuffer deals in raw gl handles
- Document all state changes/restores/resets
Co-authored-by: PepperCode1 <44146161+peppercode1@users.noreply.github.com>
2022-11-10 12:39:01 -08:00
PepperCode1
f47f547930
Models are temporary
...
- Add Model.delete
- Allow BlockModel.createEBO to be called more than once for a single
instance
- Clear cache on QuadConverter.delete
2022-11-06 14:00:24 -08:00
Jozufozu
9280ae50dd
State your state
...
- Address a few bugs with rubidium
- Ignore EBOs when restoring state
- ElementBuffer deals in raw gl handles
- Document all state changes/restores/resets
Co-authored-by: PepperCode1 <44146161+peppercode1@users.noreply.github.com>
2022-10-22 12:36:13 -07:00
PepperCode1
adcb61526b
Fix crash with Optifine
...
- Bump version
2022-09-28 20:04:04 -07:00
Jozufozu
ccbcaf9e3f
Fixinum
...
- Fix missing chunks when backend is off and sodium installed.
- Fix crashes when used with iris.
2022-09-25 17:17:57 -07:00
Jozufozu
377c729355
Yeetrium
...
- Mixin to sodium to steal block entity rendering duties
- Fixes z-fighting and inconsistent BE rendering
2022-09-24 22:44:42 -07:00
PepperCode1
bc5084b2d8
Merge branch '1.18/dev' into 1.19/dev
...
Conflicts:
gradle.properties
2022-09-21 15:52:08 -07:00
PepperCode1
098cb3ee70
Porting from all directions
...
- Diagonal-port restore state changes from 1.18/next
- Back-port buffer uploader changes and RenderLayerEvent dispatch point
change from 1.19/dev
- Make CrumblingRenderer return earlier if there is nothing to render
- Bump version
2022-09-21 15:34:58 -07:00
Jozufozu
cab7aff9c3
Fresh loaded entities here!
...
- Remove loaded chunk check from entity instance manager
2022-09-06 08:49:48 -07:00
Jozufozu
9b56d16f55
AAAAAAAAAAAAMD
...
- Fixes issue rendering models in block format while using instancing on AMD
- A very hacky fix, everything will be cleaner in 1.0
- Diagonalport flw.loadRenderDoc jvm arg from 1.18/culling
2022-09-02 22:49:18 -07:00
PepperCode1
832c94f2ba
Lazily instantiate DrawBuffers
...
- Iris/Oculus create wrapper RenderTypes whose DrawBuffers are never
used. Creating the DrawBuffer on retrieval solves this inefficiency.
- Add 1.18.2 as a Minecraft version to the issue template
2022-08-16 10:41:35 -07:00
PepperCode1
d51c373568
1.19.2 and more fixes
...
- Update to 1.19.2
- Unbind VAO before restoring GL state
- Shift RenderLayerEvent dispatching point after vanilla VBO and VAO
clean-up
- Fix BlockModel's check for an index buffer being inverted
- The RenderedBuffer returned from ModelUtil#endShadeSeparated is no
longer nullable
- Allow unshadedStartVertex to be 0
- Remove BufferUploaderMixin
- Fix PartialModel javadoc referencing the old bake event
- Switch back to Parchment mappings
2022-08-13 23:26:39 -07:00
PepperCode1
055ae6c04b
Merge branch '1.18/dev' into 1.19/dev
...
Conflicts:
gradle.properties
2022-08-13 14:03:56 -07:00
PepperCode1
70616d381a
Fix crash with Rubidium when using batching
...
- Backport fix from 1.18/next
- Downgrade and lock ForgeGradle version to fix build
- Update Forge to match 1.18/next
- Bump version
2022-08-13 13:54:52 -07:00
PepperCode1
c4942ca29e
Buffer building changes
...
- Remove ShadeSeparatedBufferBuilder and use Pair<RenderedBuffer,
Integer> instead to properly support 1.19's buffer changes
- Add ModelUtil#isVirtual to check if a ModelData is virtual
2022-08-03 23:18:49 -07:00
PepperCode1
c2b78f8e0e
Fix BakedModelBuilder not wrapping models
2022-07-20 08:51:50 -07:00
PepperCode1
7e3671fa9a
Wrap vanilla models for shade separation
...
- Flywheel version of Fabricators-of-Create/Create#441
2022-07-18 10:06:16 -07:00
PepperCode1
473b1af5c6
Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
...
Conflicts:
build.gradle
gradle.properties
src/main/java/com/jozufozu/flywheel/Flywheel.java
src/main/java/com/jozufozu/flywheel/backend/Backend.java
src/main/java/com/jozufozu/flywheel/backend/instancing/batching/BatchedMaterialGroup.java
src/main/java/com/jozufozu/flywheel/config/FlwCommands.java
src/main/java/com/jozufozu/flywheel/core/model/ModelUtil.java
src/main/java/com/jozufozu/flywheel/core/vertex/BlockVertexList.java
src/main/java/com/jozufozu/flywheel/mixin/FrustumMixin.java
src/main/resources/META-INF/mods.toml
2022-07-16 21:00:15 -07:00
Jozufozu
be78f92df6
Merge branch '1.18/dev' into 1.19/dev
...
# Conflicts:
# build.gradle
# gradle.properties
# src/main/java/com/jozufozu/flywheel/backend/Loader.java
# src/main/java/com/jozufozu/flywheel/core/source/ShaderSources.java
2022-07-16 21:43:00 -04:00
Jozufozu
ae945f6ace
Finish porting to 1.19 (mostly)
...
- Terrible, terrible mixins to ChunkRenderDispatcher and its subclasses
- Index buffers may break chunk rendering sometimes, needs debugging
2022-07-16 21:38:22 -04:00
PepperCode1
418672c065
Final fix-ups
...
- Revert mods.toml version to ${file.jarVersion}
- Fix license not being added to built jars
- Rename LICENCE.md to LICENSE.md
2022-07-15 19:29:42 -07:00
PepperCode1
17d8688fd7
Fix mixins sometimes not remapping
...
- Compress logo image
2022-07-15 09:42:14 -07:00
PepperCode1
a42c027b6f
Scheme-a-version
...
- Fix Resources not being closed properly
- Change versioning scheme to match Create
- Add LICENSE to built jar
- Fix mods.toml version sync
- Move JOML code to non-src directory
- Update Gradle
- Organize imports
2022-07-15 00:00:54 -07:00
PepperCode1
b5ea5f561e
Port to 1.19 (mostly)
...
- BufferBuilder manipulation code has not been ported
2022-07-12 14:44:31 -07:00
Jozufozu
d9cdd361cd
One line update
...
- Add modrinth updateJSONURL
2022-07-11 14:36:54 -04:00
Jozufozu
f01e169954
Reading copy
...
- All vertex lists extend from AbstractVertexList, which handles copying the input
2022-07-11 14:08:07 -04:00
Jozufozu
faa5652c4c
World building exercise
...
- Yoink the WorldModelBuilder and associated changes from 1.18/next
2022-07-10 19:04:30 -04:00
Jozufozu
273c99619f
Oculus compatibility
...
- Rename OptifineHandler to ShadersModHandler
- Rename functions to match fabric version
2022-07-10 18:08:59 -04:00
Jozufozu
c3b1a43beb
One more thing...
...
- Missed a level param in LightVolume
- Public removeAndMark
- Remove batching warning
- Bump forge and parchment builds
2022-07-10 15:22:02 -04:00
Jozufozu
055802160f
Update light updates
...
- ... to address the nullpointer with create pulleys
- LightListeners track their own levels
- Remove BasicProvider and LightProvider
- Rename MovingListener to better match functionality
- Remove ListenerStatus in favor of a boolean
- Instances keep track of their removal status and properly report it via LightListener#isListenerInvalid
- Bump version - 0.6.4
2022-07-09 13:25:24 -04:00
PepperCode1
e0aa5dd7ce
Merge remote-tracking branch 'origin/1.18/dev' into 1.18/fabric/dev
...
Conflicts:
.github/ISSUE_TEMPLATE/bug_report.yml
build.gradle
src/main/java/com/jozufozu/flywheel/Flywheel.java
src/main/java/com/jozufozu/flywheel/config/FlwCommands.java
src/main/java/com/jozufozu/flywheel/config/FlwConfig.java
2022-06-30 19:38:14 -07:00