GithubHelp home page GithubHelp logo

metalar's Introduction

MetalAR

AR application sample using Metal without SceneKit.

Features

  • Render only by Metal
    • Filter camera frame
    • Draw objects in 3D space
  • Take a picture on background

Files contained project

  • ShaderTypes.h
    • Define types used from shaders and swift.
  • ViewController.swift
    • Main view controller.
  • Context.swift
    • Context to store device, library, commandQueue, textureCache.

UI

  • Display.swift
    • Class to draw texture on display.
  • ShadersDisplay.metal
    • Declears shader functions to draw texture on display.
  • Shutter.swift
  • ShutterButton.swift

Renderer

  • Shaders.metal
    • Declears shader functions for off-screen rendering.
  • Renderer.swift
    • Class to manage objects and process GPU commands.

MatrixOperations

  • MatrixOperations.swift
    • Support operations of transform matrix.

metalar's People

Contributors

naru-jpn avatar

Stargazers

 avatar Shankeerthan avatar Jerry Zhao avatar Sebastien Menozzi avatar melih mete avatar Darko avatar  avatar Yan Nuoyuan avatar shunkun avatar  avatar Arthur Schiller avatar Astemir Eleev avatar John avatar Ethan Sun avatar 吴述军 Brant avatar Brad MB avatar John Clema avatar luohaoyuan avatar noppe avatar Youngmin Kim avatar Ahn Jung Min avatar tomisacat avatar Suguru Kishimoto avatar Divgun avatar Hyuk Hur avatar Koul Dela avatar  avatar SirVon Thomas avatar Ahmed Bekhit avatar Phill Pasqual avatar Hery avatar patrick piemonte avatar Lucas avatar Shuichi Tsutsumi avatar

Watchers

James Cloos avatar

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.