dymokomi/luce-3d
Source of release 0.9.2
## The three export: scenes, objects, materials, cameras, lights and the
## renderer. Geometry comes from luce-geocore; its vectors, matrices and the
## Geometry interface are re-exported, since scene code names them throughout.
from luce_geocore import geocore
pub type Vector3 = geocore.Vector3
pub type Matrix4 = geocore.Matrix4
pub type Geometry = geocore.Geometry
pub type Vertex = geocore.Vertex
pub type Bounds = geocore.Bounds
import core.material
import geometries.buffer
import geometries.sphere
import geometries.box
import geometries.mesh_geometry
pub type MeshGeometry = mesh_geometry.MeshGeometry
pub let mesh_geometry_type = mesh_geometry.mesh_geometry_type
import materials.lambert
import materials.basic
import errors
import renderers.wire
pub type WireRenderer = wire.WireRenderer
## Release the shared pipeline of lines that write no depth (the ground grid).
pub let release_line_pipelines = wire.release_line_pipelines
import renderers.wire_batch
pub type WireBatch = wire_batch.WireBatch
pub let wire_batch_type = wire_batch.wire_batch_type
import renderers.curve_lines
pub type CurveLines = curve_lines.CurveLines
pub let append_curve_segments = curve_lines.append_curve_segments
import renderers.edit_overlay
pub type EditOverlay = edit_overlay.EditOverlay
pub let edit_overlay_type = edit_overlay.edit_overlay_type
import renderers.knife
pub type Knife = knife.Knife
pub type KnifePlane = knife.KnifePlane
import renderers.fog_volume
## A fog drawing ray-marched on the GPU, and its look's numbers.
pub type FogVolume = fog_volume.FogVolume
pub type FogLook = fog_volume.FogLook
pub let fog_volume_type = fog_volume.fog_volume_type
## A heap FogVolume of a set's fog drawing, for Base callers (a worker).
pub let fog_volume_of = fog_volume.fog_volume
## The fog drawings of a set's own volume.
pub let fog_grid_count = fog_volume.fog_grid_count
## A fog drawing's content key, its look (whole, and its numbers), and a
## volume taking a new look, for Base callers.
pub let fog_volume_key = fog_volume.fog_volume_key
pub let fog_look = fog_volume.fog_look
pub let fog_look_of = fog_volume.fog_look_of
pub let restyle_fog = fog_volume.restyle_fog
## Release the shared fog shader and pipelines.
pub let release_fog_pipelines = fog_volume.release_fog_pipelines
import renderers.gaussian_splats
## A point cloud drawn as Gaussian splats (or dots), how it looks, and the
## GPU times of its last sorted view.
pub type GaussianSplats = gaussian_splats.GaussianSplats
pub type SplatLook = gaussian_splats.SplatLook
pub type SplatMode = gaussian_splats.SplatMode
import renderers.splat_view
pub type SplatTimes = splat_view.SplatTimes
pub let gaussian_splats_type = gaussian_splats.gaussian_splats_type
## A heap GaussianSplats of a set's point cloud, for Base callers (a worker).
pub let gaussian_splats_of = gaussian_splats.gaussian_splats
## The points of a set's cloud, and its content key, for Base callers.
pub let splat_count = gaussian_splats.splat_count
import renderers.splat_data
pub let splat_key = splat_data.splat_key
import renderers.splat_scene
## Several clouds drawn as one, sorted together each view.
pub type SplatScene = splat_scene.SplatScene
pub let splat_scene_type = splat_scene.splat_scene_type
## Release the shared splat shader and pipelines.
pub let release_splat_pipelines = gaussian_splats.release_splat_pipelines
import renderers.radix_sort
## The GPU radix sort Gaussian splats order their depths with.
pub type RadixSort = radix_sort.RadixSort
pub let radix_arguments = radix_sort.radix_arguments
pub type Material = material.Material
pub type Color = material.Color
pub type BufferGeometry = buffer.BufferGeometry
pub type SphereGeometry = sphere.SphereGeometry
pub type BoxGeometry = box.BoxGeometry
pub let box_geometry_type = box.box_geometry_type
pub type MeshLambertMaterial = lambert.MeshLambertMaterial
pub type MeshBasicMaterial = basic.MeshBasicMaterial
pub let invalid: ErrorCode = errors.invalid
pub let busy: ErrorCode = errors.busy
pub let buffer_geometry_type = buffer.buffer_geometry_type
pub let sphere_geometry_type = sphere.sphere_geometry_type
pub let lambert_material_type = lambert.lambert_material_type
pub let basic_material_type = basic.basic_material_type
import core.object
pub type Object3D = object.Object3D
pub type ObjectNode = object.ObjectNode
pub type Light = object.Light
pub type LightKind = object.LightKind
pub let object_node_type = object.object_node_type
import scenes.scene
pub type Scene = scene.Scene
pub let scene_type = scene.scene_type
import objects.group
pub type Group = group.Group
pub let group_type = group.group_type
import objects.mesh
pub type Mesh = mesh.Mesh
pub let mesh_type = mesh.mesh_type
import objects.surface_hits
## Where a view ray meets the scene's surfaces, or a construction plane.
pub type SurfaceHits = surface_hits.SurfaceHits
pub type SurfaceHit = surface_hits.SurfaceHit
import lights.ambient
pub type AmbientLight = ambient.AmbientLight
pub let ambient_type = ambient.ambient_type
import lights.directional
pub type DirectionalLight = directional.DirectionalLight
pub let directional_type = directional.directional_type
import cameras.perspective
pub type PerspectiveCamera = perspective.PerspectiveCamera
pub let perspective_camera_type = perspective.perspective_camera_type
import renderers.renderer
pub type Renderer = renderer.Renderer
pub let renderer_type = renderer.renderer_type