Community
Hi
I have the same problem.
I set 3 State Sets and each one has its camera and its Z depth element but when I switch to different State Sets, 3DsMAX uses the same z min/ z max values.
How to deal with that? Have you solved this problem?
I use 3ds max 2014.
on Min changed txt do (ZRenderElement.zMin = (txt as float))That, of course, requires that your ZRenderElement does contain a valid reference to an existing Z_Depth pass in the Render Elements dialog. You haven't posted the code which obtains that so there's no way to tell if it is correct.
Thank you for replying so fast!
I just use the default function "input the numbers" in 3ds max not the max script. Sorry that I didn't mention it and I found I post in the wrong forum.
Thank you anyway.