vextris-forge-1.20.1-0.1.4.1.jar
Curse Maven Snippet
What's new
Vextris 0.1.4.1
Baking ahead: a large mesh can be prepared on background threads and handed to the GPU over a few frames, instead of stopping the game for one. Additive: every mesh loads, bakes and draws as in 0.1.4, and no public signature was removed or changed. Players see no difference from Vextris alone; mods that use it (Vettura 1.2.0's crash deformation) need this version.
MeshGpuCache.bakeAhead(model, bone, layer, selectors...): the entriesdrawBonewould draw are prepared ahead. Their vertices are written on worker threads (a quarter of the cores, one to four, below normal priority), and each call uploads the finished ones, at most about 3 ms of the render thread per frame. Returns true once all are in the cache. An entrydrawBonereaches before it is ready is baked at once, as before.GpuGeometry.write(...)andGpuGeometry.upload(...):buildsplit in two: vertices are written on any thread, uploaded on the render thread.MeshGpuCache.Stats:bakedAheadandpending.- Why: in Vettura, a large car's dented body (hundreds of thousands to over two million corners) was baked again on the render thread, stopping several frames of one crash for 50 to 100 ms each.
Mods that depend on [0.1.0,0.2.0-alpha), [0.1.1,0.2.0-alpha) or [0.1.4,0.2.0-alpha) accept 0.1.4.1.
Minecraft 1.20.1 · Forge 47.4.0+ · Java 17. Replace the old Vextris JAR in mods with this one.
This mod has no additional files