public GLtf2Helm() : base("Gltf2Helm") { MaterialSceneObjectComponent material = new MaterialSceneObjectComponent( new Pbr(), "Resources/Gltf/DamagedHelmet/glTF/DamagedHelmet.gltf", new Gltf2MaterialLoader()); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new AssimpModelLoader(), "Resources/Gltf/DamagedHelmet/glTF/DamagedHelmet.gltf" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(material); AddComponent(meshComponent); }
public PbrShperes() { MaterialSceneObjectComponent material = new MaterialSceneObjectComponent( new Pbr(), "Resources/MetalRoughSpheres/glTF/MetalRoughSpheres.gltf", new Gltf2MaterialLoader()); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new Gltf2ModelLoader(), "Resources/MetalRoughSpheres/glTF/MetalRoughSpheres.gltf" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(material); AddComponent(meshComponent); }
public MiraFbx() : base("MiraFbx") { MaterialSceneObjectComponent material = new MaterialSceneObjectComponent( new Pbr(), "C:/Users/kpbil/source/models/mira/source/Mira2.fbx", new AssimpMaterialLoader()); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new AssimpModelLoader(), "C:/Users/kpbil/source/models/mira/source/Mira2.fbx" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(material); AddComponent(meshComponent); }
public Knight() { MaterialSceneObjectComponent material = new MaterialSceneObjectComponent( new SpecularNormal(), "Resources/knight3.mtl", new WavefrontMaterialLoader() ); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new WavefrontModelLoader(), "Resources/knight3.obj1" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(material); AddComponent(meshComponent); }
public CerberusGltf() { MaterialSceneObjectComponent material = new MaterialSceneObjectComponent( new Pbr(), // "Resources/Gltf/sphere/sphere.gltf", "Resources/Gltf/cerebrus/scene.gltf", new Gltf2MaterialLoader()); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new Gltf2ModelLoader(), // "Resources/Gltf/sphere/sphere.gltf" "Resources/Gltf/cerebrus/scene.gltf" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(material); AddComponent(meshComponent); }
public Lion() { MaterialSceneObjectComponent materialComponent = new MaterialSceneObjectComponent( new SpecularNormal(), "Resources/Lion/Lion-snake.mtl", new WavefrontMaterialLoader() ); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new WavefrontModelLoader(), "Resources/Lion/Lion-snake.obj" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(materialComponent); AddComponent(meshComponent); }
public AnimatedModelTest() { MaterialSceneObjectComponent materialComponent = new MaterialSceneObjectComponent( new SimpleDiffuse(), "C:/Users/kpbil/source/repos/glTF-Sample-Models/2.0/RiggedSimple/glTF/RiggedSimple.gltf", new AssimpMaterialLoader() ); MeshSceneObjectComponent meshComponent = new MeshSceneObjectComponent( new AssimpModelLoader(), "C:/Users/kpbil/source/repos/glTF-Sample-Models/2.0/RiggedSimple/glTF/RiggedSimple.gltf" ); BasicManipulationsComponent manipulation = new BasicManipulationsComponent(meshComponent); AddComponent(manipulation); AddComponent(materialComponent); AddComponent(meshComponent); }