Page MenuHome

Cycles Bake: world space location affects object space normal pass
Closed, ResolvedPublic


System Information
Reproduced on Debian GNU/Linux 7.5 (wheezy) 64bit, Microsoft Windows XP (32bit, latest SP), multiple hardware configurations using Nvidia, AMD or Intel graphics.

Blender Version
Broken: current 2.71 release build (9337574) from, latest 2.71 BuildBot build (5e3e095).
Worked: unknown.

Short description of error
The location of the active object in world space affects the result of Cycles' object space normal bake pass. The bake result is correct only if the object is at location (0, 0, 0) during the bake. For any other location the bake produces normal maps that bear no resemblance to the sampled geometry.

Exact steps for others to reproduce the error
Open the attached objspacebug.blend file and click the bake button.

Although the seven objects in the scene re-use the same mesh geometry datablock with no modifiers attached, each bake turns out different. Only the object in the center produces a usable object space normal map.

Event Timeline

Manfred Giebler (mgiebler) raised the priority of this task from to Needs Triage by Developer.
Manfred Giebler (mgiebler) updated the task description. (Show Details)
Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Normal.Jul 13 2014, 10:28 AM

You don't have to place it in the center.
Apply location.
A bug.
Reminds me the other, fixed bug. to bake tangent maps correctly without applying rotation

That's strange, but confirmed indeed. Hm now that I think of I was only testing object normal map with 'Selected to Active' (which is working fine by the way), so no wonder this bug is present.

"Selected to Active" doesn't work either unless the active object is at location (0, 0, 0).

Fixed now, thanks for the report.