area205 members
3D scenes
Scenes, meshes, lights and cameras, materials, shaders, voxels and particles.
Start here
datumhue.scene.newCreate a 3D scene viewport.Scene:cubeSpawn a cube mesh.Scene:point_lightSpawn a point light.
In this area
- datumhue.scene3D scene graph: meshes, lights, cameras, raycasting.
- datumhue.materialPBR and unlit materials for 3D meshes.
- datumhue.shaderShader materials for UI panels, 2D draw primitives, and 3D meshes.
- datumhue.voxelEditable voxel volumes: palette materials, transform properties, scene-space raycasting, and bulk fills driven by the noise, grid, and image APIs.
- datumhue.particlesParticle effects: emitters spawn short-lived camera-facing quads with velocity, gravity, and size/color over life.
- SceneA 3D scene viewport returned by
datumhue.scene.new. - SceneNodeA node (mesh / light / model) within a 3D scene.
- SceneCameraThe scene's camera.
- SceneAmbientThe scene's ambient lighting.
- SceneBloomThe scene's bloom post-processing.
- SceneFogThe scene's distance fog.
- SceneVignetteThe scene's vignette post-processing.
- SceneLensDistortionThe scene's lens-distortion post-processing.
- SceneChromaticAberrationThe scene's chromatic-aberration post-processing.
- SceneGridThe scene's reference grid.
- MaterialA material handle returned by
datumhue.material.*. - ShaderA compiled shader returned by
datumhue.shader.neworbytes:shader, applicable to draw canvases, UI panels, or scene materials. - MeshA primitive node's mutable mesh, returned by
node:mesh(). - DeformerAn active mesh deformer returned by
node:deform. - VoxelAn editable voxel volume returned by
datumhue.voxel.new. - VoxelWorldA chunk-streamed voxel world returned by
datumhue.voxel.world. - VoxelChunkA loaded chunk of a streamed voxel world.
- EmitterA particle emitter returned by
datumhue.particles.emitter. - SceneAssetA glTF/GLB scene asset produced by
bytes:scene()orfile:read():scene()and placed viascene:model. - CubemapAssetA cubemap texture asset produced by
bytes:cubemap()orimage:to_cubemap()and consumed byscene:set_skybox/scene:set_environment.