惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
博客园_首页
W
WeLiveSecurity
S
Secure Thoughts
S
Security @ Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
U
Unit 42
N
News and Events Feed by Topic
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
Forbes - Security
Forbes - Security
T
Tor Project blog
I
Intezer
B
Blog
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
T
Threat Research - Cisco Blogs
AI
AI
Google DeepMind News
Google DeepMind News
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
L
Lohrmann on Cybersecurity
WordPress大学
WordPress大学
博客园 - 聂微东
雷峰网
雷峰网
P
Privacy International News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
PCI Perspectives
PCI Perspectives
Y
Y Combinator Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
Vercel News
Vercel News
A
Arctic Wolf
The Register - Security
The Register - Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Azure Blog
Microsoft Azure Blog
H
Heimdal Security Blog
Know Your Adversary
Know Your Adversary
P
Proofpoint News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed

博客园 - 阮

Database access assembly build program. - 阮 Remoting: Server encountered an internal error. - 阮 昨天忽然发现被加到training团队中了,遂来发一篇。 利用Brush修改图片,并写入Response一例(网上BBS中贴可变文字图片的例子)。 关于QQ的临时消息 Google Search for dot net nuke. 初识 Avalon 通过程序控制Windows传真发送。 VRML Merry Chirstmas. 继续昨天的问题。 What's wrong? 构建安全的 ASP.NET 应用程序。(转) 检测Win Form Datagrid点击cell值的代码,from msdn。 Google search for DNN 终于写完了。 DataGrid不能绑定Field? 试了试Dot Net Nuke还真爽。 取得天气的WEB地址,weather.com 终于,从System.Windows.Forms.Control继承了一下。
Avalon 与 3D。
· 2005-01-24 · via 博客园 - 阮

    很早之前就知道avalon有3D支持,尤其那个球的Demo,http://blogs.msdn.com/danlehen/archive/2004/06/01/146259.aspx,前几天刚刚下到CTP,Win FX SDK中的3D例子很少,而且不怎么好用,就目前对xaml的认识还不足以改正其中的错误,无奈,只好再寻例子了,上周末找了半天,终于找到了,在一个录像中照扒下来的。

<Window x:Class="AvalonApp.Window1"
    xmlns
="http://schemas.microsoft.com/2003/xaml" xmlns:x="Definition"
    Text
="AvalonApp"
    
>
    
<Viewport3D>
        
<Viewport3D.Camera>
            
<PerspectiveCamera Position="0,0,5" Up="0,1,0" LookAtPoint="0,0,0" FieldOfView="45">
                
<PerspectiveCamera.Position>
                    
<Point3DAnimation From="0,0,5" To="5,5,5" Duration="2" RepeatBehavior="Forever" AutoReverse="true"></Point3DAnimation>
                
</PerspectiveCamera.Position>
            
</PerspectiveCamera>
        
</Viewport3D.Camera>
        
<Viewport3D.Models>
            
<AmbientLight Color="White"></AmbientLight>
            
<GeometryModel3D>
                
<GeometryModel3D.Material>
                    
<BrushMaterial Brush="Blue"></BrushMaterial>
                
</GeometryModel3D.Material>
                
<GeometryModel3D.Geometry>
                    
<MeshGeometry3D
                        
Positions="-1,1,0 1,1,0 1,-1,0 -1,-1,0"
                        TriangleIndices
="0 1 2 0 2 3">
                    
</MeshGeometry3D>
                
</GeometryModel3D.Geometry>
            
</GeometryModel3D>
        
</Viewport3D.Models>
    
</Viewport3D>
</Window>

运行效果如图,视角是移动的。

    这又不禁让我想起了VRML,2年前,我学VRML的时候,就曾经想过,其实VRML应该用XML来写,结果Xaml真的出现了,更出乎意料的是,是MS搞的,那些致力于WEB 3D的公司为什么没有自己把VRML形成XML系列的标准呢,唉,给MS抢了先了。