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
This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) www.charlespetzold.com
An example of texture mapping
A tiger created with solid polygons
This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) www.charlespetzold.com
This sample was based on an excellent set of WPF tutorials at http://blogs.inetium.com/blogs/mhodnick/archive/2006/03/30/34.aspx
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
.
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法
- 使用Go语言编译互联网视频直播点播平台EasyDSS出现ld returned 1 exit status错误
- c/c++补完计划(四): 字节对齐和虚继承
- Python 不用selenium 带你高效爬取京东商品评论
- 《闲扯Redis六》Redis五种数据类型之Hash型
- rocketmq学习2
- Python全栈(八)Flask项目实战之1.项目搭建
- 一起来读开源项目的代码-Agar.io为例
- C语言入门系列之11.文件和文件操作
- 自己动手改造 Jetpack LiveData
- FastDFS基于Docker安装
- 用Python实现批量高效文件处理 解放你的双手
- Windows下使用VS2013编译使用SDL库
- C语言经典习题100例(一)1-5
- C语言经典习题100例(二)6-10
- Python 快速验证代理IP是否有效