victorprad / InfiniTAM

A Framework for the Volumetric Integration of Depth Images
http://www.infinitam.org
Other
918 stars 351 forks source link

How to run InfiniTAM on iOS? #40

Closed ru-wang closed 8 years ago

ru-wang commented 8 years ago

Hello, I want to run this on an iPad, what should I do to build it for iOS? Do I need to write extra code? And by the way, is it possible to connect Kinect to iPad? Thanks!

ru-wang commented 8 years ago

Build successfully

victorprad commented 8 years ago

You can download a demo Xcode project from http://www.robots.ox.ac.uk/~victor/infinitam/files/InfiniTAM_ios9.zip . If you want the code to build you also need to add the Structure.framework from http://structure.io .

ru-wang commented 8 years ago

Thanks for that!

nidegen commented 7 years ago

the project is has a runtime error for me, the metal buffer size appears to be too large: 2017-02-09 14:01:18.371852 InfiniTAM[3197:2047583] Metal API Validation Enabled -[MTLDebugDevice validateNewBufferArgs:options:]:306: failed assertionnewBufferWith*:length 0x20000000 must not exceed 256 MB.'` seems strange, but probably is an issue with newer metal versions.

is the project maintained? maybe put it on github?:)

nidegen commented 7 years ago

@ru-wang did it work for you?

ru-wang commented 7 years ago

@nidegen It seems your iPad/iPhone does not have enough memory. You can change SDF block number in:

InfiniTAM/InfiniTAM/ITMLib/Utils/ITMLibDefines.h

Try reducing SDF_LOCAL_BLOCK_NUM :)

ru-wang commented 7 years ago

@nidegen The technical report might help(though it is for InfiniTAM v1): http://www.robots.ox.ac.uk/%7Evictor/infinitam/files/itmtechreport_20141027.pdf Check out the section 3.

nidegen commented 7 years ago

strange however as i have the max spec ipad pro :/ i assumed ther couldnt be an issue if it ran on older versions. i didt think the memeory limit on metal was reduced..

victorprad commented 7 years ago

Are you running in debug or release mode? I remember there were issues when running in debug mode (I used to get that error).

On Fri, Feb 10, 2017 at 2:53 PM, Nicolas Degen notifications@github.com wrote:

strange however as i have the max spec ipad pro :/ i assumed ther couldnt be an issue if it ran on older versions. i didt think the memeory limit on metal was reduced..

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/victorprad/InfiniTAM/issues/40#issuecomment-278963825, or mute the thread https://github.com/notifications/unsubscribe-auth/AHcYxXY0C4BGF9cPtnLDZDMfLxsmORheks5rbHnWgaJpZM4HoLve .

-- Dr Victor Adrian Prisacariu victor@robots.ox.ac.uk Senior Research Fellow in Information Engineering Principal Investigator Active Vision Lab

Department of Engineering Science University of Oxford, Parks Road, OX1 3PJ

T: +44 (0) 1865 283059 W (personal): http://www.robots.ox.ac.uk/~victor W (group): http://www.robots.ox.ac.uk/ActiveVision

nidegen commented 7 years ago

yep, Release mode did it