TypeScript-based mdl/mdx (Warcraft 3 model formats) converter/renderer
Reforged support^
Changes:
destroy
method now cleans particles and ribbon emittersFor a some reason, non-browser build have missed ModelRenderer class.
Also, added method destroy
in that class and added first steps for "Reforged" format support
Main change is about module exports and file structure
Separate internal files in package are gone (e.g. war3-model/mdx/parse
)
Instead package now provides multiple ways to use it:
Also instead of providing full-size js & ts in package there are now full js and small typings for ts
Infinite loop in mdl parse
war3-model
requires the same node.js@4, nothing changed here
renderer
folder was missingPreviewer now have increased MAX_NODES from 128 to 256 (all objects count as nodes, not only bones) Thx @435352980 for the model example
Node
's interface had updated, now Parent
prop is number or nullParent = 0
cases in model rendererThx @w4454962 for the example model