Conversation
ZigyTheBird
left a comment
There was a problem hiding this comment.
Overall pretty small comments
core/src/main/java/com/zigythebird/playeranimcore/animation/Animation.java
Show resolved
Hide resolved
core/src/main/java/com/zigythebird/playeranimcore/animation/CustomAnimationBone.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/zigythebird/playeranimcore/animation/HumanoidAnimationController.java
Show resolved
Hide resolved
core/src/main/java/com/zigythebird/playeranimcore/network/AnimationBinaryV6.java
Show resolved
Hide resolved
core/src/main/java/com/zigythebird/playeranimcore/animation/layered/IAnimation.java
Outdated
Show resolved
Hide resolved
| import com.zigythebird.playeranimcore.math.Vec3f; | ||
| import org.jetbrains.annotations.Nullable; | ||
|
|
||
| public class CustomBone extends PlayerAnimBone { |
There was a problem hiding this comment.
I am not a big fan of the name, but not sure what to replace it with
Looking at the code all the field and variable names still call instances of this pivot bones
We could still call it PivotBone... IDK
If you remember I am still open to adding a pivot field to the AdvancedPlayerAnimBone, so the bone having pivots could also become a less special attribute of it down the road
There was a problem hiding this comment.
We could still call it PivotBone... IDK
No, we can't
If you remember I am still open to adding a pivot field to the AdvancedPlayerAnimBone, so the bone having pivots could also become a less special attribute of it down the road
do it yourself then
There was a problem hiding this comment.
I said I am open to it, not that I want to do it!
Though I might do it... for now that isn't the main topic of discussion
| } | ||
| }, | ||
| "animations": { | ||
| "cmm_test1": { |
There was a problem hiding this comment.
"cmm" is a very vague name
In-general our test anims aren't well organized, but I am too lazy to change that currently
| package com.zigythebird.playeranimcore.bindings; | ||
|
|
||
| public interface PlatformModel { | ||
| void invalidate(); |
There was a problem hiding this comment.
Is this method ever called in the core module? I can't find any instance of it
There was a problem hiding this comment.
It should be called when the animation ends to remove textures from RAM
|
I see you're using some sort of string for the texture |
|
elements is the complete Minecraft format without any changes; we do not need the other model parameters. texture is my implementation, created to optimize network performance. In Minecraft, you can specify multiple textures, but you can use an atlas to combine them all into one large texture, which is what is needed here. |
|
Well alright, my point is that people need some sort of tool to actually be able to turn their textures into that string |
|
I asked Claude to write a Python script |
|
How kind of Claude... |
To fix: