Comments (11)
from blenderexporter.
Same issue.... AttributeError: 'RenderSettings' object has no attribute 'tile-x'
Is this something relating to the render method?
from blenderexporter.
Basically, at the API level they made changes which are not back compatible.
from blenderexporter.
Is there an alternative to baking for things like bump maps (for instance those coming from MakeHuman clothing)?
from blenderexporter.
Sure, bake it yourself. Not that hard to do it & worth knowing. Also, just use 2.93. You can have both installed.
from blenderexporter.
also having the same problem, going to try 2.93 instead
from blenderexporter.
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.
from blenderexporter.
Okay, thanks Jeff.
from blenderexporter.
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.
@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)
- Request for NLA support
- Optionally include Blender Custom Properties in babylon metadata HOT 5
- Not working with Blender 2.91 HOT 4
- Writing of JSON file started ,An error was encountered HOT 1
- ORM Texture packing Increases Filesize HOT 5
- No material when exporting HOT 2
- Shape key export issues HOT 2
- Some parts of hierarchy exported with wrong rotations
- self.alpha = bpyNode.image.file_format not in NON_ALPHA_FORMATS HOT 1
- physicsImpostors are applied but not assigned to objects HOT 3
- Doesn't install on 2.9? HOT 1
- Camera 'Check Collisions' not enabled when box is ticked HOT 3
- ERROR: 'NoneType' object has no attribute 'file_format'
- Specular adjustment in Blender not visible in Babylon HOT 1
- Not able to export animation frames HOT 3
- problems with installation HOT 1
- Invalid JSON with non-scalar custom props HOT 2
- Proposal: Support `Alpha` settings in material even when image texture's file format is PNG HOT 1
- 'NoneType' object has no attribute 'writeCsvFile' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blenderexporter.