kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34502
Re: 3D Viewer "Render current view using Raytracing" is ludicrously slow
The Retina display is basically two things: 2x the resolution, and smart anti-aliasing that takes advantage of knowing what order the RGB sub-pixels are in. (For instance, if you want to move a white dot 1/3 of a pixel to the left, you can do that by turning on the B sub-pixel of the previous pixel, and the RG sub-pixels of the current pixel. This of course only works on the horizontal axis, but that’s where you need it for text.)
Cheers,
Jeff.
> On 28 Feb 2018, at 10:20, Mário Luzeiro <mrluzeiro@xxxxx> wrote:
>
> Hi Andy,
>
> This most probably sounds to me as "it is working as expected".
> Raytracing rendering method is consider to be an "offline rendering" (means, it will take a lot and you can go offline for a coffee and back after a while)
>
> However for simple scenes I am not expecting such a long time.
> Depending on the options I may expect just a few seconds for some scenes.
>
> My guesses, for developers to investigate are:
> - Make sure KiCad on MacOS is build with OpenMP enabled and it is working. This is very important to make rendering to work in parallel.
> - Since Macs have that "Retina" thing.. could that be the screen resolution is actually 4x (? I dont know how it works..) what it is displaying (comparing to a regular display)?
>
> Mario Luzeiro
> ________________________________________
> From: Kicad-developers <kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx> on behalf of Andy Peters <devel@xxxxxxxxx>
> Sent: 27 February 2018 23:21
> To: KiCad Developers
> Subject: [Kicad-developers] 3D Viewer "Render current view using Raytracing" is ludicrously slow
>
> This is probably way low on the list of priorities …
>
> On a 2017 MacBook Pro (Retina, touch bar, 16 GB RAM, with the Radeon 555 graphics), the "Render current view using Raytracing" is ludicrously slow, as in it takes about a minute to render a “simple” design (front panel thing with LEDs and buttons).
>
> I admit that I didn’t know what that blue cube in the 3D viewer’s toolbar was for. I guess it’s really a tesseract.
>
> Anyway, it re-draws the display and then when you zoom or pan it reverts back to the original rendering (which is quite fast).
>
> -a
>
>
>
> Application: kicad
> Version: (5.0.0-rc2-dev-26-g0d794b2), release build
> Libraries:
> wxWidgets 3.0.4
> libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
> Platform: Mac OS X (Darwin 17.4.0 x86_64), 64 bit, Little endian, wxMac
> Build Info:
> wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
> Boost: 1.61.0
> Curl: 7.43.0
> Compiler: Clang 7.3.0 with C++ ABI 1002
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=ON
> USE_WX_OVERLAY=ON
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References