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.[quote]Kit3D 是一个silverlight中3D引擎.其第一个版本是用js为sl1.0开发的.现在的这个版本是为sl 2用C#开发.其中的类是用WPF3D中的类型. 其命名空间在System.Windows.Media.Media3D下. 使用Kit3D做的程序几乎和在WPF3D中做的一样. ;)
官方网站:[url]http://www.codeplex.com/kit3d[/url]
[/quote]
[b]UPDATES[/b]
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 [url=http://www.markdawson.org/kit3d/demos/sl2/hittesting]Hit Testing Example[/url] if you mouse down on the torus and move the mouse left/right the picture will rotate. The code is checked into [url]http://www.codeplex.com/kit3d[/url]
[b]EXAMPLES[/b][b]例子[/b]
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: [url=http://www.microsoft.com/silverlight/resources/install.aspx?v=2.0]http://www.microsoft.com/silverlight/resources/install.aspx?v=2.0[/url]
[quote][list=1]
[*][b]旋转球体[/b]
This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) [url]www.charlespetzold.com[/url]
[url=http://www.markdawson.org/kit3d/demos/sl2/sphere/testpage.html]Sphere[/url]
[*][b]旋转多面体[/b]
This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) [url]www.charlespetzold.com[/url]
[url=http://www.markdawson.org/kit3d/demos/sl2/dodec/testpage.html]Dodecahedron[/url]
[*][b]贴图[/b]
An example of texture mapping
[url=http://www.markdawson.org/kit3d/demos/sl2/texture/testpage.html]Texture Example[/url]
[*][b]3D动物模型[/b]
A tiger created with solid polygons
[url=http://www.markdawson.org/kit3d/demos/sl2/tiger/testpage.html]Solid Tiger[/url]
[*]太阳,地球,月球-系统
This sample was converted from Charles Petzold's 3D Programming for Windows book (really awesome book) [url]www.charlespetzold.com[/url]
[url=http://www.markdawson.org/kit3d/demos/sl2/solar/testpage.html]Solar System[/url]
[*][b]多立方体旋转[/b]
This sample was based on an excellent set of WPF tutorials at [url]http://blogs.inetium.com/blogs/mhodnick/archive/2006/03/30/34.aspx[/url]
[url=http://www.markdawson.org/kit3d/demos/sl2/rotatingcubes/testpage.html]Rotating Cubes[/url]
[/list][/quote]
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 [[url=http://www.microsoft.com/Silverlight/]http://www.microsoft.com/Silverlight/[/url]]):
[url=http://www.markdawson.org/kit3d/demos/cardsandcubes/default.html?solidcubes]Spinning cubes with solid faces[/url]
[url=http://www.markdawson.org/kit3d/demos/cardsandcubes/default.html]Spinning cubes with texture mapped faces[/url]
[url=http://www.markdawson.org/kit3d/demos/cardsandcubes/default.html?cards=yes]Spinning playing cards with texture mapped faces[/url]
[url=http://www.markdawson.org/kit3d/demos/photos/default.html]3D Picture Grid[/url]
[[i] 本帖最后由 nasawz 于 2008-4-29 16:54 编辑 [/i]]
太棒了
太好了,希望能尽快有进展 效果基本可以了。效率有点问题。
有点卡
不知道是引擎问题,还是coder使用的问题
页:
[1]