Expand description
Backend-agnostic immediate-mode 3D line/point rendering.
The browser demo currently renders 3D on the CPU into a Canvas 2D context
(Canvas2dRenderer()). The native runtime has real wgpu compute, and a
future WgpuRenderer (WebGPU/WebGL) can implement this same Renderer
trait so call sites such as the physics surface stay backend-agnostic and the
browser demo can eventually benchmark genuine GPU work.
Geometry is submitted in world space; each backend is responsible for
projection. The CPU backend projects via Camera::project; a GPU backend
would project in a vertex shader.
Re-exports§
pub use command_stack::StudioCommand;pub use command_stack::StudioCommandStack;pub use gizmo_3d::GizmoDragDelta;pub use gizmo_3d::GizmoHandle;pub use gizmo_3d::GizmoMode;pub use gizmo_3d::GizmoPickHit;pub use gizmo_3d::Motor as StudioPgaMotor;pub use gizmo_3d::MotorGizmo3D;pub use graph::Node;pub use graph::Scene;pub use graph::Style;pub use inspector_10d::AbsmLayerInspectorState;pub use inspector_10d::AffordanceBinaryRecord;pub use inspector_10d::DevelopmentalKeyframeRecord;pub use inspector_10d::EntityOntologyMiniHeader;pub use inspector_10d::Epistemic10DSliceParams;pub use inspector_10d::ProceduralSynthesisHeader;pub use inspector_10d::StudioNodeInspector10D;pub use inspector_10d::Tensor10D as StudioTensor10D;pub use inspector_10d::MAX_INSPECTOR_ABSM_LAYERS;pub use inspector_10d::MAX_INSPECTOR_AFFORDANCES;pub use inspector_10d::MAX_INSPECTOR_KEYFRAMES;pub use mesh::Mesh;pub use mesh::Transform;pub use qualia::build_scene;pub use qualia::item_color;pub use qualia::ItemState;pub use qualia::SceneItem;pub use qualia::SceneSource;pub use qualia::SemanticScene;pub use scene::Camera;pub use scene::ScreenPoint;pub use scene::Vec3;pub use studio_preview::empty_workspace_fallback_scene;pub use studio_preview::motion_class_from_binding;pub use studio_preview::native_headless_png_byte_len;pub use studio_preview::orbit_preview_camera;pub use studio_preview::preview_item_swatch;pub use studio_preview::rasterize_scene_draw_count;pub use studio_preview::render_contract_from_panes;pub use studio_preview::semantic_scene_from_panes;pub use studio_preview::step_native_selection_pulse;pub use studio_preview::tensor_buffer_digest;pub use studio_preview::theme_motion_timeline;pub use studio_preview::workspace_scene_from_panes;pub use studio_preview::workspace_scene_from_source;
Modules§
- command_
stack - Bounded, Zero-Heap Reversible Command Stack (
command_stack.rs) - gizmo_
3d - Zero-Heap 3D PGA Motor Manipulation Gizmos (
gizmo_3d.rs) - graph
- Scene graph — the structural half of the engine dev-kit.
- inspector_
10d - Zero-Heap Live 10D /
EONT1/PROC1/ ABSM Inspector State (inspector_10d.rs) - mesh
- Mesh primitives and transforms — the geometry half of the engine dev-kit.
- motion
- Critically damped spring physics for calm, non-distracting UI motion
- motion_
loop - RequestAnimationFrame / interval driver for spring-smoothed UI motion.
- native
- Native WebGPU renderer using webizen-render crate
- node_
graph - Node-relational presentation — SVG graph of panes and their bindings.
- prelude
- Ergonomic single-import surface for building scenes:
use crate::render::prelude::*; - q_
viewport - Declarative
<q-viewport>lifecycle — types and pure logic (plan §7.3 W5). - qualia
- QualiaDB-driven scenes — the binding that makes this a semantic 3D engine.
- scene
- Geometric primitives for manifold projection: vector math, projection viewpoint, projected points.
- scene_
to_ contract - Convert internal Scene graph to neutral RenderScene contract
- spatial_
bridge - Spatial presentation mode — volumetric GPU preview via the native engine.
- studio_
preview - Native studio render pipeline — wires graph/mesh/qualia/scene/tensor types into
the headless GPU contract used by
update_render_preview. - tensor_
buffer
Traits§
- Renderer
- An immediate-mode renderer for line/point 3D scenes.
Functions§
- render_
stack_ revision - Touch the render stack so graph/mesh/qualia/scene exports stay wired (lib + bin).