2021-06-11 09:17:52 +00:00
///////////////////////////////////////////////////////////////////////////
2021-09-07 12:06:02 +00:00
// C++ code generated with wxFormBuilder (version 3.9.0 Aug 10 2021)
2021-06-11 09:17:52 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "panel_3D_raytracing_options_base.h"
///////////////////////////////////////////////////////////////////////////
PANEL_3D_RAYTRACING_OPTIONS_BASE : : PANEL_3D_RAYTRACING_OPTIONS_BASE ( wxWindow * parent , wxWindowID id , const wxPoint & pos , const wxSize & size , long style , const wxString & name ) : RESETTABLE_PANEL ( parent , id , pos , size , style , name )
{
wxBoxSizer * bSizerMain ;
bSizerMain = new wxBoxSizer ( wxVERTICAL ) ;
wxBoxSizer * bSizerMargins ;
bSizerMargins = new wxBoxSizer ( wxVERTICAL ) ;
wxStaticBoxSizer * sbSizerRaytracingRenderOptions ;
sbSizerRaytracingRenderOptions = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Rendering Options " ) ) , wxVERTICAL ) ;
sbSizerRaytracingRenderOptions - > SetMinSize ( wxSize ( - 1 , 32 ) ) ;
wxGridSizer * gSizer1 ;
gSizer1 = new wxGridSizer ( 0 , 1 , 0 , 20 ) ;
m_checkBoxRaytracing_proceduralTextures = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Procedural textures (slow) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_proceduralTextures - > SetValue ( true ) ;
gSizer1 - > Add ( m_checkBoxRaytracing_proceduralTextures , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_checkBoxRaytracing_addFloor = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Add floor (slow) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_addFloor - > SetValue ( true ) ;
gSizer1 - > Add ( m_checkBoxRaytracing_addFloor , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_checkBoxRaytracing_antiAliasing = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Anti-aliasing (slow) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_antiAliasing - > SetValue ( true ) ;
gSizer1 - > Add ( m_checkBoxRaytracing_antiAliasing , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_checkBoxRaytracing_postProcessing = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Screen space ambient occlusions and global illumination reflections (slow) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_postProcessing - > SetValue ( true ) ;
gSizer1 - > Add ( m_checkBoxRaytracing_postProcessing , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
sbSizerRaytracingRenderOptions - > Add ( gSizer1 , 1 , wxEXPAND | wxBOTTOM , 5 ) ;
wxFlexGridSizer * fgSizer111 ;
fgSizer111 = new wxFlexGridSizer ( 0 , 4 , 4 , 8 ) ;
fgSizer111 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer111 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer111 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_staticText19 = new wxStaticText ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Number of Samples " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText19 - > Wrap ( - 1 ) ;
fgSizer111 - > Add ( m_staticText19 , 0 , wxLEFT | wxRIGHT | wxALIGN_CENTER_HORIZONTAL | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_staticText201 = new wxStaticText ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Spread Factor % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText201 - > Wrap ( - 1 ) ;
fgSizer111 - > Add ( m_staticText201 , 0 , wxALIGN_CENTER_HORIZONTAL | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_staticText211 = new wxStaticText ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Recursion Level " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText211 - > Wrap ( - 1 ) ;
fgSizer111 - > Add ( m_staticText211 , 0 , wxALIGN_CENTER_HORIZONTAL | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_checkBoxRaytracing_renderShadows = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Shadows: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_renderShadows - > SetValue ( true ) ;
fgSizer111 - > Add ( m_checkBoxRaytracing_renderShadows , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_spinCtrl_NrSamples_Shadows = new wxSpinCtrl ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 1 , 64 , 0 ) ;
m_spinCtrl_NrSamples_Shadows - > SetToolTip ( _ ( " Number of rays that will be cast, into light direction, to evaluate a shadow point " ) ) ;
fgSizer111 - > Add ( m_spinCtrl_NrSamples_Shadows , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_spinCtrlDouble_SpreadFactor_Shadows = new wxSpinCtrlDouble ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 0.1 , 25 , 0 , 1 ) ;
m_spinCtrlDouble_SpreadFactor_Shadows - > SetDigits ( 1 ) ;
m_spinCtrlDouble_SpreadFactor_Shadows - > SetToolTip ( _ ( " Random direction factor of the cast rays " ) ) ;
fgSizer111 - > Add ( m_spinCtrlDouble_SpreadFactor_Shadows , 0 , wxRIGHT | wxLEFT , 5 ) ;
fgSizer111 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_checkBoxRaytracing_showReflections = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Reflections: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_showReflections - > SetValue ( true ) ;
fgSizer111 - > Add ( m_checkBoxRaytracing_showReflections , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_spinCtrl_NrSamples_Reflections = new wxSpinCtrl ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 1 , 32 , 0 ) ;
m_spinCtrl_NrSamples_Reflections - > SetToolTip ( _ ( " Number of rays that will be cast to evaluate a reflection point " ) ) ;
fgSizer111 - > Add ( m_spinCtrl_NrSamples_Reflections , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_spinCtrlDouble_SpreadFactor_Reflections = new wxSpinCtrlDouble ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 0.1 , 25 , 0 , 1 ) ;
m_spinCtrlDouble_SpreadFactor_Reflections - > SetDigits ( 1 ) ;
m_spinCtrlDouble_SpreadFactor_Reflections - > SetToolTip ( _ ( " Random direction factor of the cast rays " ) ) ;
fgSizer111 - > Add ( m_spinCtrlDouble_SpreadFactor_Reflections , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_spinCtrlRecursiveLevel_Reflections = new wxSpinCtrl ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 1 , 5 , 0 ) ;
m_spinCtrlRecursiveLevel_Reflections - > SetToolTip ( _ ( " Interactions number that a ray can travel through objects. (higher number of levels improve results, specially on very transparent boards) " ) ) ;
fgSizer111 - > Add ( m_spinCtrlRecursiveLevel_Reflections , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_checkBoxRaytracing_showRefractions = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Refractions: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_checkBoxRaytracing_showRefractions - > SetValue ( true ) ;
fgSizer111 - > Add ( m_checkBoxRaytracing_showRefractions , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_spinCtrl_NrSamples_Refractions = new wxSpinCtrl ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 1 , 5 , 0 ) ;
m_spinCtrl_NrSamples_Refractions - > SetToolTip ( _ ( " Number of rays that will be cast to evaluate a refraction point " ) ) ;
fgSizer111 - > Add ( m_spinCtrl_NrSamples_Refractions , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_spinCtrlDouble_SpreadFactor_Refractions = new wxSpinCtrlDouble ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 0.1 , 25 , 0 , 1 ) ;
m_spinCtrlDouble_SpreadFactor_Refractions - > SetDigits ( 1 ) ;
m_spinCtrlDouble_SpreadFactor_Refractions - > SetToolTip ( _ ( " Random direction factor of the cast rays " ) ) ;
fgSizer111 - > Add ( m_spinCtrlDouble_SpreadFactor_Refractions , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_spinCtrlRecursiveLevel_Refractions = new wxSpinCtrl ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , 1 , 7 , 0 ) ;
m_spinCtrlRecursiveLevel_Refractions - > SetToolTip ( _ ( " Number of bounces that a ray can hit reflective objects " ) ) ;
fgSizer111 - > Add ( m_spinCtrlRecursiveLevel_Refractions , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
sbSizerRaytracingRenderOptions - > Add ( fgSizer111 , 0 , wxTOP | wxBOTTOM | wxRIGHT | wxEXPAND , 5 ) ;
sbSizerRaytracingRenderOptions - > Add ( 0 , 3 , 0 , wxEXPAND , 5 ) ;
bSizerMargins - > Add ( sbSizerRaytracingRenderOptions , 0 , wxEXPAND | wxALL , 5 ) ;
wxStaticBoxSizer * sbSizerRaytracingLightConfiguration ;
sbSizerRaytracingLightConfiguration = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Lights Configuration " ) ) , wxVERTICAL ) ;
wxBoxSizer * bSizer11 ;
bSizer11 = new wxBoxSizer ( wxHORIZONTAL ) ;
m_staticText17 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Ambient camera light: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText17 - > Wrap ( - 1 ) ;
bSizer11 - > Add ( m_staticText17 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerCameraLight = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerCameraLight - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
bSizer11 - > Add ( m_colourPickerCameraLight , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
bSizer11 - > Add ( 0 , 0 , 1 , 0 , 5 ) ;
m_staticText5 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Top light: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText5 - > Wrap ( - 1 ) ;
bSizer11 - > Add ( m_staticText5 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerTopLight = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerTopLight - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
bSizer11 - > Add ( m_colourPickerTopLight , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
bSizer11 - > Add ( 0 , 0 , 1 , 0 , 5 ) ;
m_staticText6 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Bottom light: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText6 - > Wrap ( - 1 ) ;
bSizer11 - > Add ( m_staticText6 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerBottomLight = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerBottomLight - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
bSizer11 - > Add ( m_colourPickerBottomLight , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
sbSizerRaytracingLightConfiguration - > Add ( bSizer11 , 0 , wxEXPAND | wxBOTTOM | wxRIGHT , 5 ) ;
wxFlexGridSizer * fgSizer11 ;
fgSizer11 = new wxFlexGridSizer ( 0 , 9 , 0 , 0 ) ;
fgSizer11 - > AddGrowableCol ( 4 ) ;
fgSizer11 - > SetFlexibleDirection ( wxHORIZONTAL ) ;
fgSizer11 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
m_staticText20 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Elevation (deg) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText20 - > Wrap ( - 1 ) ;
2021-07-05 19:00:48 +00:00
fgSizer11 - > Add ( m_staticText20 , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL | wxALIGN_CENTER_HORIZONTAL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_staticText18 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Azimuth (deg) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText18 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText18 , 0 , wxALIGN_CENTER_HORIZONTAL | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
m_staticText27 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Elevation (deg) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText27 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText27 , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_CENTER_HORIZONTAL | wxRIGHT | wxLEFT , 5 ) ;
m_staticText28 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Azimuth (deg) " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText28 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText28 , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_CENTER_HORIZONTAL | wxRIGHT | wxLEFT , 5 ) ;
m_staticText21 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 1: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText21 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText21 , 0 , wxALIGN_CENTER | wxALIGN_CENTER_VERTICAL , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight1 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight1 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight1 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation1 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation1 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth1 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth1 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
fgSizer11 - > Add ( 10 , 0 , 0 , 0 , 5 ) ;
m_staticText22 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 5: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText22 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText22 , 0 , wxALIGN_CENTER | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight5 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight5 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight5 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation5 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation5 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth5 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth5 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_staticText23 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 2: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText23 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText23 , 0 , wxALIGN_CENTER , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight2 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight2 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight2 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation2 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation2 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth2 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth2 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
m_staticText24 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 6: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText24 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText24 , 0 , wxALIGN_CENTER | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight6 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight6 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight6 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation6 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation6 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth6 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth6 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_staticText25 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 3: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText25 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText25 , 0 , wxALIGN_CENTER , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight3 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight3 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight3 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation3 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation3 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth3 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth3 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
m_staticText26 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 7: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText26 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText26 , 0 , wxALIGN_CENTER | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight7 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight7 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight7 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation7 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation7 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth7 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth7 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_staticText171 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 4: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText171 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText171 , 0 , wxALIGN_CENTER , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight4 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight4 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight4 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation4 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation4 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth4 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth4 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
fgSizer11 - > Add ( 0 , 0 , 0 , 0 , 5 ) ;
m_staticText181 = new wxStaticText ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , _ ( " Light 8: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText181 - > Wrap ( - 1 ) ;
fgSizer11 - > Add ( m_staticText181 , 0 , wxALIGN_CENTER | wxLEFT , 5 ) ;
2021-07-05 19:00:48 +00:00
m_colourPickerLight8 = new COLOR_SWATCH ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_colourPickerLight8 - > SetMinSize ( wxSize ( 72 , 20 ) ) ;
fgSizer11 - > Add ( m_colourPickerLight8 , 0 , wxALL , 5 ) ;
2021-06-11 09:17:52 +00:00
m_spinCtrlLightElevation8 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS , - 90 , 90 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightElevation8 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
m_spinCtrlLightAzimuth8 = new wxSpinCtrl ( sbSizerRaytracingLightConfiguration - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxSize ( 124 , - 1 ) , wxSP_ARROW_KEYS | wxSP_WRAP , 0 , 359 , 0 ) ;
fgSizer11 - > Add ( m_spinCtrlLightAzimuth8 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 1 ) ;
sbSizerRaytracingLightConfiguration - > Add ( fgSizer11 , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
bSizerMargins - > Add ( sbSizerRaytracingLightConfiguration , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2021-09-07 12:06:02 +00:00
bSizerMain - > Add ( bSizerMargins , 1 , wxEXPAND , 5 ) ;
2021-06-11 09:17:52 +00:00
this - > SetSizer ( bSizerMain ) ;
this - > Layout ( ) ;
2021-09-07 12:06:02 +00:00
bSizerMain - > Fit ( this ) ;
2021-06-11 09:17:52 +00:00
}
PANEL_3D_RAYTRACING_OPTIONS_BASE : : ~ PANEL_3D_RAYTRACING_OPTIONS_BASE ( )
{
}