kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24717
Re: 3D cache path
Btw,
On relation to the cache size, on my development tests with my branch, I notice it can easily reach hundreds of MBytes.
Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Mário Luzeiro [mrluzeiro@xxxxx]
Sent: 19 May 2016 14:32
To: Bernhard Stegmaier; Nick Østergaard
Cc: KiCad Developers
Subject: Re: [Kicad-developers] 3D cache path
Hi Bernhard,
At moment 3D cache has almost any use in the current code.
If my branch get merged on day:
https://code.launchpad.net/~mrluzeiro/kicad/kicad_new3d-viewer
The 3D viewer will use that cached models to speed up the board loading (so there is no need to parse the model files and recalculate normals etc..)
The cache is global, on accord to last Cirilo email, that will be per user account.
There is a hash function that maps the real file to the cached data, also it checks for file modification (Cirilo can give more details about it).
Mario
Follow ups
References