![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | which controls in VisualBrush.Visual Hallo Guys, I'm a newbe ti WPF but I'd like to know better how could I fill Geometry3D materials. I succesfully used videos and images, when try with frames or pages nothing appear. (code snippet below. Coding Expression ID aided) I read that VisualBrush interaction is missing for v1, but seems to me rendering too for these kind of control or I (probabily) missed something. Can you give me some advices ? Alberto <GeometryModel3D x:Name="OB_Plane1"> <GeometryModel3D.Material> <DiffuseMaterial> <DiffuseMaterial.Brush> <VisualBrush TileMode="Tile" Stretch="Uniform"> <VisualBrush.Visual> <Frame Source="someURL"/> </VisualBrush.Visual> </VisualBrush> </DiffuseMaterial.Brush> </DiffuseMaterial> </GeometryModel3D.Material> <GeometryModel3D.Geometry> <MeshGeometry3D x:Name="ME_Plane1" Positions="3.609293,1,0 -1,1,0 -1,-1,0 3.609293,-1,0" Normals="0,0,1 0,0,1 0,0,1 0,0,1" TextureCoordinates="0,1 1,1 1,0" TriangleIndices="0 1 2 0 2 3"/> </GeometryModel3D.Geometry> <GeometryModel3D.Transform> <Transform3DGroup> <TranslateTransform3D OffsetZ="0" OffsetY="0" OffsetX="0"/> <ScaleTransform3D ScaleX="1" ScaleY="2" ScaleZ="1.5"/> <RotateTransform3D d:EulerAngles="110.313458565114,78.6415164961732,91.0743385978702"> <RotateTransform3D.Rotation> <AxisAngleRotation3D Axis="0.254387077339354,0.964803071106845,-0.0666501977907248" Angle="94.194270424737326"/> </RotateTransform3D.Rotation> </RotateTransform3D> <TranslateTransform3D OffsetZ="0" OffsetY="0" OffsetX="0"/> <TranslateTransform3D OffsetZ="3.5915406294298715" OffsetY="0" OffsetX="-10.607040559207691"/> </Transform3DGroup> </GeometryModel3D.Transform> </GeometryModel3D> |
My System Specs![]() |