Jump to content

Error with exporter Babylon.js v1.14 for Blender v2.72


Recommended Posts

Hi Gentlemen!


I would like put on a problem with a exporter Babylon.js for Blender version 2.72.


I have a scene that works perfectly with older Babylon.js version but when I upgrade it with the version 1.14 and the exporter in Blender I get this error  when I make my export :


AttributeError: 'Texture' object has no attribute 'wrapV'



naturaly thought that the problem came from my scene (well that I haven't object which calls 'Texture'...) but after many delete objetcs, always the same issue...


So, I wanted do a basic test : create a new scene and export it. But same result!


AttributeError: 'Texture' object has no attribute 'wrapV'



I will try to put the exporter v1.12 or 1.13 of Babylon to see the differents....



Any idea?



Link to comment
Share on other sites

Here my log file of basic scene export JCPalmer :






Babylon.js Exporter version: 1.1.0, Blender version: 2.72 (sub 0)
========= Conversion from Blender to Babylon.js =========
Python World class constructor completed
processing begun of material:  untitled.Material
WARNING texture type not currently supported:  NONE, ignored.
processing begun of mesh:  Cube
num positions      :  8
num normals        :  8
num uvs            :  0
num uvs2           :  0
num colors         :  0
num indices        :  36
processing begun of light:  Lamp
processing begun of camera:  Camera
========= Writing of scene file started =========
========= An error was encountered =========
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 268, in execute
    self.to_scene_file   ()
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 304, in to_scene_file
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 1404, in to_scene_file
  File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 1342, in to_scene_file
    write_int(file_handler, 'wrapV', self.wrapV)
ERROR:  'Texture' object has no attribute 'wrapV'
========= end of processing =========
Link to comment
Share on other sites

This is why I Love log files, and put it in my re-write of the exporter.  I see, "Babylon.js Exporter version: 1.1.0". Please try with 1.3.


FYI, I get the warning about the texture type not supported too, when I try to export the start up .blend.  Seem there is this thing in the textures, called Tex & a type of none.  Dispose of this to get rid of that warning.  The pre-logging version ignored it to.  You just never knew about it.


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.

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.


  • Recently Browsing   0 members

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