-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to bake UV map #815
Comments
The same problem. Both on Blender 4.1 and 3.6. |
Same problem. Blender 4.2 |
Same problem here |
did someone find a solution to this? |
having this issue, 4.3.1. would love a solution or fix |
The reason for the "black image" (Blender 4.2 here) appears to be that the "src" image passed in to the bake function, in script file .config/blender/4.2/scripts/addons/dream_textures/operators/project.py:416 is RGB instead of RGBA - which is expected by the bake function. This can be fixed by replacing the invocation:
with
However, while with this "fix" the image is no longer black, the baking process does not work correctly, i.e. apparently wrong regions of the source image are mapped to the dest UV map. |
I had to flip the y coordinate of the src_uv before bake. So in summary this patch solved this issue for me:
|
@jploski thanks for tracking this down! Would you be able to open a PR with this fix? |
…on mapped to baked UV image)
Description
Blender 4.1
Dream Textures Windows CUDA 4-1
Windows 11
Cuda version details
When I try to generate with bake enabled the result uses the original generated image and the baked version of the image is just a black image.
No exceptions/warnings are logged.
Steps to Reproduce
Expected Behavior
I believe the baked image should re-arrange the generated image to match my UV-map.
Addon Version
Windows (CUDA)
Blender Version
Blender 4.1+
GPU
NVIDIA
The text was updated successfully, but these errors were encountered: