Giter Site home page Giter Site logo

Blender 3.0 Failure about blenderexporter HOT 11 OPEN

babylonjs avatar babylonjs commented on May 24, 2024
Blender 3.0 Failure

from blenderexporter.

Comments (11)

Palmer-JC avatar Palmer-JC commented on May 24, 2024

from blenderexporter.

impactcolor avatar impactcolor commented on May 24, 2024

Same issue.... AttributeError: 'RenderSettings' object has no attribute 'tile-x'
Is this something relating to the render method?

from blenderexporter.

Palmer-JC avatar Palmer-JC commented on May 24, 2024

Basically, at the API level they made changes which are not back compatible.

from blenderexporter.

larjohn avatar larjohn commented on May 24, 2024

Is there an alternative to baking for things like bump maps (for instance those coming from MakeHuman clothing)?

from blenderexporter.

Palmer-JC avatar Palmer-JC commented on May 24, 2024

Sure, bake it yourself. Not that hard to do it & worth knowing. Also, just use 2.93. You can have both installed.

from blenderexporter.

echan00 avatar echan00 commented on May 24, 2024

also having the same problem, going to try 2.93 instead

from blenderexporter.

itssource avatar itssource commented on May 24, 2024

Is this project deprecated for Blender 3.x? I see references to random posts here and there on the Internet about using this repository, but it seems development stopped at 2.9. What's the best practice today? Export from Blender for now through menu item glTF 2.0 (.glb/.gltf)?

from blenderexporter.

Palmer-JC avatar Palmer-JC commented on May 24, 2024

from blenderexporter.

itssource avatar itssource commented on May 24, 2024

Okay, thanks Jeff.

from blenderexporter.

ElvisWong avatar ElvisWong commented on May 24, 2024

I got the same issue when exporting my blender scene using babylonjs exporter. Here's the error logs

Exporter version: 2.93.5, Blender version: 3.1.2
========= Conversion from Blender to Babylon.js =========
	Scene settings used :
		Inline textures     :  false
		Material Type       :  PBR
		Positions Precision :  4
		Normals Precision   :  3
		UVs Precision       :  3
		Vert Color Precision:  3
		Mat Weight Precision:  2
		Keep Z-up r-handed  :  no
		Texture directory   :  /Users/[xxx]/Documents/blender/[xxx]/
	Python World class constructor completed
	processing begun of camera (UniversalCamera):  Camera
	processing begun of mesh:  Room
		processing begun of material:  Wall Light
		processing begun of material:  Wall Base
			WARNING: unsupported node type(ShaderNodeMixRGB) will trigger baking
			WARNING: unsupported node type(ShaderNodeGamma) will trigger baking
			WARNING: Metal channel baking required, but not possible, ignored
			WARNING: Roughness channel baking required, but not possible, ignored
			WARNING: Refraction channel baking required, but not possible, ignored
========= An error was encountered =========
  File "/Users/[xxx]/Library/Application Support/Blender/3.1/scripts/addons/babylon_js/json_exporter.py", line 116, in execute
    mesh = Mesh(object, scene, self)
  File "/Users/[xxx]/Library/Application Support/Blender/3.1/scripts/addons/babylon_js/mesh.py", line 150, in __init__
    recipe = BakingRecipe(bpyMesh, exporter)
  File "/Users/[xxx]/Library/Application Support/Blender/3.1/scripts/addons/babylon_js/materials/baking_recipe.py", line 105, in __init__
    self.bakedMaterial.bake(bpyMesh, self)
  File "/Users/[xxx]/Library/Application Support/Blender/3.1/scripts/addons/babylon_js/materials/material.py", line 145, in bake
    tileXHold = render.tile_x
ERROR:  'RenderSettings' object has no attribute 'tile_x'
========= end of processing =========
elapsed time:  0 min, 0.0084 secs

from blenderexporter.

Palmer-JC avatar Palmer-JC commented on May 24, 2024

@ElvisWong, you may not use this exporter with anything that results in the material being required to bake, in a version of Blender newer than 2.93.

Your material 'Wall Base' has 2 nodes which have no equivalent in BABYLON PBR. MixRGB node might be added, but not Gamma. Baking in Blender also means there is going to be a texture required. Much better to use something like a Principled node for your materials, which maps much better, thus avoiding the bake / texture at run time.

from blenderexporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.