Search the Community
Showing results for tags 'babylon js blender'.
-
Hi, I am trying to follow along the Donut tutorial made by blender guru on youtube; so far I have a donut (torus) with some plane on it. When I try to use the Babylon js exporter following is the error I get :- Please advice. Exporter version: 4.6.1, Blender version: 2.78 (sub 0) ========= Conversion from Blender to Babylon.js ========= Scene settings used: selected layers only: false flat shading entire scene: false inline textures: false texture directory: C:\tmp\BlenderFiles\Donut\ Python World class constructor completed processing begun of mesh: Torus.001 processing begun of baked material: Torus.001 Cycles baking texture, type: DIFFUSE_COLOR, mapped using: BakingUV ========= An error was encountered ========= File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_export_babylon.py", line 330, in execute mesh = Mesh(object, scene, nextStartFace, forcedParent, nameID, self) File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_export_babylon.py", line 787, in __init__ bakedMat = BakedMaterial(exporter, object, recipe) File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_export_babylon.py", line 2135, in __init__ self.bake('diffuseTexture', 'DIFFUSE_COLOR', 'TEXTURE', image, mesh, uvName, exporter, recipe) File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_export_babylon.py", line 2167, in bake self.bakeCycles(cycles_type, image, uvName, recipe.nodeTrees) File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\io_export_babylon.py", line 2215, in bakeCycles bpy.ops.object.bake(type = bake_type, use_clear = True, margin = 5, use_selected_to_active = False) File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\bpy\ops.py", line 189, in __call__ ret = op_call(self.idname_py(), None, kw) ERROR: Converting py args to operator properties: enum "DIFFUSE_COLOR" not found in ('COMBINED', 'AO', 'SHADOW', 'NORMAL', 'UV', 'EMIT', 'ENVIRONMENT', 'DIFFUSE', 'GLOSSY', 'TRANSMISSION', 'SUBSURFACE') ========= end of processing ========= elapsed time: 0 min, 0.0737 secs