zoukankan
html css js c++ java
WPF : 3D 最简单的WPF 3D
<
Window x:Class
=
"
SimplestWpf3D.Window1
"
xmlns
=
"
http://schemas.microsoft.com/winfx/2006/xaml/presentation
"
xmlns:x
=
"
http://schemas.microsoft.com/winfx/2006/xaml
"
Title
=
"
Window1
"
Height
=
"
300
"
Width
=
"
300
"
>
<
Grid
>
<
Viewport3D
>
<!--Camera-->
<
Viewport3D.Camera
>
<
PerspectiveCamera
/>
</
Viewport3D.Camera
>
<!--Lights and Objects in the Children-->
<
Viewport3D.Children
>
<!--Light-->
<
ModelVisual3D
>
<
ModelVisual3D.Content
>
<
DirectionalLight Color
=
"
White
"
Direction
=
"
0,1,-1
"
/>
</
ModelVisual3D.Content
>
</
ModelVisual3D
>
<!--Object-->
<
ModelVisual3D
>
<
ModelVisual3D.Content
>
<
GeometryModel3D
>
<
GeometryModel3D.Geometry
>
<
MeshGeometry3D Positions
=
"
-1 0 -8, 1 0 -8, 0 1 -8
"
/>
</
GeometryModel3D.Geometry
>
<
GeometryModel3D.Material
>
<
DiffuseMaterial Brush
=
"
Red
"
/>
</
GeometryModel3D.Material
>
</
GeometryModel3D
>
</
ModelVisual3D.Content
>
</
ModelVisual3D
>
</
Viewport3D.Children
>
</
Viewport3D
>
</
Grid
>
</
Window
>
查看全文
相关阅读:
Codeforces 376A. Night at the Museum
Assigning Workstations
树的直径证明
Frogger
Circle
HDU 1022 Train Problem I
Argus
树状数组总结
C++ 容器(一):顺序容器简介
C++ 输出缓冲区的管理
原文地址:https://www.cnblogs.com/mrfangzheng/p/1179559.html
最新文章
h.264 FMO
h.264加权预测
h.264码率控制
指数哥伦布编码
h.264的POC计算
SQL性能优化
SqlServer性能检测和优化工具使用详细
NetAnalyzer笔记 之 八 NetAnalyzer2016使用方法(2)
NetAnalyzer笔记 之 一. 开篇语
没有上司的舞会
热门文章
【bzoj1787】[Ahoi2008]Meet 紧急集合
prufer数列
1602: [Usaco2008 Oct]牧场行走
bzoj3631 [JLOI2014]松鼠的新家
洛谷P3398 仓鼠找sugar
tarjian求lca
线段树整理
简单的数据结构5.1--------(没整理完)
Codeforces 376C. Socks
Codeforces 376B. Coupons and Discounts
Copyright © 2011-2022 走看看