Giter Club home page Giter Club logo

arvolumevfx's Introduction

ARVolumeVFX

A toolkit to create vfx based on the environment and humen 3D data (retrived from lidar sensor on AR enabled devices) in AR. This is a noncommercial tool to explore the possibility of visual effects in AR environment, be prepared to unexpected jittery or unstable results on mobile devices.

Environment Requirements

  • Unity 2021.2 or later
  • Universal Rendering Pipeline
  • VFX Graph package
  • AR Foundation + ARKit (ARCore is not tested, but theoretically it will work)
  • AR enabled devices with Lidar sensor(IPad pro, IPhone 12 Pro etc.)

How to Install

  1. Install and config AR foundation correctly follow this instruction
  2. Compile one of the sample scenes from https://github.com/Unity-Technologies/arfoundation-samples and make sure it runs successfully on your device before moving onto the next step.
  3. Pull the toolkit branch from this repo. Build the example scene and try it out.

Components

  • LidarDataProcessor : to process environmental and human data (eg. depth/ stencil), prepared vfx binder ready data. how to use: Add an empty game object to your scene, and add LidarDataProcessor to it, then drag the respective components to the parameter list from your scene.

image

  • VFXLidarDataBinder : to bind the AR scene data to VFX graph. how to use: Add visual effect and vfx binder components to your vfx gameobject, click the "+" button from vfx binder and select Lidar Data. (in VFXPropertyMenu, select the property you will use in your VFXGraph)

image

VFX Subgraph tools

  • Environment Mesh Position : read vertices from EnvironmentMesh, set positions for particles

image

  • Human Froxel : set particle positions to human (refer to DemoExample VFXGraph to see how to use)

image

  • Kill Nonhuman : remove particles that are outside of human stencil (refer to DemoExample VFXGraph to see how to use)

image

Feature Demonstration

  • Environment
ARVFX_ENV0_Trim_Trim.mp4
ARVFX_ENV1.mp4
  • Human
ARVFX_HU.mp4

More examples coming up...

arvolumevfx's People

Contributors

eyezlee avatar

Stargazers

 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.