Giter VIP home page Giter VIP logo

pfnn-demo's Introduction

Unity Demonstration for Phase-Function Neural Network for Character Control

Demonstration made in Unity for NN created for character control animations.

The video of demonstration can be seen on following link: https://www.youtube.com/watch?v=mBHTCtaOzzc

Goal of this project is to recreate novel type of functional Neural Network (NN) with Phase-Function which will be able to learn from its dataset and then use it in practical solution. Reason for building the NN is to teach it to create animations of walking, running, jumping, crouching and climbing movements. Also these animations could produce combinations and adaptations to each other according to player inputs in real time. Main advantage of this NN will be that it is useable in real time and it will consume small amount of computer RAM memory.

To play this demonstration user needs to have Xbox360 controller. Character can walk and jog depending on left stick direction amount and with combination of right trigger to jog. Also if user has pressed button B character can crouch. If left trigger button is pressed character facing direction will be the same as camera direction and movement direction is controlled with left stick.

To run this project you need weights for NN computation which can be downloaded on following link: https://drive.google.com/drive/u/0/folders/1U5eNoEIAEcnsuVD-vNVgYDKIw_87tY5s

Default weights location set in project is in "D:\Network weights". To change folder go to "PFNN_CPU.cs" script and change value of variable "WeightsFolderPath" on line 54. Weights are made by Holden D. in his work Phase-Functioned Neural Networks for Character Control (Holden D., Komura T., Saito J.) by which this whole project is made by.

pfnn-demo's People

Contributors

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