Skip to content

Releases: Ry3yr/SampleWebMMD

SampleMMDWeb v1.1

25 Jul 17:50
29d037d
Compare
Choose a tag to compare

New QoL improvemens

Addition

  • ?vmd2= querystring to load vmd2 for mesh 2 seperately (will set distance to 0 as vmd2 usually sets it) otherwise ...
  • ... ?distance= querystring param to manage distance between mesh & mesh2
  • _lips _facials vmd can be loaded in tandem to normal vmd to allow lipsync file extra

ErrorReporting:

  • Models not loading now indicated via "Loading Model..." persisting
  • LightStageIllumination addition will cause page reload if it fails now (could cause inf reload, but the cause is unkown and only occurs on bad network or stages with odd parameters)
  • some cleanup to code

---------------Note:--------------
MMDLoader.js hasn't been updated in a long time and might not load some models.
It is advised to run those models through PMXEditor toget them to work with pmxe

  1. Extract bones only
  2. Extract weights (via plugin https://bowlroll.net/file/375 )
  3. Extract mesh only
  4. Recombine 1&3 into a new model, readd weights via plugin
    (5) incase mouth or headpart has issues, set free whole head part from old model, clear it from the model created in "4" and relink neck bone to relevant uppest bone
    Errors with pmx model that might arise can be seen in PMXEditors PMXInfo function (shortcut: "F")

Such problematic models will cause " Loading Model..." to stay as of this release to indicate incompatibility
(Even if MikuMikuDance or MikuMikuMove render the model fine)
The relevant alt morphs have not been added into MMDLoader yet sadly.
They are commented out as TODO

--------------Note2:-------------
Vmd parser / loader might react improper tp some chgars / keychars in certain vmds.
Once again these parsers have not been updated to catch all quiurks of said fileformat.
Use animnationsmoother to attempt a fix (see link in readystate div or main.js).
MikuMikuMoiving has a comprehensive vmd editor also.

PS:
Development on both MikuMikuDance aswell as MikuMikuMoving have been stoppedby their respective developers,
so there is not much improvement to be expected for the libraries this webrenderer utilizes.
For more info on them @takahirox / https://github.com/takahirox might be the best contact.

SampleMMDWeb

16 Jul 22:46
44136c7
Compare
Choose a tag to compare

Package'd up version of MMDWeb renderer

Features:

  • load pmx character with bones, mesh, vertex, joint support. (pmx/pronama folder)
    => if none set, AoiZaizen.pmx will be loded by default (a second time for pmx2 if also not set)
  • load pmx stage (with support for 001.vmd and 002.vmd animations) (./stages folder)
    =>if none set, sorclair will be loaded by default
  • load camera vmd for animated camera (./camera folder)
    => automatically derived from vmd used, otherwise uses "bts-bestofme" as default
  • load vmd for animating characters (max.2) (./vmd folder)

Animation and audio are synched via Three.Clock

All changes to state are tracked and enacted via querystring

pmx= for the first model
pmx2= for the second model
vmd= for the animation (will also apply for /camera/{id].vmd and /audio/{id}.mp3 file which will be pulled automatically

camera= for an alt camera not associated with the vmd id

Error reporting and % download indication for most processes (loading vmd, loading pmx loading mp3)

Start button to bind things together

ETA:
Secondary motion vmd via "vmd2=" querystring for second model

Find better way to render incompatible motions than running them through mediafire.com/file/9olqch9pazq3fzd/AnimationSmoother.rar in hopes of fixind keycharacter errors