Skip to content

Releases: 4eb0da/war3-model

Fix package contents

02 May 12:41
Compare
Choose a tag to compare
v2.2.1

Fix publishing and version up

Better destroy and simple hd models' animation support

02 May 12:23
Compare
Choose a tag to compare
  • destroy method now cleans particles and ribbon emitters
  • Preview sample now supports skeleton and wireframe
  • Model renderer now supports hd models' animation

Fixed package contents & added destroy method

23 Apr 21:36
Compare
Choose a tag to compare

For 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

Maintenance update

10 Oct 13:33
Compare
Choose a tag to compare

Exports

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:

  • Common-js way
  • ES Module way
  • Direct browser usage with globals and es-modules

Also instead of providing full-size js & ts in package there are now full js and small typings for ts

Fixes

Infinite loop in mdl parse

Deps & infra

  • gl-matrix 2 -> 3
  • Typescript 1? -> 4.4
  • tslint -> eslint
  • browserify -> rollup & webpack
  • codemirror -> monaco

war3-model requires the same node.js@4, nothing changed here

Other

  • Better package.json with more infos
  • Better docs

Added missing files in npm package

24 Aug 16:05
Compare
Choose a tag to compare
  • renderer folder was missing

Increased max nodes count

21 Aug 23:42
Compare
Choose a tag to compare

Previewer now have increased MAX_NODES from 128 to 256
(all objects count as nodes, not only bones)
Thx @435352980 for the model example

Animation fix

18 Aug 14:13
Compare
Choose a tag to compare
  • Node's interface had updated, now Parent prop is number or null
  • Fixed Parent = 0 cases in model renderer

Thx @w4454962 for the example model