8000 GitHub - DomCR/MeshIO: 3D library in pure C# that allows reading and writing in multiple formats. · GitHub
[go: up one dir, main page]

Skip to content
  • DomCRPublic

    About

    3D library in pure C# that allows reading and writing in multiple formats.

    Topics

    Resources

    Contributing

    Stars

    63 stars

    Watchers

    5 watching

    Forks

    Repository files navigation

    MeshIO Build License nuget Coverage Status

    C# library to read/write and modify different 3D formats.

    Features

    MeshIO allows to read or create 3D files using .Net and also extract or modify existing content in the files, the main features may be listed as:

    • Read 3D files
    • Write 3D files
    • Extract or modify the content in the files like: Meshes, Cameras, Materials...
    • Math methods to apply geometric transformations.
    • Creation tools to generate meshes or primitives.

    Compatible 3D file formats:

    Read-ASCII Read-Binary Write-ASCII Write-Binary
    FBX6000 ✔️ ✔️ ✔️ ✔️
    FBX7000 ✔️ ✔️ ✔️ ✔️
    STL ✔️ ✔️ ✔️ ✔️
    GLB V1 ✔️ ❌
    GLB V2 ✔️ 🚧
    GLTF V1 🚧 ❌
    GLTF V2 🚧 🚧
    OBJ ✔️ 🚧

    The goal of this project is to give full support for all the formats in the table.

    Code Example

    public static void Main()
    {
    	Scene scene;
    	using (ISceneReader reader = FileFormat.GetReader(test.Path, onNotification))
    	{
    		scene = reader.Read();
    	}
    }
    
    // Process a notification from the reader
    private static void onNotification(object sender, NotificationEventArgs e)
    {
    	Console.WriteLine(e.Message);
    }

    Building

    Before building run:

    git submodule update --init --recursive

    This command will clone the submodules necessary to build the project.

    About

    3D library in pure C# that allows reading and writing in multiple formats.

    Topics

    Resources

    Contributing

    Stars

    63 stars

    Watchers

    5 watching

    Forks

    Releases

    Sponsor this project

    Used by

    Contributors

    Languages

    0