IJIGSP Vol. 3, No. 5, 8 Aug. 2011
Cover page and Table of Contents: PDF (size: 430KB)
Full Text (PDF, 430KB), PP.44-50
Views: 0 Downloads: 0
WPF, Three Dimention Rotation, GUI Engine, .NET Framework
Based on the .NET Framework 2.0, the new generation of the windows software development framework .NET Framework 3.0 has four new components, in which the most attractive one is WPF(Windows Presentation Foundation). WPF is a new GUI engine that can provide uniform descriptions and methods for user interface, 2D/3D graphic, document and media. In WPF, the commonly used rotation transformation method for 3D object is RotateTransform3D. This method needs to calculate the state of the camera carefully, otherwise, the 3D object may move anomaly on the screen. To solve this kind of problem, another method is brought forward in the paper, which realizes the rotation transformation by calaulating and changing the attributes (Position, LookDirection, UpDirection) of the camera directly. The method can exhibite the rotation of 3D object distortion-freely, without the anomal movement on the screen. The calculation and the program of the method is simple.
YU Ren,Mao Wei,LU Gubin,Lu Feng,"A Rotation Transformation Method of 3D Object in WPF by Modifying Camera Attributes", IJIGSP, vol.3, no.5, pp.44-50, 2011. DOI: 10.5815/ijigsp.2011.05.07
[1]Clayton Walnum, “Direct3D Programming Kick Start”, SAMS, ISBN 978-0672324987,2003
[2]Dave Shreiner, Mason Woo , Jackie Neider, Tom Davis ,”OpenGL(R) Programming Guide: The Official Guide to Learning OpenGL(R)”, Addison-Wesley Professional, 6th Edition, ISBN 978-0321481009, 2007
[3]Microsoft Developer Network for Visual Studio 2008
[4]Matthew MacDonald. “Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5”, Second Edition. Apress, ISBN 978-1590599556, 2008
[5]http://viewport3d.com/trackball.htm