Zino54220 Posted December 18, 2014 Share Posted December 18, 2014 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' I 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? Zino Quote Link to comment Share on other sites More sharing options...
Zino54220 Posted December 18, 2014 Author Share Posted December 18, 2014 I made tests and precedent exporter works fine... Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 18, 2014 Share Posted December 18, 2014 Not sure where this error is occuring, in python or later in JS. Post log file if python. Quote Link to comment Share on other sites More sharing options...
Zino54220 Posted December 18, 2014 Author Share Posted December 18, 2014 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 completedprocessing begun of material: untitled.MaterialWARNING texture type not currently supported: NONE, ignored.processing begun of mesh: Cubenum positions : 8num normals : 8num uvs : 0num uvs2 : 0num colors : 0num indices : 36processing begun of light: Lampprocessing 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 material.to_scene_file(file_handler) File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\io_export_babylon.py", line 1404, in to_scene_file texSlot.to_scene_file(file_handler) 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 ========= Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 18, 2014 Share Posted December 18, 2014 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. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 18, 2014 Share Posted December 18, 2014 And we call all thank you for that Jeff! You did a tremendous work on Blender exporter Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted December 18, 2014 Share Posted December 18, 2014 FYI, did find a bug. Version 1.3.1 inbound Quote Link to comment Share on other sites More sharing options...
Zino54220 Posted December 19, 2014 Author Share Posted December 19, 2014 Well done JCPalmer ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.