stib
07-28-2006, 12:36 AM
I've been going insane trying to work out why my scene won't render properly, and I've finally caught the bug. (What were all you beta testers doing?).
Like any red blooded lightwaver with a new copy of 9 the first thing I've done is go crazy with Catmull Clarke n-gons. Perfectly understandable after years of painstakingly making sure there's never any polygons with more than four sides in my objects.
But there's a bug when you try to render them with both shadow mapped lights and fields. If you have a scene with:CC sub-patched objects
and you are using shadow mappped lights
and you are rendering with fields
and you are not caching your shadow maps
then shadow mapped lights will not work the second (and subsequent) AA pass. This means that your scene will come out a lot darker than you expect. You can actually see it happening in the render preview window; the first pass will be fine, the next will go all dark on you.
here's a couple of tests: on the left with a raytraced light, and on the right a shadow mapped light:
http://www.pureandapplied.com.au/images/pngs/raytraced.png http://www.pureandapplied.com.au/images/pngs/badRender.png
these images used PLD 5 pass AA with Mitchel reconstruction (I've tried classic AA and it doesn't work either), Classic camera (again, classic or perspective camera doesn't affect it either) Lower field first (ditto with field order, only turning fields off fixes it) no motion blur, no DOF.
This is very reproducible: attached is a scene and objects if you want to try it out for yourself.
Can we get a Newtek response, because it means no shadow mapped lights for those of us who work in television and need to render fields (no, let's not start that debate).
When is there going to be a bug sticky on this forum? Mighty hubristic of them not to have one already..
Like any red blooded lightwaver with a new copy of 9 the first thing I've done is go crazy with Catmull Clarke n-gons. Perfectly understandable after years of painstakingly making sure there's never any polygons with more than four sides in my objects.
But there's a bug when you try to render them with both shadow mapped lights and fields. If you have a scene with:CC sub-patched objects
and you are using shadow mappped lights
and you are rendering with fields
and you are not caching your shadow maps
then shadow mapped lights will not work the second (and subsequent) AA pass. This means that your scene will come out a lot darker than you expect. You can actually see it happening in the render preview window; the first pass will be fine, the next will go all dark on you.
here's a couple of tests: on the left with a raytraced light, and on the right a shadow mapped light:
http://www.pureandapplied.com.au/images/pngs/raytraced.png http://www.pureandapplied.com.au/images/pngs/badRender.png
these images used PLD 5 pass AA with Mitchel reconstruction (I've tried classic AA and it doesn't work either), Classic camera (again, classic or perspective camera doesn't affect it either) Lower field first (ditto with field order, only turning fields off fixes it) no motion blur, no DOF.
This is very reproducible: attached is a scene and objects if you want to try it out for yourself.
Can we get a Newtek response, because it means no shadow mapped lights for those of us who work in television and need to render fields (no, let's not start that debate).
When is there going to be a bug sticky on this forum? Mighty hubristic of them not to have one already..