assimp

How to import assimp to my my Xcode project?

ぐ巨炮叔叔 提交于 2019-12-25 08:08:42
问题 I have downloaded assimp source code. How to import assimp to Xcode project - ARToolKit5 downloaded from ARToolkit official website? I am trying to load external models - made by blender,maya,3dmax - to this project. (ps: I am a beginner of Xcode, so please explain it in detail. ) Thank you! :) 回答1: I know it's late, but it might benefit someone else. Here are the steps : Download and extract the source code from(for version 3.3.1) https://github.com/assimp/assimp/archive/v3.3.1.zip Download

Error in building Assimp in Cmake

北战南征 提交于 2019-12-24 11:16:43
问题 Hi I'm trying to build Assimp with Cmake but the following error message appears everytime I try to configure Assimp. The version of Cmake is 3.11.0 and assimp is 4.0.0. Looking for DirectX... DirectX_PREFIX_PATH changed. Found DirectX: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86/d3d9.lib DX lib dir: C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x86 Looking for ZLIB... Found PkgConfig: C:/cygwin/bin/pkg-config.exe (found version "0.29.1") Checking for

OpenGL Texture Sampling not working

心已入冬 提交于 2019-12-23 02:47:07
问题 I'm using VC++10 + OpenGL + the Assimp Library to consume and then render some 3D models. The code is rendering the positions correctly, but for some reason the textures are seriously bugged. My texcoords appear to be loading correctly as are the texture files themselves - however I can't help but feel that the issue must be located with the loaded textures themselves. www.flickr.com/photos/95269725@N02/8685913640/in/photostream { i seem to have a lack of rep to post inline images } * ** * **

can't use assimp library

拜拜、爱过 提交于 2019-12-14 03:57:16
问题 I installed the assimp library using these commands: sudo apt-get install libassimp-dev assimp-utils sudo apt-get install libxmu-dev libxi-dev I downloaded the c++ source code from the assimp website, but it shows errors that I am not able to resolve CMake Error at CMakeLists.txt:42 (INSTALL): install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpleogl". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake

Assimp Faces all have indices (0,1,2)

帅比萌擦擦* 提交于 2019-12-13 16:25:54
问题 I'm using Assimp to load in OBJ files to render in OpenGL using my own rendering pipeline. But when I load in a file, every face has indices (0,1,2), rather than appropriate entries into the vertex array. Every example I could find does something similar to this (which is what I'm doing): for (size_t k = 0; k<mesh->mNumFaces; ++k) { if (mesh->mFaces->mNumIndices == 3) { out.index_list.push_back(mesh->mFaces->mIndices[0]); out.index_list.push_back(mesh->mFaces->mIndices[1]); out.index_list

Mirrored mesh and wrong UV map runtime export

混江龙づ霸主 提交于 2019-12-13 12:23:45
问题 EDIT: So after a brief contact with the Assimp dev, I was pointed towards the import process. As I took over the code from someone else, I did not think looking that part: using (var importer = new AssimpContext()) { scene = importer.ImportFile(file, PostProcessSteps.Triangulate | PostProcessSteps.FlipUVs | PostProcessSteps.JoinIdenticalVertices); } FlipUVs does exactly what it says, it flips on the y axis so the origin is now top left corner. So now I am able to get the model with proper UV

Dev IL linking and compiling error (0xc000007b) [closed]

瘦欲@ 提交于 2019-12-13 10:19:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm trying to make this project work Link to Lighthouse First a bunch of info: I'm using: Windows 7 Pro 64-bit and Visual Studio 2013 Ultimate (Project on default settings which I believe is 32-bit) About libraries: DevIL: I downloaded and installed this one DevIL 1.7.8 SDK for 32-bit Windows Assimp: assimp--3.0

Can't export models with assimp by using exporter class

和自甴很熟 提交于 2019-12-13 03:23:16
问题 i am using assimp libary to load models to my ios app. but for some large model files loading times are too long for an mobil app. considering the convert process time. i decided to convert my models by a tool before run time. my main goal is writing this scene to file. i have very basic c++ experience. First i tried assimp::expoerter class. i complied assimp libary with export settings on. But when i try to use export method i am getting this error message. No matching member function for

How do I get models to animate using Assimp?

痞子三分冷 提交于 2019-12-12 16:09:25
问题 Currently I'm trying to make a game engine in C++ with OpenGL and want to get 3D animations to work. I have been advised to use Assimp and was able to find a tutorial to get static models to work, but I have no idea where to even start with animations. I have been trying to Google it, but haven't been able to find anything that works. How can I modify my code to get animations? What file format is recommended for it? This is the code I have currently: //Mesh.h #include <string> #include "glut

Assimp Skeletal Animation : Bones associated with a Vertex

浪子不回头ぞ 提交于 2019-12-12 13:46:18
问题 I am trying to integrate the Assimp skeletal animation. Following this tutorial for reference. The change I am trying is to use fixed function pipeline. Problem : Position, Texture Coordinates and Normal Data is fine, but I cannot figure out how the four bones and the weight data is obtained for each vertex as mentioned in the tutorial. 回答1: I think the illustration in the tutorial is quite clear on that: 来源: https://stackoverflow.com/questions/25063274/assimp-skeletal-animation-bones