Coder Social home page Coder Social logo

cloner's Introduction

Cloner

gif gif screenshot

Cloner is an example of use of the procedural instancing feature that was newly introduced in Unity 5.6.

Cloner creates instances of a given template mesh and place them onto vertices of a given base model. It uses a compute shader for vertex animation and GPU instancing for duplicating the template model. With helps of these GPU features, it can draw complex animation without spending much CPU time.

System Requirements

  • Unity 5.6 or later

Cloner only runs on the platforms that support compute shaders and GPU instancing.

License

MIT

cloner's People

Contributors

keijiro 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloner's Issues

Not running on osx

I cant seem to get this running on my Mac Book Pro. Sould it run on osx?

There is option for personal meshes

hi, i was pretty exited when i saw this but it only work with 1 specfic mesh. Is it possible to apply interactive point clouds, like the dancing one.

Problems with transparency and Unity 2018.1

Hello Keijiro,
Thanks a lot for this project, I used it a lot to build a GPU particle system based on indirect GPU instancing.

I added transparency in the Cloner shader by simply adding the "alpha" directive and writing the alpha value of the input albedo in the surface Alpha output. While this seems to work fine in Unity 2017.3, it crashes everytime in Unity 2018.1. Do you have any ideas as to why this is happening ?

Thanks for your help.

Convert to Point cloud

Hi,
Just wondering what is the workflow for using my own model as a cloner point cloud?
I see under/Assets/Cloner/convert to point cloud is greyed out

Thanks in advance:)
This plugin rules by the way:)

Issue with shader for openGL and Unity

Hello, Keijiro.
I have a problem with matte shader in opengl.
I worked with matte shader before in Unity with .shader file format.
In OpenGL the shader type is normally .glsl and not sure how can I implement matte shader into .glsl format. I am newbie in shader scripting.
I think you are super expert in shader scripting and I kindly hope you help me.
Thank you.
Makuna

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.