Giter Site home page Giter Site logo

salon's Introduction

header

While it is getting better, authoring hair cards for real-time engines is still pretty painful. With hair polycount in some games like FFXV running up to 15 thousand polygons, even the less painful card authoring systems like xgen are still pretty tedious - It's kind of a shame that after having a bunch of zBrush fibermesh fun, character artists have to live off of splines and slow-paced iteration.

With this tool (offered in VR or Desktop versions), authoring hair has never been easier - a little like Oculus' Quill or a little like zbrush, you simply point, drag and release to spawn strands of hair cards; you can then export the geometry to a third-party DCC for finetuning.

Install process

Unlike most of my other stuff, this repo contains both the source project and executable releases - It's up to you to decide if you want to do your grooming in-Unity (which can allow you to debug stuff you don't like or change materials) or use the more compact executable for portability (or if you use Godot or Unreal or don't have a Unity install on hand).

2dui

Control Scheme - Desktop

Just launch the standalone 2D release or the Salon2D Unity scene inside the project.

  • Left-click: Press and hold to draw hair.
  • Right-click-and-Drag: Orbit Camera.
  • Middle-click-and-Drag: Zoom Camera in and out.
  • Q or Onscreen Button: Undo.
  • Spacebar or Onscreen Button: Export to OBJ.
  • Onscreen buttons: Various functions like changing hair types.
  • Escape or Onscreen Button: Quit.

Control Scheme - VR

Just launch the standalone release or the Salon Unity scene inside the project.

  • Motion Controller Trigger: Press and hold to draw hair.
  • Backspace or Motion Controller Grip Button: Undo.
  • Spacebar: Export to OBJ.
  • Escape: Quit

process

Source Project

The Unity 2019.2 source is also included in this repo. Documentation for it will come another day, but prod or customize as you wish.

ui

Requirements

  • Drawing tablet reccomended if you're using the 2D version
  • Unity 2019.2.0b1 or later (if you're using the project and not the standalone build)
  • A VR headset with motion controllers if you're using the VR version (Tested on Oculus Rift CV1, ought to work with the HTC Vive + Wands and maybe with WMR headsets)

TODO

  • Save/ load?
  • Fix the bug where if you draw with both hands in VR it explodes
  • Add multiple hair types to the VR mode - and make sure the material assignments export properly
  • Better UV scaling to randomly pack hair in four UV quadrants
  • Better in-VR-headset UX
  • Reference frame to load portraits

Acknowledgements & Thanks

Per usual, whipped up in a few hours - Try and enjoy in spite of the bugs.

output

salon's People

Contributors

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