Code Monkey home page Code Monkey logo

arkit-sampler's Issues

How to save and load an object which was created by using ARKit ?

Hi guys, below scenario is possible or not ?

Scenario ::

I want to create a object where i pointed by AR.
I want to save SCNNode object which is created, I did by using NSUserdefaults.
I want to show the object which is saved when i relaunching my app.
Problems ::

I have created an object where i need even i saved but the problem is, It creating everywhere when i relaunching my app. I want to be unique object as where i created at the same location.

What is my idea to solve this problem ::

I was getting device location (latitude,longitude) along AR giving distances from device to object when i hit the screen. Also i did calculate the latitude and longitude of object place by using longitude, latitude(device location) and distance. Afterwards, set the radius as 30m from device location then in b/w if any object was created recreated the SCNNode.

Help ::

Is it possible to do, what i expected by using above idea ?

Hi , met a issue when running the code.

When running the code as the read , the Xcode reports,

Showing Recent Issues
Code Signing /Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework with Identity iPhone Developer: Jingxi Zhu (L2DDYE6479)

Showing Recent Issues
/usr/bin/codesign --force --sign B8FBC6429C19D8DBEDBAC1BD044D6D4D7B68D1CF --preserve-metadata=identifier,entitlements '/Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework'

Showing Recent Issues
/Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework: unknown error -1=ffffffffffffffff

Any advice or explanation is welcomed. Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.