Page MenuHome

Displace Node crashes Blender when connected to Z-Buffer
Closed, ResolvedPublic

Description

Connecting a Z output to the X-Scale or Y-Scale Input of a Displace Node causes the Compositor to hang.
Trying to Render, Save or doing anything else will result in Blender itself crashing as well.

Happens in 2.57.0 from graphicall and 2.56a from blender.org, Windows 64bit.

Event Timeline

I think this isn't technically a bug - it's probably because the z buffer contains such huge values that it's trying to displace the image thousands of pixels away, which will be very slow.

Anyway, I've clamped the maximum displacement now to 4x the image size - probably should be ok without causing problems for people genuinely wanting to displace large distances. I've also added in the ability to cancel the node processing with esc if it hangs.

Matt Ebb (broken) changed the task status from Unknown Status to Resolved.Apr 18 2011, 12:47 AM