reminjp / three-vrm Goto Github PK
View Code? Open in Web Editor NEW:warning: [deprecated] VRM file loader for three.js
Home Page: https://reminjp.github.io/three-vrm/
License: MIT License
:warning: [deprecated] VRM file loader for three.js
Home Page: https://reminjp.github.io/three-vrm/
License: MIT License
It may be fixed by ousttrue/UniGLTF#18
Currently the loader supports only a few properties of Unlit, MToon.
VRM/UnlitTexture
VRM/UnlitCutout
VRM/UnlitTransparent
VRM/UnlitTransparentZWrite
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
After implementing VRM.
.humanoid
(Motion data (e.g. BVH. VMD), IK).blendShapeMaster
(Morphing).firstPerson
(Toggle Object3D.visible
, first person camera).secondaryAnimation
(Physics)Since VRMloader loads the model asynchronously it might make more sense for it to return a promise?
VRM format uses node indices to specify the bone but loaded Scene
doesn't hold indices info. So we have to add a new function to get a humanoid's bone by name (string
or enum
?) or index.
v0.0.10では表示されるモデルがv0.0.11では表示されない不具合があります
モデルデータの読み込みは成功していてscene上には存在しているのですが、可視化されません
確認に使用したモデル: http://3d.nicovideo.jp/works/td38002
(他のモデルも試しましたが同様の現象が起こりました)
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.
Publish a ready-to-use package to npm.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.