Baking HD displacement map in Blender
Hurdy3D
Posts: 1,047
Hey,
- I exported an HD figure with sub-d 0 (not base mesh) sub-d 4 to blender via the classical object export
- Added in Blender to the sub-d 0 figure a multi res and than applied via Shrinkwrap the HD mesh
- I deleted surfaces (like eyes) which I don't need on the sub-d 0 figure
- Added for all surfaces a image texture in the shader editor
- Set the multi res for the viewport to zero
- Use for rendering cycles in cpu mode and set in baking "Bake From Multires" and Bake Type "Displacement"
I've two issues:
- For the face I get just black
- All others images stay just gray (propably an UV map issue)
Using instead of Displacement "Normals" in Bake Type seems to work, at least for the face.
Any idea what I'm doing wrong to bake the Displacement maps?
Arms Empty.png
418 x 541 - 10K
Face Black.png
409 x 544 - 12K
face normals.png
412 x 519 - 144K
Comments
1'st thing, you really shouldn't use the shrinkwrap modifier. use blender 2.9 or later import in your HD mesh add a multiresolution modifier and hit rebuild subdivisions. It will rebuild the lower levels down to the base res. Even if you want to bake from a smoothed version rather than base rez it will still give you a much more accurate representation than using shrinkwrap.
my guess for why its not working is that you didn't collapse the uvs when you exported them. Blender has some preliminary UDIM support, but still can;an't bake outside the traditional reigon, I have fogot to collapse uvs and unsucessfully tried to bake a fair nymber of times. either re-export or move the ucs in edit mode (assuming this is actually the problem) This should fix the only baking to the face - ot sure on the baking black
okay, will try your suggestions tomorrow after sleeping. it's very late here
How do I collapse the UVs while exporting?
@gerster Also diffeo can do it for you.
http://diffeomorphic.blogspot.com/2020/09/baking-normal-maps.html
Did it like you suggested and it's working fine. Thank you
Thank you for the hint.
So far as I know Diffeo supports only Sub-D 2 or 3, like DazToBlender, correct?
And this is only about normals, but I wanted displacement (grayscale height maps).
A step-by-step tutorial for dummies would be great, as I'm not very good at Blender up to now.
@gerster As I know it diffeo takes the viewport subd level. If you want true displacement then use the HD exporter that's based on multires.
Hey @gerster - did this fix th baking black of displacement map for you?