kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44357
Help on saving colors options on 3D-Viewer
-
To:
"kicad-developers@xxxxxxxxxxxxxxxxxxx" <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Mário Luzeiro <mrluzeiro@xxxxx>
-
Date:
Sun, 9 Aug 2020 16:49:39 +0000
-
Accept-language:
en-GB, en-US
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ua.pt; dmarc=pass action=none header.from=ua.pt; dkim=pass header.d=ua.pt; arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FriHyO4SZ/52JX1VAoSNkqKr9JQJi4hxdAFiRizMctY=; b=Vwag+996aIGhEqrOUIpprc93kNYSx5bIncOHtIc+qYEU8se0d2qrA7y+StKo3kBFghhKxAnO16BOvf0xH/k8MUltkpjckExMjouTcoE2/b63XLa+jvEEcLUqaBWsRDDtn+tLCHOOyZYoIDYIHtgXzy7Kcbo1QdtNPXT63J1YDtqmoTxNUp97U0wMBG0lSUszsPTWhzgFKCKxv2Piy9rjAgdxXPK7fFsVF51adeyxnwQtUfF9MRMV8lCqxyVziz/A6d+LxWaPrLWxCbIlhhWaQjEV1ObyNipu/jOofvF76Hj0eYtRs3/yA4peg+Wt9UlmgZhNkTe+RXL4f8uFYQ16aA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FtjlPFEcxiimvfrH97oUcdsaMGIaaNOWTqiU1S5Y85XCWx0xISCxkArHAth7QjpR1QH4mUPs6lxT/yD3Mm499KhV5PhFSnRl1fIGcb73BSazKdYFPdHCS6D1KzXpiid2ti560a0Ql5OPbx3wpIIhCx61KLRD4/ZrQ3QBnk8TPxzxnlmb9kvYiUr1IqeELt3FcE/mij+KDOPJKfiY3M6xk8yTdlMq+C/cLElZolxzW3m74u9zIa0vPLQFNsLMIUcukYfgcEEBHd+/jgCWlPgSMOUhT2U1ITLcv1BBpnA+QDADRdkE1AXubtF1CkpKqPCOu2Cpe9yP9/Y0gz2FrVO+RA==
-
Authentication-results:
lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=none action=none header.from=ua.pt;
-
Thread-index:
AQHWbmuBtICsTAIx1kuEgAZsHiu9kQ==
-
Thread-topic:
Help on saving colors options on 3D-Viewer
Hello all,
I'm looking for help on anyone behind the "settings saving and best practice".
I noticed there were lots of changes related how settings are saved.
Currently the color settings on 3D-Viewer come from:
COLOR_SETTINGS* colors = Pgm().GetSettingsManager().GetColorSettings();
They are labeled as LAYER_3D_
There is LAYER_3D_BACKGROUND_BOTTOM and LAYER_3D_BACKGROUND_TOP that are not really layers.
I have in mind, to implement a color options of the lights on Raytracing render,
(please also comment if you have anything to say about this idea)
so I was looking for guidance where/how should it be implemented and where/how should it be saved.
For me it looks better to store this colors next to other 3D-Viewer settings (EDA_3D_VIEWER_SETTINGS)
but still not sure how to add there a color parameter.
I appreciate any hint!
Regards,
Mario Luzeiro
Follow ups