3D file importer to UE4 project at runtime using Assimp and Procedural Mesh
Open Asset Import Library (short name: Assimp) is a portable Open Source library to import various well-known 3D model formats in a uniform manner. The most recent version also knows how to export 3d files and is therefore suitable as a general-purpose 3D model converter. Asset-Importer-Lib is ...
- Written in portable, ISO-compliant C++ ( C++11 supported )
- Easily configurable and customizable build chain via cmake
- Core interface / API is provided for both C++ and C
- Easy to configure Post-processing pipeline
- Command-line interface to perform common operations (i.e. quick file stats, convert models, extract embedded textures) from the shell
- Imports bones, vertex weights and animations (i.e. skinning, skeletal animations)
- Loads multiple UV and vertex color channels (current limit is 8)
- Works well with UNICODE input files
- Supports complex multi-layer materials
- Supports embedded textures, both compressed (e.g. PNG) or just raw color data
Its an experemental plugin of unreal engine.
- assimp-vc141-mt.dll should be placed in Binaries of your project Binaries.
- thirdparty folder should be placed in your project folder
- Source has importer and importedMesh should be placed in your source folder and importer needs to be spawned in the game.
- Add in your MyProject.Build.cs: PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ProceduralMeshComponent" });
- Add in your MyProject.Build.cs: var basePath = Path.GetDirectoryName(RulesCompiler.GetFileNameFromType(GetType())); string thirdPartyPath = Path.Combine(basePath, "..", "..", "Thirdparty");
- Add in you MyProject.Build.cs: PublicIncludePaths.Add(Path.Combine(thirdPartyPath, "assimp", "include")); PublicLibraryPaths.Add(Path.Combine(thirdPartyPath, "assimp", "lib")); PublicAdditionalLibraries.Add("assimp-vc141-mt.lib");