All Projects → piemonte → obj2usdz

piemonte / obj2usdz

Licence: MIT license
🦖 obj2usdz, convert .OBJ files to .USDZ on iOS

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to obj2usdz

SceneKit-PortalMask
Clean class to create a portal in SceneKit for use in ARKit.
Stars: ✭ 60 (+7.14%)
Mutual labels:  augmented-reality, arkit
Coreml In Arkit
Simple project to detect objects and display 3D labels above them in AR. This serves as a basic Template for an ARKit project to use CoreML.
Stars: ✭ 1,534 (+2639.29%)
Mutual labels:  augmented-reality, arkit
Nativescript Ar
Augmented Reality NativeScript plugin
Stars: ✭ 107 (+91.07%)
Mutual labels:  augmented-reality, arkit
Arkitgamespritekit
A game inspired by Pokemon Go build with ARKit and SpriteKit
Stars: ✭ 87 (+55.36%)
Mutual labels:  augmented-reality, arkit
React Native Arkit
React Native binding for iOS ARKit
Stars: ✭ 1,664 (+2871.43%)
Mutual labels:  augmented-reality, arkit
Arvisualizer
Prototype of a real-time visualization tool for ARKit sessions
Stars: ✭ 102 (+82.14%)
Mutual labels:  augmented-reality, arkit
Viro
ViroReact: AR and VR using React Native
Stars: ✭ 1,735 (+2998.21%)
Mutual labels:  augmented-reality, arkit
Scenekit Scnline
Draw a tube or thick line in SceneKit
Stars: ✭ 49 (-12.5%)
Mutual labels:  augmented-reality, arkit
Arkit Unity3d
Access ARKit features like world-tracking, live video rendering, plane estimation and updates, hit-testing API, ambient light estimation, and raw point cloud data.
Stars: ✭ 124 (+121.43%)
Mutual labels:  augmented-reality, arkit
Arkit Floorislava
Basic ARKit example that detects planes and makes them lava.
Stars: ✭ 120 (+114.29%)
Mutual labels:  augmented-reality, arkit
Arkit Projects
Experimenting with ARKit
Stars: ✭ 70 (+25%)
Mutual labels:  augmented-reality, arkit
Arkit Web
An experimental iOS app for rapidly prototyping ARKit experiences with WebGL.
Stars: ✭ 153 (+173.21%)
Mutual labels:  augmented-reality, arkit
Augmentedsolarsystem
An Augmented reality experience to explore planets in our Solar System
Stars: ✭ 69 (+23.21%)
Mutual labels:  augmented-reality, arkit
Arkit 2 Image Tracking Demo
iOS 12 + ARKit 2 + Image tracking means: Harry Potter style moving pictures, living movie posters, video postcards, paper-thin “displays,” and lots more augmented reality fun.
Stars: ✭ 102 (+82.14%)
Mutual labels:  augmented-reality, arkit
React Arkit
AR library for React-Native based on ARKit
Stars: ✭ 57 (+1.79%)
Mutual labels:  augmented-reality, arkit
Xr Unity
8th Wall XR Unity projects and resources. Feel free to contribute!
Stars: ✭ 108 (+92.86%)
Mutual labels:  augmented-reality, arkit
Partfolio
Rosberry Portfolio app made with Apple ARKit
Stars: ✭ 29 (-48.21%)
Mutual labels:  augmented-reality, arkit
Ar Ane
ARKit Adobe Air Native Extension for iOS11
Stars: ✭ 35 (-37.5%)
Mutual labels:  augmented-reality, arkit
Arplayer
Playback videos using ARKit and AVFoundation.
Stars: ✭ 117 (+108.93%)
Mutual labels:  augmented-reality, arkit
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+3364.29%)
Mutual labels:  augmented-reality, arkit

obj2usdz

Create .USDZ files from iOS itself in Swift.

Note

Since WWDC19, it's now possible to write usdz files natively using SceneKit. (thanks @cpheinrich)

This repo shared an older technique prior to it's the current recommended method:

import SceneKit
import ModelIO

let asset = MDLAsset(url: objPath)
let scene = SCNScene(mdlAsset: asset)
scene.write(to: <your-usdz-file-path>, delegate: nil)

Recommended at WWDC19

Previous Technique

With the introduction of the USDZ format and iOS 12, Apple provided guidance only for creating .usdz files using their macOS commandline tool:

xcrun usdz_converter Tyrannosaurus.obj Tyrannosaurus.usdz 
-g TyrannosaurusMesh
-color_map Tyrannosaurus_Color.png
-metallic_map Tyrannosaurus_Metallic.png
-roughness_map Tyrannosaurus_Roughness.png
-normal_map .  Tyrannosaurus_Normal.png
-emissive_map  Tyrannosaurus_Emissive.png

Exporting to .USDZ

Copy the MDLAsset+usdz.swift file into your Xcode project and create .USDZ in the following way:

let objAsset = MDLAsset(url: objUrl)

let destinationFileUrl = URL(fileURLWithPath: "path/Scene.usdz")
objAsset.exportToUSDZ(destinationFileUrl: destinationFileUrl)

Resources

License

obj2usdz is available under the MIT license, see the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].