Entity rendering
So, entity rendering is quite a big thing. There are several things that need to be considered
-
Getting the models (e.g. https://github.com/JannisX11/blockbench/blob/ed9cec5747eac26d99f24e5fea09d7c19c13dd71/js/io/formats/skin.js, maybe extracting them in pixlyzer) -
Improving the overall system -
make models safe (e.g. wrapper class with all parts) -
restructuring code -
Performance improvements
-
-
Model extensions -
Armor (also elytra) -
Name rendering -
stuck arrows -
cape -
shoulder entities (parrots) -
trident -
...
-
-
Poses -
shooting -
eating -
sneaking -
flying -
crossbow -
swimming -
spyglass
-
-
Animators -
side lighting for block entities
- put another flag bit (side lighting), rotate normal and put all 6 light values in the uniform
- or maybe use the normal to detect what light value to use?
-
heavy z fighting on skin and player when further away from camera
-
chest type determinant by neighbour blocks
-
sign (text and model) is 90° rotated wrong
-
support legacy skins (<1.7): arms and legs are the same on both sides; only hat has an overlay
- check if resolution is 64x32 and then copy part (pixel by pixel): flip correctly
-
do a lot of caching (matrices, billboard, name, text, ...)
- hitbox: cache mesh data and reuse it?
-
performance: transform block entities async and draw at the same time
-
- hypixel lobby: "xx playing npc" text way too dark (also on greev.eu; light level taken from somewhere wrong)
-
Player model
- item holding
- arm swinging (also shakes body)
- body only rotated if head is off specific angle
- body always points in ~ velocity direction
- poses
Player
- arm
- cape
- stuck arrows/stingers
- armor (elytra, armor, head items)
- shoulder entities (parrots)
- trident
- shadow
Other entities
- pig (piglet)
- leash
- cow (calf)
- chicken
- sheep
Easter eggs
- jeb_: colored sheep
- deadmanu5: ears
- pig:
Technoblade
: crown
Edited by Moritz Zwerger