Repository navigation
Conversation
napi turned a width of 4294967896 into 600 and 600.9 into 600. The sides now arrive as numbers and must be whole and within the device limit before any model or texture loads.
…lapse the scene NaN, infinity, a zero scale or values that overflow once narrowed or multiplied through the chain reached the camera and gave an empty image. Each model's transform and placed points must now be finite with an invertible scale, and a scene whose points all meet at one point is refused.
…s depth The fixed 0.1 to 1000 planes clipped away a kart scaled 100, which sits thousands of units out, and one scaled 0.0001, which falls in front of the near plane. A framed camera now puts its planes at half the nearest point's depth and twice the farthest's, and framing fails for points it can't project. The skin renderer's fitted camera keeps its planes.
Distance from the eye misorders parts that sit side by side, such as a helmet's left and right halves. The blended pass now orders by the w a perspective projection gives each center.
Dividing the scale out of the normal matrix only restores the normals' length under an even scale, so a model scaled unevenly, like a helmet with a nonuniform display scale, lit brighter along some axes. Draws whose transform scales unevenly now have their normals normalized; every other draw, the skin's included, shades exactly as before.
…like the game LayerHeldItem draws from an arm that misses the sneaking body's 0.2 block drop, then moves the item 0.203125 blocks down the hand. Held items took the body's drop instead. Head items keep dropping with the body before the head's joint, as LayerCustomHead does.
…odels behind them In a scene the player, its armor and its cape blended partly transparent texels and wrote their depth, so a translucent kart behind a see-through skin texel went missing. Their opaque texels now draw with the depth like a model's, and the rest blend after every opaque texel without writing it, enchanted ones with their glint. They blend before the models' translucent texels rather than sorted among them: what lies behind them is the player's own body, and a model's large translucent shell, such as a kart around the player's legs, has its center behind them.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
# Conflicts: # packages/render-core/src/camera/orbital.rs # packages/skin-renderer/src/error.rs
|
Deployment failed for project statsify with the following error: Learn More: https://vercel.com/statsify-net?upgradeToPro=build-rate-limit |
The projection no longer goes through cgmath's perspective, which panicked on close planes.
The bones now turn by the same rotation place gives the model.
1.8 draws players at 0.9375 and armor stands at full size, with the stand's head a pixel lower, so a kart worn at the root drew 16/15 too small against its rider.
ugcodrr
changed the base branch from
feat/minecraft-models
to
feat/render-core-scenes
November 23, 2026 04:04
# Conflicts: # packages/skin-renderer/package.json # packages/skin-renderer/src/model.rs
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description: The renderer could only draw a player on their own, with no way to put a pack model on their head, in their hand or under them.
renderScenedraws an optional player with any number of pack models from aModelLibrary, built once per pack. Each model hangs from the root, the head or a hand, and is placed the way the game places a worn or held item, so most models need no offsets.sitpose, the game's riding pose.renderSkinoutput doesn't change.Stacked on #1248.
Testing:
renderScenewith a kart on the root and a helmet on the head of a seated player draws them where the game does.