Allison, thanks a lot. Setting ren1->UseFXAAOn()
worked as far as anti-aliasing goes but for some reason the thickness of the outline is not controllable. Even in the pictures above, the outlines are of different thicknesses. I had earlier thought that this was due to aliasing. But even with FXAA on, the outline is too thick for my liking and it doesn’t change even if I change the value in the setting outlineProperty->SetLineWidth(0.1)
. I am basically getting the following image at this moment
Update: I tried changing the resolution of the image by setting renWin->SetSize(1200,1200)
. This made the image better and reduced the thickness, but it is confusing, since the second image in my original post (with nice anti-aliasing) was produced using 600x600 resolution. Why does the second image (anti-aliased) in my original post doesn’t match the off screen rendered image produced using FXAA on ?
Thanks again.