← Back to team overview

kicad-developers team mailing list archive

Re: 3D Viewer "Render current view using Raytracing" is ludicrously slow

 

OpenMP does not seem to be enabled on the current macos nightlies. I am not
sure what to install to get that working. Also, it would be nice if it
could get into the version info.

2018-02-28 11:20 GMT+01:00 Mário Luzeiro <mrluzeiro@xxxxx>:

> 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@lists.
> launchpad.net> 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
>

Follow ups

References