Giter VIP home page Giter VIP logo

colladamorphadjuster's Introduction

ColladaMorphAdjuster

ColladaMorphAdjuster makes shape key / morphers in Blender-exported Collada (.dae) available to Apple SceneKit.

As recently as Blender 2.78, Blender Collada export does not create instance_controllers for its shape keys. Where possible missing instance_controllers will be added.

The primary purpose of this tool is Apple SceneKit import. This tool will not create nodes with multiple controllers, i.e. no morph on morph, skin on morph or morph on skin. As of XCode Version 8.3 beta 2 (8W120l) Apple SceneKit import does not fully support these use cases.

Usage:

ColladaMorphAdjuster collada_file [-o output_file]

or

ColladaMorphAdjuster -h

License

This tool is released under the MIT License. See LICENSE file for details.

colladamorphadjuster's People

Contributors

jonallee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

colladamorphadjuster's Issues

Armature (skeleton) with blend shapes

Hi,

thank you for the tool, works perfectly until I tried to use model which uses skeleton. instance_controller references the armature, not the geometry where morph are set (with my model it's last controller). SceneKit will not load blend shapes. After I fixed the url value all works well.

Best regards,
Martin

How to run with Xcode 9

Hello! How do I launch this on the command line tool? ( Apologies for the silly question)

Any insight for how to build, run and input my .dae file into the script would be very much appreciated!

Quick guide on how to use this tool

Hi, this is just what I need for a upcomming test of AR and SceneKIT - but im having problems figuring out how to use this tool as I have a .dea model with shape-keys/morph-targets that I would like to include in my final scenekit-file. Can you please help me out with a quick guide on how to use your fantastic tool, please ?

Br,
Jakob

EDIT: Okay :-) I got it working by manipulation of the .dea. its a bit tricks at first, but when you know what to look for it relativly straight forward:
1: look for this line:

The id and the name values must be the same

2:look for this line:
<instance_geometry url="#head-morph" name="head-morph">
and change it to:
<instance_controller url="#head-morph" name="head-morph">
Rename the instance_geometry node to instance_controller and set the url and the name pƄ the same as you did for the controller -in my case head-morph.

I wasnt able to figure out how to use this tool, so I started playing around with the values instead...
You can also find a bit of info here: https://stackoverflow.com/questions/37516117/how-do-i-load-scnmorpher-targets-from-a-collada-dae-files-morph-controllers-in

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.