This is an English description of the .PMX file format used in Miku Miku Dance (MMD).
PMX is the successor to the .PMD format (Polygon Model Data).
This is work-in-progress! Please leave feedback in the comments.
| /** | |
| FinalIKを使ったLeapMotion Orion用HandController | |
| (VRIKバージョン) | |
| Author: MiyuMiyu (https://twitter.com/miyumiyuna5) | |
| Source: https://qiita.com/miyumiyu/items/72b965df46a79f3ec523 | |
| Modified by: Emiliana (https://twitter.com/Emiliana_vt) | |
| Modifications: Updated for current SDK version, supports hand position reset on tracking loss, hand mirroring and interpolation. | |
| */ | |
| /* |
| // Unity screen grayscale grabpass overlay shader for Unity's default quad mesh that can be put onto objects. | |
| // Due to frustum culling it is only visible if the quad is in camera's view. | |
| // If you want it to be visible more you can scale the the quad transform up to make the bounding box/sphere bigger. | |
| // If you need this grayscale effect all the time, it would make more sense to instead use post processing shader/stack. | |
| // license: Unlicense | |
| Shader "FX/Screen Gray" | |
| { | |
| Properties | |
| { |
| # PS1 = time compact_pwd > | |
| # curated by budRich since 2017 | |
| # ============================= | |
| # | |
| # display runtime of last command and a compat PWD | |
| # default time output is ms, if time is more then | |
| # 1000ms, seconds is displayed instead. | |
| # color of time is changed depending on the value. |
| # Bash Fidget Spinner | |
| # Could also be included in a bashrc file | |
| fidget() { | |
| start_time="0.02"; | |
| spin_efficiency="0.99"; | |
| end_time="3"; | |
| time="$start_time"; | |
| printf "\e[92mPress any key to give another spin...\n\n"; |
| # gcc -Wall -o match match.c && ./match | |
| # | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <regex.h> | |