3d - Is it possible to use AssImp in a WP8 Direct3D application? -


i'm making application benefit being able import bunch of various model file types, hence interest in assimp.

however, appears compiling project arm more difficult seems , since not expert @ compiling foreign systems i'm not having luck using in wp8 app.

has been able use assimp in wp8 app? see others have been able make work ios app, compiling wp8 must not impossible, may difficult.

so long story short, possible , after couple days of fiddling, managed port over.

the way did wasn't best way it, i'll explain here anyways:

  1. i spent lot of time trying compile library separately linking it.

    a. able build both arm , x86/x64 using method unable link it.

    b. managed built adding source files , dependencies blank wp8 static library template.

    c. times when did link properly, runtime error saying module not found.

  2. through effort spent trying above approach work, became @ configuring vs2012 project compile assimp, went more direct approach avoid having link , added assimp source , dependencies main wp8 project.

    a. there number of strange things have assimp configured.

    b. important 1 making sure have of dependencies (namely boost) , additional files assimp needs not in source code directory. includes few version headers , contrib directory.

    c. after sure includes set , of necessary code known compiler, have file hacking around compiler issues.

    d. of slight changes have make port easy, uglier, 1 have comment out #includes in windows.h aren't trying bring in unused , incompatible headers.

  3. after that, should able entire project compiling , deploying! have managed load in , render models on both wp8 emulator , device itself.

if needs or if can send version of project doesn't have application code let me know!


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -