From 9538087ad19c4d51c50404bfdec24d006714ef7d Mon Sep 17 00:00:00 2001 From: "Andy (Steve) De George" <67293991+adegeo@users.noreply.github.com> Date: Wed, 1 Nov 2023 09:24:57 -0700 Subject: [PATCH] Update 3-d-graphics-overview.md (#1731) --- .../framework/wpf/graphics-multimedia/3-d-graphics-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/3-d-graphics-overview.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/3-d-graphics-overview.md index da56549138..f1f6dca30c 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/3-d-graphics-overview.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/3-d-graphics-overview.md @@ -69,7 +69,7 @@ Perspective and Orthographic Projections [!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)] - In the preceding example, the list specifies four vertices to define a rectangle mesh. The property specifies a list of two groups of three indices. Each number in the list refers to an offset into the list. For example, the first three vertices specified by the list are (-1,-1,0), (1,-1,0), and (-1,1,0). The first three indices specified by the list are 0, 1, and 2, which correspond to the first, second, and third points in the list. As a result, the first triangle that makes up the rectangle model will be composed from (-1,-1,0) to (1,-1,0) to (-1,1,0), and the second triangle will be determined similarly. + In the preceding example, the list specifies four vertices to define a rectangle mesh. The property specifies a list of two groups of three indices. Each number in the list refers to an offset into the list. For example, the first three vertices specified by the list are :::no-loc text="(-1,-1,0)":::, :::no-loc text="(1,-1,0)":::, and :::no-loc text="(-1,1,0)":::. The first three indices specified by the list are 0, 1, and 2, which correspond to the first, second, and third points in the list. As a result, the first triangle that makes up the rectangle model will be composed from :::no-loc text="(-1,-1,0)"::: to :::no-loc text="(1,-1,0)"::: to :::no-loc text="(-1,1,0)":::, and the second triangle will be determined similarly. You can continue defining the model by specifying values for the and properties. To render the surface of the model, the graphics system needs information about which direction the surface is facing at any given triangle. It uses this information to make lighting calculations for the model: surfaces that face directly towards a light source appear brighter than those angled away from the light. Though the WPF can determine default normal vectors by using the position coordinates, you can also specify different normal vectors to approximate the appearance of curved surfaces.