I am needing to render a bunch of snow with shallow DOF so I created a Pflow data operator that scales a camera facing card per point to be pixel sized regardless of distance from camera and then am scaling it based on the Physical camera's focus point. By putting a Bokeh image in the texture slot it properly scales (and attenuates based on scale) the shape. I am able with this trick to render a full 1080p frame with clean 20,000 snow flakes or dust motes in about 3 minutes with motion blur and 'DOF'. No motion blur is about a 10-15 second rendering at 1080p. This also avoids any post DOF artifacts which is nice although it can have problems with hold-out mattes since the cards can intersect matte objects.
Next feature to add is 'proper' bokeh scaling based on focal length and F-Stop.
Next feature to add is 'proper' bokeh scaling based on focal length and F-Stop.
Comment