Open Asset Import Library(简称:Assimp)是一个可移植的开源库,可以统一的方式导入各种着名的3D模型格式。
如何为 Qt6 MinGW 64 位设置 Assimp 以在 WebAssembly 上运行
接下来的步骤对我有用(在我将 C: msdk\upstream mscripten 添加到 Path 变量之后): > cd assimp-5.2.5 && mkdir 构建 && cd 构建 > emcmake cmake .. > emmake 使 ...
尝试编译 Assimp 时无法解析的外部符号 _aiGetMaterialTextureCount
我尝试在我的 C++ 游戏引擎中使用 Assimp,但无法链接。我知道“无法解析的外部符号”意味着链接器无法找到函数,但我知道我已经......
任何加载文件的 PyAssimp 错误 - 场景没有属性网格、材质或纹理
我正在尝试让任何示例(包括在 Assimp 存储库中找到的示例)正常工作。将 pyassimp 5.2.5 与 Python 3.11.6 结合使用。下面是一个非常基本的调用示例。我正在加载
描述错误 .X 文件中的 UV 纹理映射问题,有时可以完美加载,但在极少数情况下会发生。 重现 重现该行为的步骤: 尝试加载 Land_Objects_WareHous...
NormalTexture 在 Wavefront 资源材质格式中是如何表示的?
我已经集成了“Assimp”库来加载我的 OBJ/MTL 文件组件。 一切正常。 但让我们重点关注以下 MTL 文件示例: # Blender MTL 文件:'plane.blend' # 材质...
我需要将局部空间网格转换为全局空间。 生成的法线向量似乎不正确。 我得到了顶点的世界变换矩阵(这有效,因为......的位置
我正在尝试在我的游戏引擎中实现骨骼动画,但在用 C++ 制作骨骼动画时遇到了问题。角色有动画,但躯干和手臂看起来扭曲。我正在关注
我在 Windows 11 的 c++ 中链接 assimp 时遇到问题。我正在学习 LearnOpenGL 教程,但是我无法让 assimp 正确链接。我能够制作并生成 assimp .dl...
PxTriangleMesh* PhysX::CreateTriangleMesh(const PxVec3* verts, const PxU32 numVerts 、const PxU32* 索引、const PxU32 numIndexes、PxPhysics* 物理、PxCooking* 烹饪) { // 创建描述...
尝试从 makefile 构建 assimp 时出现多个 -fpermissive 错误
我已经使用 git clone https://github.com/assimp/assimp.git 从 git 下载了 assimp 源代码。然后我使用了 cmake,但我必须添加标志 -DASSIMP_WARNINGS_AS_ERRORS=OFF 才能避开
我想改进 3D 应用程序的序列化时间。 我使用以下场景进行测试: https://www.dropbox.com/scl/fi/j8ays9phm2xs45icla4bo/TestScene.zip?rlkey=qy8jpwgz3s8b95mz62l8ax...
我正在尝试使用 FBX SDK 导入 FBX 文件。参考的是 FBX 的“ImportScene”示例。我提取了顶点(FBX 中的控制点)和索引。我想检查是否提取了
我在我的 C 项目中使用 assimp 库。我使用 sudo apt install libassimp5 安装了该库并包含以下标头: #包括 #包括 我在我的 C 项目中使用 assimp 库。我使用 sudo apt install libassimp5 安装了该库,并包含以下标头: #include <assimp/cimport.h> #include <assimp/postprocess.h> #include <assimp/scene.h> 一开始一切似乎都很好,但像 aiMesh 和 aiScene 这样的类型名称是未知的。我也在使用 -lassimp 标志进行编译。知道为什么这些类型名称未知吗?这是我的错误: unknown type name ‘aiMesh’ static struct Mesh processMesh(aiMesh *mesh, const aiScene *scene) { 关于如何解决这个问题有什么想法吗? 您还需要包含 mesh.h nHeader: #include <assimp/mesh.h> 希望有帮助!
如何使用 MinGW(Windows、GCC)以 64 位编译 cmake 生成的二进制文件?
我一直在尝试使用 cmake 和 MinGW 为我的项目编译模型加载库 Assimp。但是,我不知道如何为我的项目中使用的 64 位执行此操作。我用过...
我正在编写一个简单的程序,它应该使用 assimp 库导入一个步骤文件并将其转换为 collada 格式。 这是我的代码: #包括 #包括 我正在编写一个简单的程序,它应该使用 assimp 库导入一个步骤文件并将其转换为 collada 格式。 这是我的代码: #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <assimp/Exporter.hpp> #include <iostream> int main() { Assimp::Importer importer; const aiScene* scene = importer.ReadFile( "../cad/excavator.STEP", aiProcess_CalcTangentSpace | aiProcess_Triangulate | aiProcess_JoinIdenticalVertices | aiProcess_SortByPType); if (!scene) { std::cout << "ERROR: model could not be loaded. \n"; return 1; } // export the scene as a Collada file Assimp::Exporter exporter; exporter.Export(scene, "collada", "../solutions/newFile.dae"); return 0; } 这个脚本输出Segmentation fault (core dumped) CMake 输出警告,不知道有没有关系: CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) CMakeLists.txt:5 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. 使用以下 CMakeList.txt: find_package(assimp REQUIRED) add_executable(AssimpTest AssimpTest.cpp) target_link_libraries(AssimpTest ${ASSIMP_LIBRARIES}) 我在 Ubuntu 20.04.6 LTS 上,我正在使用 assimp 版本 5.0.1~ds0-1build1 非常感谢解决此问题的任何帮助。谢谢。
最近我一直在尝试将 assimp 实现到 Frank Luna 的基本 dx12 引擎中,作为我学习的一部分。我真的很难让矩阵数学正常工作,并且遇到了...
aiNode::mTransformation 是如何计算的?
我想通过Assimp库加载模型的时候遇到这样的问题: aiNode::mTransformation的解释(https://assimp.sourceforge.net/lib_html/structai_node.html#
我刚刚开始使用 Assimp 来解析一些 stl 文件。我从源代码构建它并将其作为静态库安装在我的系统中(Manjaro Linux x86_64 - 内核 6.2.6-1)。去感受...
dyld[2447]:未加载库:@rpath/libassimp.5.dylib
我目前正在使用 VSCode 构建一个 OpenGL 项目,并尝试使用 assimp 导入 3D 模型。我构建了 .dylib 文件并将其包含在我项目的 lib 文件夹中。它成功地遵守了,但是......
使用 CMake 包含 ompl 和 assimp 包时出现未定义的引用错误
尝试使用 CMake 编译我的项目时出现以下错误 (我在 Ubuntu 22.04.2 LTS 上): 合并目标 AssimpTest 的编译器生成的依赖项 [ 50%] 构建CXX对象