Jump to content

blender exporter


PiraTa
 Share

Recommended Posts

Hello,

I'm trying to export blender models to babylon.

 

some of the models I've exported successfully, but some models have errors during exporting.

My blender version is: 2.76 and exporter: 3.0.6. OS: I've tried on windows 10 and Ubuntu.

I'm trying to export this model:

https://drive.google.com/file/d/0B9h0geYuuDR9VURpSGl4QnRiQXc/view?usp=sharing

 

LOG:

 

 

Exporter version: 3.0.6, Blender version: 2.76 (sub 0)

========= Conversion from Blender to Babylon.js =========
Python World class constructor completed
WARNING: The following object (type - CURVE) is not currently exportable thus ignored: КриваяБезье
WARNING: The following camera not visible in scene thus ignored: Camera
WARNING: The following armature not visible in scene thus ignored: metarig
processing begun of mesh:  barrel_a1
processing begun of Standard material:  Material2.001
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Emissive texture found
Image texture found, type:  emissiveTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
num positions      :  5616
num normals        :  5616
num uvs            :  11232
num uvs2           :  0
num colors         :  0
num indices        :  5616
num skeletonWeights:  22464
num skeletonIndices:  22464
processing begun of mesh:  mag.001
processing begun of Standard material:  Magint.tga
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
processing begun of Standard material:  magazine.vtf
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Emissive texture found
Image texture found, type:  emissiveTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
processing begun of multimaterial:  untitled.Multimaterial#0
num positions      :  7353
num normals        :  7353
num uvs            :  14706
num uvs2           :  0
num colors         :  0
num indices        :  7353
num skeletonWeights:  29412
num skeletonIndices:  29412
processing begun of mesh:  mag
registered as also a user of material:  Magint.tga
registered as also a user of material:  magazine.vtf
processing begun of multimaterial:  untitled.Multimaterial#1
num positions      :  28569
num normals        :  28569
num uvs            :  57138
num uvs2           :  0
num colors         :  0
num indices        :  28569
num skeletonWeights:  114276
num skeletonIndices:  114276
processing begun of mesh:  toprail
processing begun of Standard material:  CZ805
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Emissive texture found
Image texture found, type:  emissiveTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
num positions      :  5394
num normals        :  5394
num uvs            :  10788
num uvs2           :  0
num colors         :  0
num indices        :  5394
num skeletonWeights:  21576
num skeletonIndices:  21576
processing begun of mesh:  upper.001
registered as also a user of material:  CZ805
num positions      :  3144
num normals        :  3144
num uvs            :  6288
num uvs2           :  0
num colors         :  0
num indices        :  3144
num skeletonWeights:  12576
num skeletonIndices:  12576
processing begun of mesh:  bottom_rail
registered as also a user of material:  CZ805
num positions      :  1548
num normals        :  1548
num uvs            :  3096
num uvs2           :  0
num colors         :  0
num indices        :  1548
num skeletonWeights:  6192
num skeletonIndices:  6192
processing begun of mesh:  frontsight
registered as also a user of material:  CZ805
num positions      :  1920
num normals        :  1920
num uvs            :  3840
num uvs2           :  0
num colors         :  0
num indices        :  1920
num skeletonWeights:  7680
num skeletonIndices:  7680
processing begun of mesh:  side_rail
registered as also a user of material:  CZ805
num positions      :  3000
num normals        :  3000
num uvs            :  6000
num uvs2           :  0
num colors         :  0
num indices        :  3000
num skeletonWeights:  12000
num skeletonIndices:  12000
processing begun of mesh:  grip.001
registered as also a user of material:  CZ805
num positions      :  738
num normals        :  738
num uvs            :  1476
num uvs2           :  0
num colors         :  0
num indices        :  738
num skeletonWeights:  2952
num skeletonIndices:  2952
processing begun of mesh:  barrel_a2
registered as also a user of material:  CZ805
num positions      :  5616
num normals        :  5616
num uvs            :  11232
num uvs2           :  0
num colors         :  0
num indices        :  5616
num skeletonWeights:  22464
num skeletonIndices:  22464
processing begun of mesh:  stock
registered as also a user of material:  CZ805
num positions      :  2652
num normals        :  2652
num uvs            :  5304
num uvs2           :  0
num colors         :  0
num indices        :  2652
num skeletonWeights:  10608
num skeletonIndices:  10608
processing begun of mesh:  cz_cz.001
registered as also a user of material:  CZ805
num positions      :  306
num normals        :  306
num uvs            :  612
num uvs2           :  0
num colors         :  0
num indices        :  306
num skeletonWeights:  1224
num skeletonIndices:  1224
processing begun of mesh:  reddot
processing begun of Standard material:  glass
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
processing begun of Standard material:  RedDot.tga
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Emissive texture found
Image texture found, type:  emissiveTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
processing begun of multimaterial:  untitled.Multimaterial#2
num positions      :  11484
num normals        :  11484
num uvs            :  22968
num uvs2           :  0
num colors         :  0
num indices        :  11484
num skeletonWeights:  45936
num skeletonIndices:  45936
processing begun of mesh:  rearsight
registered as also a user of material:  CZ805
num positions      :  3270
num normals        :  3270
num uvs            :  6540
num uvs2           :  0
num colors         :  0
num indices        :  3270
num skeletonWeights:  13080
num skeletonIndices:  13080
processing begun of mesh:  TroyGrip
processing begun of Standard material:  TroyGrip
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
num positions      :  1320
num normals        :  1320
num uvs            :  2640
num uvs2           :  0
num colors         :  0
num indices        :  1320
num skeletonWeights:  5280
num skeletonIndices:  5280
processing begun of mesh:  lower.001
registered as also a user of material:  CZ805
num positions      :  3852
num normals        :  3852
num uvs            :  7704
num uvs2           :  0
num colors         :  0
num indices        :  3852
num skeletonWeights:  15408
num skeletonIndices:  15408
processing begun of mesh:  joint
registered as also a user of material:  CZ805
num positions      :  690
num normals        :  690
num uvs            :  1380
num uvs2           :  0
num colors         :  0
num indices        :  690
num skeletonWeights:  2760
num skeletonIndices:  2760
processing begun of mesh:  Requests_Studio_Hands
processing begun of Standard material:  v_hands_gloves_sf2.tga.001
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
processing begun of Standard material:  v_hands_sleeves_sf2.tga.001
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
Bump texture found
Image texture found, type:  bumpTexture, mapped using: "UVMap"
processing begun of multimaterial:  untitled.Multimaterial#3
WARNING: Maximum # of influencers exceeded for 3812 vertices, extras ignored
num positions      :  17778
num normals        :  17778
num uvs            :  35556
num uvs2           :  0
num colors         :  0
num indices        :  17778
num skeletonWeights:  71112
num skeletonIndices:  71112
processing begun of mesh:  watch
processing begun of Standard material:  v_hands_watch_sf2_d.tga.001
Diffuse texture found
Image texture found, type:  diffuseTexture, mapped using: "UVMap"
Specular texture found
Image texture found, type:  specularTexture, mapped using: "UVMap"
num positions      :  3474
num normals        :  3474
num uvs            :  6948
num uvs2           :  0
num colors         :  0
num indices        :  3474
num skeletonWeights:  13896
num skeletonIndices:  13896
WARNING: The following lamp not visible in scene thus ignored: Lamp.001
WARNING: The following lamp not visible in scene thus ignored: Полусфера
WARNING: The following lamp not visible in scene thus ignored: Lamp
========= Writing of scene file started =========
========= Writing of scene file completed =========
========= end of processing =========
elapsed time:  0 min, 15.4555 secs

 

Link to comment
Share on other sites

The WARNING: Maximum # of influencers exceeded for 3812 vertices, extras ignored message is pretty non-recoverable in the current exporter.  An individual vertex can not be directly influenced by more than 4 bones in BJS 2.2.

 

In BJS 2.3, this can vary on a mesh by mesh basis from 1-8.  The next version of the Blender exporter already supports this, but I do not think it will be ready until late December.

 

The lack of visibility for lights / cameras / & armatures, is fixable by you now, but he 'watch' mesh is likely to be destroyed on the first animation frame.

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