Giter Club home page Giter Club logo

three-vrm's People

Contributors

mandel59 avatar reminjp 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

three-vrm's Issues

Implement shaders

Currently the loader supports only a few properties of Unlit, MToon.

TODO

Unlit

  • VRM/UnlitTexture
  • VRM/UnlitCutout
  • VRM/UnlitTransparent
  • VRM/UnlitTransparentZWrite

MToon

Properties

  • RenderType: Opaque | Cutout | Transparent | TransparentCutout
  • uniform float _Cutoff
  • uniform vec4 _Color
  • uniform vec4 _ShadeColor
  • uniform sampler2D _MainTex
  • uniform sampler2D _ShadeTexture
  • uniform float _BumpScale
  • uniform sampler2D _BumpMap
  • uniform float _ReceiveShadowRate
  • uniform sampler2D _ReceiveShadowTexture
  • uniform float _ShadeShift
  • uniform float _ShadeToony
  • uniform float _LightColorAttenuation
  • uniform sampler2D _SphereAdd
  • uniform vec4 _EmissionColor
  • uniform sampler2D _EmissionMap
  • uniform sampler2D _OutlineWidthTexture
  • uniform float _OutlineWidth
  • uniform float _OutlineScaledMaxDistance
  • uniform vec4 _OutlineColor
  • uniform float _OutlineLightingMix
  • uniform int _DebugMode
  • uniform int _BlendMode
  • uniform int _OutlineWidthMode
  • uniform int _OutlineColorMode
  • uniform int _CullMode
  • uniform int _OutlineCullMode
  • uniform float _SrcBlend
  • uniform float _DstBlend
  • uniform int _ZWrite
  • uniform int _IsFirstSetup

Enhance the examples

After implementing VRM.

  • .humanoid (Motion data (e.g. BVH. VMD), IK)
  • .blendShapeMaster (Morphing)
  • .firstPerson (Toggle Object3D.visible, first person camera)
  • .secondaryAnimation (Physics)
  • Lights

VRMHumanBoneBoneType is missing some entries

It seems like VRMHumanBoneBoneType is missing some entries, namely:

[
  "leftShoulder",
  "rightShoulder",
  "leftToes",
  "rightToes",
  "jaw",
  "leftToe",
  "rightToe"
]

I am basing myself on this description of the spec.

VRMPhysics seems be not properly initialized nor reset

In the case where a model is not placed at the origin initially, drag force seems to be applied, even if VRMPhysics.prototype.reset method is invoked after the initial position was set.

The capture below shows the case the model is rotated by (0, π, 0) and translated by (0, 0, -2).
2019-05-17_00-47-00

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.