Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 2, 2013, 06:16 AM   #1
cardinal724
macrumors newbie
 
Join Date: Feb 2013
Open Asset Import Library

Hey guys,

Has anyone here ever used the Open Asset Import library (Assimp) in order to import 3D models into XCode?

I've having a very difficult time figuring out how to build the library and then link it with my existing XCode project.

The website for Assimp says to use the program CMake and offers this graphic as an instruction: ( http://assimp.sourceforge.net/lib_html/cmake_build.html )
but it's vague (at least to me) and can't get it to work right.

So if you've downloaded Assimp, if you would be able to give me a clear step-by-step set of instructions of exactly what it is I need to do, that would really be doing me a *huge* favor.
cardinal724 is offline   0 Reply With Quote
Old Feb 3, 2013, 03:03 PM   #2
Madd the Sane
macrumors 6502
 
Join Date: Nov 2010
Location: Utah
What do you mean "import 3D models into Xcode"? Do you want to add assets to a specific app, or make it so that the app can use the asset library?

As for making the library on OS X, cmake might be slightly better than configure. I think the cmake system can make an OS X framework that can be imported into the Xcode build process.
Madd the Sane is offline   0 Reply With Quote
Old Feb 3, 2013, 04:29 PM   #3
Starfox
macrumors regular
 
Join Date: Apr 2011
I use it on a daily basis for work, here's my version with an Xcode project that you can directly use: https://bitbucket.org/sherief/open-asset-import
Starfox is offline   0 Reply With Quote
Old Feb 3, 2013, 05:28 PM   #4
cardinal724
Thread Starter
macrumors newbie
 
Join Date: Feb 2013
I merely meant to say that I plan on using the Assimp library to import 3DS or .obj files into my current xcode project.

At Starfox: Thank you for your link! I've downloaded the files but just have one more quick question. In order to integrate this with my existing XCode project can I simply copy the code files in the folder 'code' into my project or is there something else I have to do as well?

Last edited by cardinal724; Feb 3, 2013 at 05:44 PM.
cardinal724 is offline   0 Reply With Quote
Old Feb 6, 2013, 08:37 PM   #5
Starfox
macrumors regular
 
Join Date: Apr 2011
Quote:
Originally Posted by cardinal724 View Post
I merely meant to say that I plan on using the Assimp library to import 3DS or .obj files into my current xcode project.

At Starfox: Thank you for your link! I've downloaded the files but just have one more quick question. In order to integrate this with my existing XCode project can I simply copy the code files in the folder 'code' into my project or is there something else I have to do as well?
Build the library via Xcode and it'll give you a .a file that you can link with your main project.
Starfox is offline   0 Reply With Quote
Old Feb 8, 2013, 10:27 PM   #6
cardinal724
Thread Starter
macrumors newbie
 
Join Date: Feb 2013
Quote:
Originally Posted by Starfox View Post
Build the library via Xcode and it'll give you a .a file that you can link with your main project.

Okay, I guess the reason I'm confused still is because the package seems like it has already been built. There are just a lot of files so I don't know how I'd go about building it in XCode. I had trouble understanding the CMake and Install files.
cardinal724 is offline   0 Reply With Quote
Old Feb 17, 2013, 03:21 PM   #7
Starfox
macrumors regular
 
Join Date: Apr 2011
Are you familiar with using external libraries, the linking process etc?
Starfox is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC