Aliasing issue when using OSPRay with transparent background
Saving an ospray rendered image with transparent background results in aliasing effects on edges. This only manifests in the saved image, viewing the scene through paraview looks fine.
Changing the value of samples per pixel does not influence the edge quality in the png as expected.
I have attatched two images of the same scene. One is saved without transparency, the other is saved with transparency and then composed over a white background.
How to reproduce:
- Generate Plane Source
- Move viewpoint so the lines are slightly crooked and aliasing effects appear
- Switch on OSPRay, increase Samples Per Pixel to 10 and watch aliasing dissappear
- Save as png with transparent background setting enabled
- view png composed over white background