Code Monkey home page Code Monkey logo

arcorelocation's People

Contributors

rafaelfrancisco-dev avatar smithskyler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arcorelocation's Issues

Example doesn't work, v. 0.1.9 doesn't exist

I try to run example but picture freezes and stops.
I also try to run project with pod v. 0.1.9 but CocoaPods could not find compatible versions for pod "ARCoreLocation":
In Podfile:
ARCoreLocation (~> 0.1.9)
Hope on your reply!

Marker flickering issue

The ARMarker we have added flickers a lot and does not stay at one place, can we fix this ?

Crashes

The framework crashes (iphone pro max running ios 16.3.1) every once in a while. (on Average within 30 seconds).

I traced the problem down to the use of "DispatchQueue.global(qos: .userInteractive).async " in the method: updateAnchorNodes. So this one:
DispatchQueue.global(qos: .userInteractive).async { if let textureImage = image { landmarkNode.texture = SKTexture(image: textureImage) } }

By dispatching this work to a queue to be done asynchronously at some later point in time, it can interfere with the rendering of the sprites. So the crash occurs in a system call which is setting GPU stuff because stuff is being altered while it is rendering. To fix it, just remove the queueing which will force the updating to be done in the callback of the delegate, not interfering in renderloops.

I noticed some other place the use of 'DispatchQueue.global(qos: .userInteractive).async' and I think they all can be removed as they don't add much except overhead to the system. Usually one uses these methods if a big chunk of work needs to be done and you want to take that out of the UI thread, but in this case where it is used I think the overhead of queueing actually would take more system effort than just doing these few matrix calculations or setting a texture.

In any case, great library... made using ARkit a lot simpler.

Include Framework in iOS 10 app

Is it possible to include this framework in an app that has a deployment target of iOS 10? Obviously I would only show the AR features to iOS 11 users as to not cause a crash. But I am not currently able to build my iOS 10 app.

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.