hansemannn / titanium-arkit Goto Github PK
View Code? Open in Web Editor NEWUse the iOS 11 ARKit API in Axway Titanium
License: MIT License
Use the iOS 11 ARKit API in Axway Titanium
License: MIT License
Tried this in an Alloy Project -- brand new project. 6.2.0.GA -- installed to iOS11 on an iPhone 7.
var ARKit = require('ti.arkit');
var sceneView = ARKit.createSceneView({
scene: 'Titanium.scnassets/ti-logo.scn' // Create your Scene Assets in Xcode and place them in app/platform/ios (Alloy) or platform/ios (Classic)
});
$.index.addEventListener('open', function() {
console.log("OPENED")
sceneView.run();
});
$.index.add(sceneView);
$.index.open();```
Permissions are all set in TiApp.xml.
App loads with black screen (the index.xml) -- nothing else happens. "OPENED" appears in the console, no other errors that indicate an issue.
I guess the most basic use-case would be an app, which displays and manipulates 3D-Objects (e.g. DAE) in a SceneView based on ARKit plane-detection.
APIs should include:
ARSCNView
-ProxySCNSceneSource
or SCNScene
SCNNode
SCNVector3
SCNMorpher
Thank you,
Hendrik.
i try to use your module, but i get error message as show as below:
[ERROR] : Module titanium-arkit-master version 1.0.0 is missing library file: /Users/dinghengduan/Documents/Appcelerator_Studio_Workspace/test arkit/modules/iphone/titanium-arkit-master/1.0.0/libtitanium-arkit-master.a
Is there a file missing in your module?
Personally I think Maps would be a good place to start. Just being able to provide an AR "Pin" Annotation would be super slick.
Something like this: https://9to5mac.com/2017/07/21/arkit-augmented-reality-navigation/
Thanks,
Adam.
HI,
I have encountered a problem which has not been mentioned, the textures of my objects are not displayed.
I tried using the same .scn file in a xcode project and it works fine. But when I use it in titanium the object is displayed but without the textures. The texture files are in the same folder as my .scn file.
iPhone 6S
ti.arkit v 1.0.0
Titanium SDK 7.0.1 GA
Xcode 9.2
Thanks for your help !
Kilyan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.