Changeset 14751 for branches/symbreg-factors-2650/HeuristicLab.Problems.BinPacking.Views/3.3/Container3DView.xaml
- Timestamp:
- 03/16/17 07:56:01 (7 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
-
branches/symbreg-factors-2650/HeuristicLab.Problems.BinPacking.Views/3.3/Container3DView.xaml
r14162 r14751 30 30 MouseWheel="Container3DView_OnMouseWheel" 31 31 MouseEnter="Container3DView_OnMouseEnter" 32 KeyDown="Container3DView_OnKeyDown" 32 33 Focusable="true" 33 34 > … … 48 49 <ModelVisual3D.Content> 49 50 <Model3DGroup> 50 <GeometryModel3D>51 <GeometryModel3D.Geometry>52 <!-- two opaque cubes, one in front one in back-->53 <MeshGeometry3D x:Name="meshMain"54 Positions="0 0 -2.5 1 0 -2.5 0 1 -2.5 1 1 -2.5 0 0 -1.5 1 0 -1.5 0 1 -1.5 1 1 -1.555 0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1"56 TriangleIndices="10 11 9 10 9 8 15 9 11 15 13 9 14 13 15 14 12 13 14 10 12 10 8 12 10 15 11 10 14 15 0 9 13 8 13 1257 2 3 1 2 1 0 7 1 3 7 5 1 6 5 7 6 4 5 6 2 4 2 0 4 2 7 3 2 6 7 0 1 5 0 5 4 ">58 </MeshGeometry3D>59 </GeometryModel3D.Geometry>60 <GeometryModel3D.Material>61 <DiffuseMaterial>62 <DiffuseMaterial.Brush>63 <SolidColorBrush Color="LightGreen"/>64 </DiffuseMaterial.Brush>65 </DiffuseMaterial>66 </GeometryModel3D.Material>67 </GeometryModel3D>68 <GeometryModel3D>69 <GeometryModel3D.Geometry>70 <!-- two transparent cubes, one in front one in back-->71 <!-- draw transparent cubes from back to front and always draw outer and inner triangles and draw from front to back-->72 <MeshGeometry3D x:Name="meshInsides"73 Positions="-1 -1 -1 2 -1 -1 -1 2 -1 2 2 -1 -1 -1 2 2 -1 2 -1 2 2 2 2 274 -1 -1 -3 2 -1 -3 -1 2 -3 2 2 -3 -1 -1 -1 2 -1 -1 -1 2 -1 2 2 -1"75 TriangleIndices="9 11 10 8 9 10 11 9 15 9 13 15 15 13 14 13 12 14 12 10 14 12 8 10 11 15 10 15 14 10 13 9 8 12 13 876 1 3 2 0 1 2 3 1 7 1 5 7 7 5 6 5 4 6 4 2 6 4 0 2 3 7 2 7 6 2 5 1 0 4 5 077 ">78 </MeshGeometry3D>79 </GeometryModel3D.Geometry>80 <GeometryModel3D.Material>81 <MaterialGroup>82 <DiffuseMaterial>83 <DiffuseMaterial.Brush>84 <SolidColorBrush Opacity="0.1" Color="DarkGray"/>85 </DiffuseMaterial.Brush>86 </DiffuseMaterial>87 </MaterialGroup>88 </GeometryModel3D.Material>89 </GeometryModel3D>90 <GeometryModel3D>91 <GeometryModel3D.Geometry>92 <!-- two transparent cubes, one in front one in back-->93 <!-- draw transparent cubes from back to front and always draw outer and inner triangles and draw from front to back-->94 <MeshGeometry3D x:Name="meshTransparent"95 Positions="-1 -1 -1 2 -1 -1 -1 2 -1 2 2 -1 -1 -1 2 2 -1 2 -1 2 2 2 2 296 -1 -1 -3 2 -1 -3 -1 2 -3 2 2 -3 -1 -1 -1 2 -1 -1 -1 2 -1 2 2 -1"97 TriangleIndices="2 3 1 2 1 0 7 1 3 7 5 1 6 5 7 6 4 5 6 2 4 2 0 4 2 7 3 2 6 7 0 1 5 0 5 498 10 11 9 10 9 8 15 9 11 15 13 9 14 13 15 14 12 13 14 10 12 10 8 12 10 15 11 10 14 15 0 9 13 8 13 1299 ">100 </MeshGeometry3D>101 </GeometryModel3D.Geometry>102 <GeometryModel3D.Material>103 <MaterialGroup>104 <DiffuseMaterial>105 <DiffuseMaterial.Brush>106 <SolidColorBrush Opacity="0.1" Color="DarkGray"/>107 </DiffuseMaterial.Brush>108 </DiffuseMaterial>109 </MaterialGroup>110 </GeometryModel3D.Material>111 </GeometryModel3D>112 113 51 </Model3DGroup> 114 52 </ModelVisual3D.Content>
Note: See TracChangeset
for help on using the changeset viewer.