diff --git a/vr-configurator/Assets/Scripts/Models/ModelList.cs b/vr-configurator/Assets/Scripts/Models/ModelList.cs index 27936f9..e163071 100644 --- a/vr-configurator/Assets/Scripts/Models/ModelList.cs +++ b/vr-configurator/Assets/Scripts/Models/ModelList.cs @@ -15,12 +15,12 @@ public class ModelList Color.red, Color.yellow, }; - public static List FensterColor = new List() + public static List WindowColor = new List() { new Color32(50,50,50,50), new Color32(50,50,50,150), new Color32(50,50,50,255), - Color.cyan + new Color32(155, 150, 180, 255), }; public static readonly List BaseModels = new List() @@ -145,17 +145,16 @@ public class ModelList Port.Hidden(Definitions.PORT_ERL_TIRE_RV, "RV", new Vector3(0f,0f,0f), Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Choosable("Front Wheel Left", Definitions.PORT_ERL_RIM_RV, "idErlbachWheel_RV", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 30f, 0f)), Port.Choosable("Body", Definitions.PORT_ERLBACH_Body, "idErlbachPart84", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)), - Port.Choosable("Rear Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)), - Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart86", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)), + Port.Choosable("Rear Bumper", Definitions.PORT_ERLBACH_Bumper, "idErlbachPart85", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), + Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart86", new Vector3(2.1f, 0f, 0f), Quaternion.identity, 1f, new Vector3(-10f, 0f, 0f)), Port.Choosable("Number", Definitions.PORT_ERLBACH_Number, "idErlbachPart87", Vector3.zero, Quaternion.identity, 1f, new Vector3(50f, 0f, 0f)), - Port.Choosable("License Plate", Definitions.PORT_ERLBACH_LicensePlate, "idErlbachPart88", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)), - Port.Hidden(Definitions.PORT_ERLBACH_LicensePlateContent, "idErlbachPart89", Vector3.zero, Quaternion.identity, 1f, new Vector3(30f, 0f, 0f)), + Port.Choosable("License Plate", Definitions.PORT_ERLBACH_LicensePlate, "idErlbachPart88", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), + Port.Hidden(Definitions.PORT_ERLBACH_LicensePlateContent, "idErlbachPart89", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), Port.Hidden(Definitions.PORT_ERLBACH_90, "idErlbachPart90", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)), - Port.Choosable("Grille", Definitions.PORT_ERLBACH_GRILL, "idErlbachPart91", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)), - Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V_Cover, "idErlbachPart86", Vector3.zero, Quaternion.identity, 1f, new Vector3(-50f, 0f, 0f)), - Port.Choosable("Front Bumper", Definitions.PORT_ERLBACH_FrontBumper, "idErlbachPart92", Vector3.zero, Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), - Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V, "idErlbachPart93", Vector3.zero, Quaternion.identity, 1f, new Vector3(-60f, 0f, 0f)), - Port.Choosable("Glas", Definitions.PORT_ERLBACH_Windows, "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 90f)), + Port.Choosable("Grille", Definitions.PORT_ERLBACH_GRILL, "idErlbachPart91", new Vector3(2.5f, 0f, 3f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), + Port.Choosable("Front Bumper", Definitions.PORT_ERLBACH_FrontBumper, "idErlbachPart92", new Vector3(2.4f, 0f, -5.1f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), + Port.Hidden(Definitions.PORT_ERLBACH_Headlight_V, "idErlbachPart93", new Vector3(2.1f, 0f, -5.3f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), + Port.Choosable("Glas", Definitions.PORT_ERLBACH_Windows, "idErlbachGlas", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)), } ) }; @@ -264,7 +263,7 @@ public class ModelList "Grille Elegance", "idErlbachGrill", Resources.Load("Model/ERLbach/Grill1"), - Resources.Load("Material/AluminiumPolished"), + Resources.Load("Material/AluminiumBrushed"), new Vector3(-145f, -35f, 25f), // offset to the port Quaternion.Euler(0f, 180f, -90f), // no rotation new Vector3(1f, 1f, 1f), // scale @@ -404,10 +403,10 @@ public class ModelList new ModelElement( Definitions.PORT_ERLBACH_LicensePlate, "License Plate", "idErlbachPart88", Resources.Load($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( Definitions.PORT_ERLBACH_LicensePlateContent, "License Plate Content", "idErlbachPart89", Resources.Load($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), new ModelElement( Definitions.PORT_ERLBACH_90, "Erlbach Part 90", "idErlbachPart90", Resources.Load($"Material/PVC"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), - new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Standard Grille", "idErlbachPart91", Resources.Load($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), + new ModelElement( Definitions.PORT_ERLBACH_GRILL, "Standard Grille", "idErlbachPart91", Resources.Load($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( Definitions.PORT_ERLBACH_FrontBumper, "FrontBumper", "idErlbachPart92", Resources.Load($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, DefaultColors ), new ModelElement( Definitions.PORT_ERLBACH_Headlight_V, "Headlight", "idErlbachPart93", Resources.Load($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null ), - new ModelElement( Definitions.PORT_ERLBACH_Windows, "Fenster", "idErlbachGlas", Resources.Load($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, FensterColor), + new ModelElement( Definitions.PORT_ERLBACH_Windows, "Fenster", "idErlbachGlas", Resources.Load($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, WindowColor), }, Resources.LoadAll($"Model/ERLbach/ERLBach_mit_Fenster"), 1 //skip basemodel