paulsouthport Posted August 22, 2015 Share Posted August 22, 2015 Hi all I upgraded Blender to 2.75, installed the 3.0.2 exporter from GitHub. Now I can't export. A scene that worked fine yesterday, with no changes, fails and creates a 0 length .babylon file, with this in the log: Exporter version: 3.0.2, Blender version: 2.75 (sub 0)========= Conversion from Blender to Babylon.js =========Python World class constructor completedWARNING: No active camera has been assigned, or is not in a currently selected Blender layerprocessing begun of node: wallsprocessing begun of mesh: wall_backprocessing begun of Standard material: wall_backnum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: wall_frontprocessing begun of Standard material: wall_frontWARNING: Material has image texture with no UV map assigned: "Texture.011" ignorednum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: wall_2processing begun of Standard material: wall_2WARNING: Material has image texture with no UV map assigned: "Texture.010" ignorednum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: wall_2backprocessing begun of Standard material: wall_2backWARNING: Material has image texture with no UV map assigned: "Texture.008" ignorednum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: wall1processing begun of Standard material: wall1.1WARNING: Material has image texture with no UV map assigned: "Texture.006" ignorednum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: Cube.001processing begun of Standard material: wall_loop.1num positions : 25num normals : 25num uvs : 50num uvs2 : 0num colors : 0num indices : 36processing begun of mesh: floorprocessing begun of Standard material: floor.1WARNING: Material has image texture with no UV map assigned: "Texture.009" ignorednum positions : 4num normals : 4num uvs : 8num uvs2 : 0num colors : 0num indices : 6processing begun of mesh: wallloopprocessing begun of Standard material: wall_loopnum positions : 49num normals : 49num uvs : 98num uvs2 : 0num colors : 0num indices : 132processing begun of mesh: toiletsprocessing begun of Standard material: toiletsWARNING: Material has image texture with no UV map assigned: "Texture.007" ignorednum positions : 122num normals : 122num uvs : 244num uvs2 : 0num colors : 0num indices : 180processing begun of mesh: Capsuleregistered as also a user of material: wall_backnum positions : 35num normals : 35num uvs : 70num uvs2 : 0num colors : 0num indices : 96processing begun of mesh: Capsule.2registered as also a user of material: wall_backnum positions : 35num normals : 35num uvs : 70num uvs2 : 0num colors : 0num indices : 96processing begun of mesh: counter_topprocessing begun of Standard material: counter_topnum positions : 25num normals : 25num uvs : 50num uvs2 : 0num colors : 0num indices : 36processing begun of mesh: boxregistered as also a user of material: wall_loopnum positions : 25num normals : 25num uvs : 50num uvs2 : 0num colors : 0num indices : 36processing begun of mesh: Platonicprocessing begun of Standard material: Mat.1num positions : 51num normals : 51num uvs : 102num uvs2 : 0num colors : 0num indices : 60processing begun of mesh: toilet_cabinet.1processing begun of Standard material: toilet_cabinetWARNING: Material has image texture with no UV map assigned: "Texture.005" ignorednum positions : 226num normals : 226num uvs : 452num uvs2 : 0num colors : 0num indices : 300processing begun of mesh: tableprocessing begun of Standard material: tableWARNING: Material has image texture with no UV map assigned: "Texture.004" ignorednum positions : 29num normals : 29num uvs : 58num uvs2 : 0num colors : 0num indices : 36processing begun of node: cabinetprocessing begun of mesh: cabinet.1processing begun of Standard material: cabinetWARNING: Material has image texture with no UV map assigned: "Texture.003" ignorednum positions : 166num normals : 166num uvs : 332num uvs2 : 0num colors : 0num indices : 216processing begun of mesh: screensprocessing begun of Standard material: screensWARNING: Material has image texture with no UV map assigned: "Texture.001" ignoredWARNING: Material has image texture with no UV map assigned: "Texture.002" ignorednum positions : 12num normals : 12num uvs : 24num uvs2 : 0num colors : 0num indices : 18processing begun of mesh: CubeWARNING: No materials have been assigned: num positions : 8num normals : 8num uvs : 0num uvs2 : 0num colors : 0num indices : 36========= Writing of scene file started ================== An error was encountered ========= File "C:\Users\Paul\AppData\Roaming\Blender Foundation\Blender\2.75\scripts\addons\io_export_babylon.py", line 331, in execute self.to_scene_file () File "C:\Users\Paul\AppData\Roaming\Blender Foundation\Blender\2.75\scripts\addons\io_export_babylon.py", line 405, in to_scene_file mesh.to_scene_file(file_handler)ERROR: to_scene_file() missing 1 required positional argument: 'ignored'========= end of processing =========elapsed time: 0 min, 0.024 secs All objects have valid UVs, but I suspect that message is a red herring.Help! thanks Paul PS. I've reverted to Blender 2.71 and the export works fine Quote Link to comment Share on other sites More sharing options...
ozRocker Posted August 22, 2015 Share Posted August 22, 2015 You might be experiencing the same problem that I had with the latest exporter. check the thread here Quote Link to comment Share on other sites More sharing options...
paulsouthport Posted August 22, 2015 Author Share Posted August 22, 2015 Interesting, thanks for the link.The UV issues make sense, and from the log it appears they weren't necessarily the deal breaker.I think I'll stick with 2.71 for now, I really only use blender as a conduit from Cinema 4D to Babylon, so I'm not too worried about the update, Still curious about what it was in my scene that caused the failure though. cheersPaul Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted August 23, 2015 Share Posted August 23, 2015 FYI, the warning message part has been addressed in 3.0.3 which is in a PR on deck. Did not see the error till just now. Killed 3.0.3 PR. You must have a Node (which get converted to a mesh without geometry in BJS). There was an argument not needed for a call Node.to_scene(), called 'ignored'. By its name it was not used for a node, but was in the to_scene() of a mesh. Not needed at all anymore, but overlooked not pulling the arg out of Nodes version. Removed and re-PRed, as 3.0.3a. Blender does not have a spot for the 'a', but unless you are digging in Github history you can not get a 3.0.3 file without this last second change. Quote Link to comment Share on other sites More sharing options...
paulsouthport Posted August 23, 2015 Author Share Posted August 23, 2015 Thanks for the info. I'll try the 3.0.3a later in the week.I tend to have non-objects in my scenes - nulls, cloners etc. from C4D so it's quite possible that what happened. cheersPaul 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.