Hello greetings, I have a question. How can I include an object with 3d animation (fbx - gltf) , even if it is small, in this type of WPF applications?
@Angel Lopez Rodriguez - Greetings! Try using the Open Asset Import Library (Assimp). github.com/assimp/assimp // Using AssimpContext class using (AssimpContext context = new AssimpContext()) { Scene scene = context.ImportFile("MyModel.fbx"); Model3D model = scene.ToModel3D(); ModelVisual3D modelVisual = new ModelVisual3D(); modelVisual.Content = model; Viewport3D viewport = new Viewport3D(); viewport.Children.Add(modelVisual); } I hope this helps.
Beautiful!
@William Liu - Thanks!
Good stuff!
@BSPBuilder - Thanks!
incredible
@Le Hoan - Thanks!
Hello greetings, I have a question.
How can I include an object with 3d animation (fbx - gltf) , even if it is small, in this type of WPF applications?
@Angel Lopez Rodriguez - Greetings! Try using the Open Asset Import Library (Assimp). github.com/assimp/assimp
// Using AssimpContext class
using (AssimpContext context = new AssimpContext())
{
Scene scene = context.ImportFile("MyModel.fbx");
Model3D model = scene.ToModel3D();
ModelVisual3D modelVisual = new ModelVisual3D();
modelVisual.Content = model;
Viewport3D viewport = new Viewport3D();
viewport.Children.Add(modelVisual);
}
I hope this helps.
太厉害了
@iampure7318 - Thanks!