BloomFilter re-initalise after changing downsampling patch

@Nehon

You can’t change the down sampling factor after the filter has been initialised because it requires all the passes to be reinitialised.

I created a super dirty patch to fix this, that just calls initFilter in setDownSamplingFactor, this a very generic solution I have been using is some of my filters.

2 Likes

idk…changing down sampling is not really meant to be real time it’s just for convenience…and since it only can occurs occasionally re initializing the filter is not really an issue IMO.
I’ll review your patch.

EDIT : nvm…I misread the issue and the solution, I get it now… :stuck_out_tongue:

Well there are some real time useages btw.

If framerate < x reduce downsampling factor to ugly :slight_smile:

1 Like

I committed the patch thanks.

1 Like

sweet, thanks mate