Hi Jakub, Cirilo,
I made some (little) improvements of the anti-aliasing. (== slower render)
Would you like to try it?
My approach was been try to give the best apparent quality result without compromise much the render time.
Depending on the feedback of future users and how would like more to setup more parameters, a different dialogue (eg: as it was suggested by Cirilo) can be developed.
However, I believe most of users will not understand that parameters, that is why there is already a "back to defaults" button.
At moment the anti-aliasing is made on two stages (with different passes) but they are all adaptive. For instance, it will only "smooth" the edges of the image and not all pixels. That means in some cases it will miss tiny lines (missed by initial ray shooting)
More options can be added latter for more quality or different render results, but they will all mean more time to render!
Jakub: Do you have any examples to share rendered with POV-ray?
And option for exporting bigger (or smaller) images than actual window resolution?
This will need some work and I dont want to change things too much by now.
Are you planning printing outdoor flyers from KiCad ? :P
Cirilo: I found on your image, as you are using just grey colour models, that the render does not look good to me. I made some changes that I believe it will look better. Could you take a similar shot and send it to me so compare? (using latest updates from my branch)
Mario
________________________________________
From: Cirilo Bernardo [cirilo.bernardo@xxxxxxxxx]
Sent: 16 June 2016 00:05
To: Mário Luzeiro
Cc:pavlina.chris@xxxxxxxxx;kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] 3D-Viewer - Request for merge evaluation
Would it be possible to put in a quality setting (more rendering passes)?
For me there are many artefacts in the rendered image compared to OpenGL.
These include:
+ broken silk lines
+ staircase effect on lines
________________________________________
From: Jakub Kozdon [fldrivers@xxxxxxxxx]
Sent: 18 June 2016 20:33
To: Mário Luzeiro
Cc:kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] 3D-Viewer - Request for merge evaluation
About visual results, can you add settings similar to POV-Ray, especially for antaliasing [2]? And option for exporting bigger (or smaller) images than actual window resolution? I used POV-Ray only to render, so if similar renders will be possible in KiCad so it will be sufficient for me. Only one "advanced" feature I used in POV-Ray was possibility to render more images in row with slightly different coordinates, I used this for making videos. So I think that POV-Ray exporter will be unnecessary for now.