Wish - 3D Viewer: Add means for rendering in higher resolution than window size.
Description
As of 5.1.5, the 3D viewer can only export renders in a "what you see is what you get" fashion, meaning that if you want to render a board in high resolution (especially when it's a large board or a panel), you have to blindly resize the window to the point that it's way off screen. This could be greatly improved if an "oversampling button" would be implemented. Also, if you have a powerful machine, you might want to keep it permanently on for antialiasing.
Besides from implementing the oversampling, it might require tweaks to the "export current view..." functions, so they wouldn't export the actual "anti-aliased" framebuffer, but rather the high-resolution render result before it gets resized.
Current workflow for hi-res renders:
- Adjust angle and framing in OpenGL mode.
- Blindly resize 3D Viewer window until it's wayy off-screen and laggy, while trying to maintain correct aspect ratio.
- Export OpenGL view as .png/jpg and check if the board is still in-frame and the resolution is high enough.
- Go back to step 2 several times, until the framing and the level of detail are ok.
- Switch to raytracing and leave for an hour to render.
- Export "current view" as .png/jpg.
Workflow after "oversampling button" would get implemented:
- Adjust angle and framing in OpenGL mode.
- If you didn't have oversampling enabled (for antialiasing), set it to something like 2x or 4x.
- Export OpenGL render result (higher resolution than the view) as .png/jpg and check if the level of detail is satisfying.
- Switch to raytracing and leave for an hour to render.
- Export render result (higher resolution than the view) as .png/jpg.