Jump to content

Blender 5.5 Exporter


JCPalmer
 Share

Recommended Posts

Made a couple of changes to Blender exporter.  Here is commit comment:

Quote

- fixed a bug when no checking an action has at least one frame. Now ignore & write warning to .log file
- added 2 new scene level custom properties for animation processing

Scene level auto animate allows you to turn on animations, except for skeleton based.  This probably should not be used unless the second property also enabled.

Currently assigned action only, when checked only exports one animation for any object.

5a4fa58658ad7_babylon5-5.jpg.9d70918c9166546fbe8fd32eab8d132b.jpg

Backstory: in a Blender scene, there is just an array of all actions (animations).  Individual meshes, lights, cameras, skeletons do not own them.  These objects just point to the action they are currently assigned.  The original exporter, by @Deltakosh, only exported the currently assigned action. 

This meant you could not have a character centric .blend where the character mesh could have many actions (run , walk, sit, pay taxes, etc) and export them all as separate BABYLON.AnimationRanges.  Multiple action support was added around version 4.0.  There was one side effect of identifying what to export when there were multiple meshes with a current action assigned. 

It was initially solved by using a name convention format of 'object-name'.  Clicking 'Only Currently Assigned Actions' is another way to solve it.  It goes back to the original way.  Now there are 2 different ways of handling animation exporting for different type of .blend files.

 

Link to comment
Share on other sites

It's worth noting that the installation instructions in the BJS documentation seem incorrect. http://doc.babylonjs.com/resources/installing__the_babylon_exporter

They suggest unzipping the archive and finding io_export_babylon.py - a file which isn't in the 5.5 archive.

It's only when I read the readme in the git repo I realised that I should simply install the zip and Blender does the extracting and building itself.

Link to comment
Share on other sites

Thanks for pointing that out.  I wrote the readme one.  I did not know that the other was there.  You almost have to go to the directory with the readme to get the zip file, so I put my directions there. Even the other directions link to the directory of the readme.

I can directly push to Exporters repo, and I never figured out how to put pictures in the documentation repo, so I only updated exporters repo.

Link to comment
Share on other sites

  • 1 year later...
On 1/5/2018 at 6:42 PM, Deltakosh said:

This is really cool! Thanks for you unlimited commitment to help!

Hay Adm I dont know where to put this (kinda new for me)

The add on (zip file) @github   for older versions like blender 2.79 wont open I am working on a Mac.

 

Winnie

 

Link to comment
Share on other sites

On 1/5/2018 at 6:42 PM, Deltakosh said:

This is really cool! Thanks for you unlimited commitment to help!

On 1/5/2018 at 6:42 PM, Deltakosh said:

 

Hay Adm I dont know where to put this (kinda new for me)

The add on (zip file) @github   for older versions like blender 2.79 wont open I am working on a Mac.

 

I tested a little further and  installed the add on in Blender 2.7 which worked.

But when I try to open the zip file on the desktop  with the default mac OS unzip app (called Archive Utility).

I get an error message, tried it with 2 computers Mac OS10.9 en Mac OS 10.10..

all other zip files are ok sofar as I can see.

Had to download winzip for mac to open it.

Winnie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...