C-Sharp – WPF – 3D – Code Samples

C-Sharp – WPF – 3D Examples

Purpose: – Illustrates the for working with the .

View Other C-Sharp Examples

C-Sharp – WPF – 3D Examples

Animation
Rotate Transform 3D Animation Rotate 3D Transform
3-D Scene Animation Rotation Code Sample Shows how to animate a rotation transformation on a 3-D model in procedural code.
Animated Rotation Markup Sample Demonstrates rotation with markup code
Gradients
ControlDarkDark to ControlLight Demonstrates Gradient Brush
ControlDark to ControlLight Demonstrates Gradient Brush
Lighting
Ambient light Demonstrates ambient lighting
Directional Light Demonstrates Directional Lighting
Point Light Demonstrates Point Lighting
Spot Light Demonstrates Spot Lighting
3-D Lights Sample 3-D Lights Sample from Microsoft
Objects
Cube Cube
Point3D Sample Demonstrates the various methods and properties of the System.Windows.Media.Media3D.Point3D structure
Point4D Sample Demonstrates the various methods and properties of the System.Windows.Media.Media3D.Point4D structure
UIElement3D Sphere Sample Demonstrates creating a Sphere class that derives from System.Windows.UIElement3D
Vector3D Sample Demonstrates using the various methods and properties of the System.Windows.Media.Media3D.Vector3D structure
Draw a 3D Model Draw a 3-D Model
Surfaces
Mesh Geometry w/ Texture Mesh Geometry with Texture
Paint 3D with bitmap Paint 3D surface with bitmap