Giter Club home page Giter Club logo

io_export_diffmap's People

Contributors

klattimer avatar

Watchers

 avatar  avatar  avatar

io_export_diffmap's Issues

Deprecate project

After a little time working with this code I decided it's just too poor a baseline, but given I've learned everything involved in making blender UIs, tools for blender and unity etc... I've rewritten the project entirely it works a lot more reliably and has a sensible data file format which is descriptive.

I'll be publishing io_export_shape_keys and shape keys for unity shortly.

Replace file format with JSON format

The file format used is cumbersome and seems to leave out vital data such as scales for the shape keys. Replacing the file format with a textual format which describes both the shapekeys and the animations would solve this problem. It would also reduce the amount of code used for parsing to almost nothing and clean up some poor type encoding (strings where floats should be).

Extra things we want to encode include scales, image files and start shapes and allowing multiple animations in a single data file, thereby reducing significantly the complexity of setup. This would mean that the diffMaps and animationRecordings would be automatically generated when loading the JSON file.

MetaMorph playback incorrect

Playback on the Unity side doesn't match the animation that's being exported. I have a feeling this is related to "scale" for each of the diffmaps. I need to learn more about how the old script was calculating these to ensure that I get the correct output result.

API cleanup

Add methods for

  • setFrame(frame )
  • setShapeKey(string keyname, float level)

Rename diffMap to Shape Key generally, improves the cross talk, a shape-key-map or shape-key-texture would be preferred language.

Make unnecessary API exposure private.
Remove dead code in the blender plugin & unity script

Strips materials on export

Currently it appears to strip materials from objects. The original code has a backup strategy but it's poor and doesn't appear to work as intended.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.