使用c#进行3D绘图 [英] 3D Drawing using c#
问题描述
嗨^ _ ^
我想用c#做一个3d画家。
First我希望显示3个面板 - XY,XY和YZ视图。用户将在每个面板中绘制他想要的内容。之后,他将点击一个按钮来组合3个视图,并从这些面板中获取一个3d模型。他也可以自由地渲染这个模型。
我该怎么做?什么是最合适和最简单的语言呢? (打开gl,XNA,WPF等)?
这些图片将说明我想要的内容:观看次数: 3D视图
合并3个视图后的3D对象: 3D对象
任何额外的信息都会有所帮助。
谢谢: )
Hi ^_^
I want to make a 3d painter using c#.
First of all I want to display 3 panels - XY, XY and YZ Views. The user will paint what he wants in each panel. After that he will click on a button to combine the 3 views and get a 3d model from these panel. He also can render this model freely.
How can I do that? And what is the most suitable and simplest language to do that so? (Open gl, XNA, WPF etc)?
this pictures will Illustrates what I want: Views : 3D Views
3D Object after combining 3 views : 3D Object
any extra information will be helpful.
Thanks :)
推荐答案
< grid>
Triangle
< viewport3d name =MainViewPortcliptobounds =真正的>
< viewport3d.camera>
< perspectivecamera>
FarPlaneDistance =100
LookDirection = - 12,-11,-10
UpDirection =0,1,0
NearPlaneDistance =1
Position =11,10,9
FieldOfView =75/>
< modelvisual3d>
< modelvisual3d.content>
< directionallight>
颜色=白色
方向= - 2,-3,-1/ >
<grid>
Triangle
<viewport3d name="MainViewPort" cliptobounds="True">
<viewport3d.camera>
<perspectivecamera>
FarPlaneDistance="100"
LookDirection="-12,-11,-10"
UpDirection="0,1,0"
NearPlaneDistance="1"
Position="11,10,9"
FieldOfView="75" />
<modelvisual3d>
<modelvisual3d.content>
<directionallight>
Color="White"
Direction="-2,-3,-1" />
这篇关于使用c#进行3D绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!