Giter VIP home page Giter VIP logo

chicio / exploring-scenekit Goto Github PK

View Code? Open in Web Editor NEW
55.0 7.0 3.0 180.08 MB

:space_invader: An app created to explorer the features of SceneKit iOS framework. Assets load (Model I/O), interaction, animation, classical rendering (Blinn-Phong), physically based rendering.

Home Page: https://www.fabrizioduroni.it/

License: MIT License

Objective-C 17.55% Swift 82.45%
scenekit computer-graphics physically-based-rendering blinn-phong collada apple ios swift

exploring-scenekit's Introduction

Exploring-SceneKit

Build Status GitHub license Supported platform

An app created to explore the features of SceneKit, an iOS framework. What is SceneKit?

SceneKit combines a high-performance rendering engine with a descriptive API for import, manipulation, and rendering of 3D assets. Unlike lower-level APIs such as Metal and OpenGL that require you to implement in precise detail the rendering algorithms that display a scene, SceneKit only requires descriptions of your scene’s contents and the actions or animations you want it to perform.

Description

The app contains three example. In each one of them multiple features of SceneKit has been explored. The main features tested in this app are:

  • loading of assets using art assets and Model I/O
  • loading of Collada files from SCNAssets folder
  • rendering capabilities (lighting models and techniques)
  • animation and interaction supported

Scene 1

The first scene contains some meshes generated using the ones already integrated in SceneKit. This one is able to render sphere, plane, box, pyramid, cone, cylinder, capsule, tube and torus. In this scene we use SCNSphere and SCNBox customized with some physic property to simulated different collision behavious and interaction.

Scene 1

Scene 2

In the second scene I tried to import a model, lights and camera from a collada file created with Blender. I added some animation using CAAnimation to move the camera in the scene. All textures are automatically loaded within the model (as consequence of the fact that also its material are automatically loaded).

Scene 2

Scene 3

The third scene contains an example of the Physically based rendering engine contained in SceneKit. In this scene the following PBR features of in SceneKit have been used:

  • physically based light with customizable intensity and temperature
  • physically based material using ad-hoc textures and values
  • HDR post processing

The mesh used for the scene are taken from the stanford scan repository. You can find more information about this scene in my post blog "SceneKit and physically based rendering"

Scene 3

Scene 3 right

Scene 3 back

exploring-scenekit's People

Contributors

chicio 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  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.