Dupliverted lamps causing massive jump in occlusion preprocessing...

Hi all,

Have to jump back into Blender Internal in 2.63 (ie current trunk, not official) for a side job. Something I’m banging my head against a wall with is that I’m using lamps on dupliverts to create 2521 point lights. That part is fine, the lights come on in the right spots, etc.

The issue is that the dupliverted lamps (non shadow casting btw) cause a massive jump in occlusion preprocessing time. As in entire render and preprocessing jumps from 30 seconds to almost 3 minutes.

This can be worked around with ‘patience’, but for iterative test renders it is fairly frustrating as the added time is there regardless of antialising settings, resolution, etc. The render part itself still goes fast enough.

What gets me though is why a lamp of any kind would need to be part of an occlusion pass in the first place.

I’ve tried a number of recent builds as well as the 2.63 release and so on, same issue.

Any thoughts?

I tried to replicate your described setup and find that my render times are about the same with AO on or off. Using 2.6.5 r46863. Perhaps the materials you are using are causing it…?

Attachments



26_duplivert_lamps.blend (544 KB)

Thanks for taking a look.

I subdivided to get over 16000 lamps and no slowdown on your file. Not from occlusion anyway.

Hrm. Still experimenting.

Removed/collapsed all arrays, modifiers, etc by exporting to .obj then reimported to 2.49 and all is well. Suspect it was a rogue modifier or modifier/array/etc bug rather than lights specifically.

Still not sure if is a bug that is already in the tracker or not but solved for my purposes.