Kit 3D 更新

Kit3D is a 3D graphics engine written for Microsoft Silverlight. Kit3D was initally released in a JavaScript format to run with Silverlight 1.0, now there is a new release which is written for the upcoming Silverlight 2 release. The new version of the engine is written in C# and the classes now model the WPF3D types which are found in the System.Windows.Media.Media3D namespace. Applications written using Kit3D will look nearly identical to code written to produce WPF3D content.

Kit3D 是一个silverlight中3D引擎.其第一个版本是用js为sl1.0开发的.现在的这个版本是为sl 2用C#开发.其中的类是用WPF3D中的类型. 其命名空间在System.Windows.Media.Media3D下. 使用Kit3D做的程序几乎和在WPF3D中做的一样. ;)

UPDATES

4/24/2008: Added HitTesting, this means it is now possible to interact with a 3D scene. There is a new class, Kit3D.Windows.Media.VisualTreeHelper object that has a HitTest method, just like in WPF. For more information on how to use this class look on MSDN. For an example see Hit Testing Example if you mouse down on the torus and move the mouse left/right the picture will rotate. The code is checked into http://www.codeplex.com/kit3d

EXAMPLES

The following demos were all written in C# and taken mainly from existing examples using WPF3D syntax, in order to run these samples you will need to install the Silverlight Beta2 install, which can be found at: http://www.microsoft.com/silverlight/resources/install.aspx?v=2.0

This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) www.charlespetzold.com

Sphere

This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) www.charlespetzold.com

Dodecahedron

An example of texture mapping

Texture Example

A tiger created with solid polygons

Solid Tiger

This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) www.charlespetzold.com

Solar System

This sample was based on an excellent set of WPF tutorials at http://blogs.inetium.com/blogs/mhodnick/archive/2006/03/30/34.aspx

Rotating Cubes

The following demos were written using the Javascript version of the engine and work on 1.0 versions of Silverlight and above: To see some demos, you can click on the following links (in order for the demos to work you will need to download and install Silverlight 1.0 from Microsoft [http://www.microsoft.com/Silverlight/]):

Spinning cubes with solid faces

Spinning cubes with texture mapped faces

Spinning playing cards with texture mapped faces

3D Picture Grid

.

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏一个会写诗的程序员的博客

Spring Reactor 项目核心库Reactor Core

Non-Blocking Reactive Streams Foundation for the JVM both implementing a Reactiv...

2732
来自专栏Ceph对象存储方案

Luminous版本PG 分布调优

Luminous版本开始新增的balancer模块在PG分布优化方面效果非常明显,操作也非常简便,强烈推荐各位在集群上线之前进行这一操作,能够极大的提升整个集群...

3625
来自专栏转载gongluck的CSDN博客

cocos2dx 打灰机

#include "GamePlane.h" #include "PlaneSprite.h" #include "BulletNode.h" #include...

6906
来自专栏一个爱瞎折腾的程序猿

sqlserver使用存储过程跟踪SQL

USE [master] GO /****** Object: StoredProcedure [dbo].[sp_perfworkload_trace_s...

2820
来自专栏张善友的专栏

Mix 10 上的asp.net mvc 2的相关Session

Beyond File | New Company: From Cheesy Sample to Social Platform Scott Hansel...

2767
来自专栏大内老A

The .NET of Tomorrow

Ed Charbeneau(http://developer.telerik.com/featured/the-net-of-tomorrow/) Exciti...

38110
来自专栏张善友的专栏

LINQ via C# 系列文章

LINQ via C# Recently I am giving a series of talk on LINQ. the name “LINQ via C...

2965
来自专栏芋道源码1024

熔断器 Hystrix 源码解析 —— 断路器 HystrixCircuitBreaker

本文主要基于 Hystrix 1.5.X 版本 1. 概述 2. HystrixCircuitBreaker 3. HystrixCircuitBreaker....

5717
来自专栏陈仁松博客

ASP.NET Core 'Microsoft.Win32.Registry' 错误修复

今天在发布Asp.net Core应用到Azure的时候出现错误InvalidOperationException: Cannot find compilati...

5208
来自专栏飞扬的花生

jsencrypt参数前端加密c#解密

      写程序时一般是通过form表单或者ajax方式将参数提交到服务器进行验证,如何防止提交的请求不被抓包后串改,虽然无法说绝对安全却给非法提交提高了难度...

4179

扫码关注云+社区