M7.4: model import
New crate effectcraft-model (L2): glTF 2.0 (.gltf/.glb, data URIs, external buffers and images, PBR metallic-roughness with base/MR/normal/occlusion/emissive textures, node hierarchy, skins, step/linear/cubic animations) and OBJ/MTL import, parametric primitives, extruded/bevelled outline meshes and polygon triangulation with holes. Project: FootageKind::Model, LayerSource::Model/Primitive, Layer::environment, Geometry and Material Options builders, Environment light Source. Media probes and loads models (FootageSource::model). Engine: layer.newModel, layer.new3dPrimitive/newPrimitive, comp.renderer, layer.environment, material.set/reset/duplicateAssign/revealSource (stubs replaced); File > Import and layer.addItem pick up models. Hand-written fixtures with attribution sidecars. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4bcf1f447c
commit
83c7e14b94
@@ -22,6 +22,7 @@ fn item_icon(it: &Item) -> Icon {
|
||||
ItemKind::Footage(f) => match f.kind {
|
||||
effectcraft_engine::project::FootageKind::Still | effectcraft_engine::project::FootageKind::Sequence => Icon::Image,
|
||||
effectcraft_engine::project::FootageKind::Audio => Icon::Audio,
|
||||
effectcraft_engine::project::FootageKind::Model => Icon::Cube,
|
||||
_ => Icon::Footage,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -433,6 +433,7 @@ fn layer_icon(l: &Layer, project: &effectcraft_engine::project::Project) -> Icon
|
||||
LayerSource::Null => Icon::Null,
|
||||
LayerSource::Camera => Icon::Camera,
|
||||
LayerSource::Light { .. } => Icon::Light,
|
||||
LayerSource::Model { .. } | LayerSource::Primitive { .. } => Icon::Cube,
|
||||
LayerSource::Comp { .. } => Icon::Comp,
|
||||
LayerSource::Solid { .. } => {
|
||||
if l.switches.adjustment {
|
||||
|
||||
Reference in New Issue
Block a user