Comments (6)
Hi, and thanks for using the addon!
That seems strange, although it could be that there's a bug in 3.2+ that I haven't caught. Does it work of you turn off "apply modifiers"? Also, your meshes aren't linked or multi-user by any chance?
Edit: Do you have the option to share the scene?
from the_lightmapper.
It seems to be failing on this step:
The_Lightmapper/addon/utility/cycles/prepare.py
Lines 144 to 149 in 85c6532
from the_lightmapper.
And I am able to bake on a simple model like a cube and plane, as in the wiki example.
from the_lightmapper.
I wonder if my model is improperly constructed in some way. It's quite complex, imported from another program:
Any advice on how to work with such models, or to convert them in some way? Cycles is able to render lights within Blender, i just get this error when baking.
from the_lightmapper.
Thank you for writing back so quickly! Turning off that option didn't help; same result.
https://drive.google.com/file/d/1B7FXu2rZnzIh8rbdBFPkHMSPXKyADfNb/view?usp=sharing
Here is the file -- I tried it in Blender 3.0.1 and it runs without an error, although it seems to have some trouble that I can probably follow tutorials to work through:
Thank you again!
from the_lightmapper.
@jywarren Sorry about the late reply. Seems like my github replies went into the spam folder. - I testes the file and I couldn't quite reproduce the bug, but I was wondering if you turn on the verbose option in the settings, does it say anything in more detail when it crashes/produces the bug?:
By default it shouldn't be too much hassle to ligthmap and scene like that one with a bit of uv adjustment and denoising. One thing I did notice was that there's lot of backfacing normals, which means that the light won't reach the surfaces:
Select all the objects and going to Mesh > Normals > Recalculate Outside seems to fix a lot of them:
from the_lightmapper.
Related Issues (20)
- Blender 3.4.1 and Lightmapper finishes bake under a second and no lightmaps are generated HOT 7
- Can't bake object with multiple instances HOT 1
- Possible path issue when cleaning using Linux/Mac
- strange artifacts with denoise activated HOT 5
- Fix OpenCV installation with Blender 3.5+ HOT 1
- Cannot build lightmaps (Blender 3.5) HOT 1
- Proposal: export glTF files with lightmaps HOT 9
- Background baking not working with AtlasGroups HOT 1
- Add option to build lights with a neutral white color as material
- can i bake multiple matirial into one lightmap with this tool and how can i do it ? HOT 8
- It use CPU insteade of GPU to render HOT 3
- Expose GPU mode when using OIDN 2.0
- Some faces are darker for no reason
- Enabling denoise causes problems Blender 3.6 HOT 1
- Addon renders scene from camera view instead of generating a lightmap. HOT 1
- Update addon for Blender 4.0 HOT 3
- Certain objects don't clean up properly in the "clean lightmaps" step HOT 1
- Support for Flamenco Renderfarm HOT 1
- GLTF Utilities - error - Cannot add socket to built-in node HOT 7
- bpy.ops.tlm.build_lightmaps() failed by python console HOT 2
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 the_lightmapper.