Jump to content

Blender Export Issues


minifussy
 Share

Recommended Posts

Hi,

 

I am attempting to export a blender file using the babylon.js exporter.

 

My mesh contains an armature with incomplete and basic rigging, during my attempts to export the following situations occur:

 

1.

 

processing complete of skeleton:  Armature

processing begun of mesh:  character
WARNING: Maximum # of influencers exceeded for a vertex, extras ignored
^repeated many many times
 
2.
 
num positions      :  65535
num normals        :  65535
num uvs            :  131070
num uvs2           :  0
num colors         :  0
num indices        :  65535
num skeletonWeights:  262140
num skeletonIndices:  262140
WARNING: The following mesh has exceeded the maximum # of vertex elements & will be broken into multiple Babylon meshes: character
========= An error was encountered =========
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 247, in execute
    mesh = Mesh(object, scene, self.multiMaterials, nextStartFace, forcedParent, nameID)
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 491, in __init__
    self.name = object.name + nameID
ERROR:  Can't convert 'int' object to str implicitly
========= end of processing =========
 
These two errors prevent me from exporting my man into babylon. Any advice as to how to proceed would be greatly appreciated,
 
Thanks
 
Joe :)

 

Link to comment
Share on other sites

Hello,

Current version of Babylon.js is limited to 16 bits indices as this is what most browsers are supporting. Next version (v2) will support the 32 bits indices using appropriate WebGL extension. But this will break the meshes compatibility with almost all mobile for instance. For WebGL, the best solution is then to limit ourselves to meshes with less than 65536 (16 bits) vertices.

Bye,

David

Link to comment
Share on other sites

Actually, in the Babylon.py version, this change was made 2 days ago by Deltakosh.  Get it from the repository.

 

DK, you are not updating the version with your commits.  A quick heads up if you commit a change to first pass would be appreciated, so that I can make sure it ends up in Tower of Babel.

 

Jeff

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...