Repository navigation
scene 0.4.0
GizmoOrthographicVolumedraws an orthographic camera's view volume, sized by a bound fit mode, extents, zoom, and offset.NodeSpec.shadowCastingModecarries a node's shadow casting mode (off,on,doubleSided,shadowsOnly), delta-serialized and overridable on prefab instances through theshadowCastingpath.EnvironmentEffectsSpeccarries SMAA quality (smaaThreshold,smaaMaxSearchSteps,smaaMaxDiagonalSearchSteps,smaaCornerRounding), delta-serialized like the other effects.- The spec's temporal anti-aliasing defaults now match the renderer's.
SceneDocument.editor(EditorStateSpec,EditorCameraSpec) carries the editor camera pose and selection.- Added grid mesh splitting shared by editors and import pipelines:
splitTriangleMeshByGridbins whole triangles by world-space centroid into per-cell vertex/index buffers, andapplyMeshSplitHintsapplies-split<N>node-name hints across a document (split children namedGround_x0_z3, hint stripped, orphaned source data removed). - Added
documentWorldMatrix,countResourceReferences, andisPayloadReferenceddocument utilities. - Documents keep data this build does not read through a load and save. Unknown keys ride on the document, its specs, and their nested value objects (
unknown), unknown.fscenebchunks onSceneDocument.unknownChunks(UnknownChunk), and a property value with an unknown tag loads as an inertUnknownValueinstead of failing the document. - Added
encodeNode, which encodes one node the wayencodeDocumentdoes.
Development funded by our sponsors, Primio (Silver).