International Journal of Image, Graphics and Signal Processing(IJIGSP)
ISSN: 2074-9074 (Print), ISSN: 2074-9082 (Online)
Published By: MECS Press
IJIGSP Vol.3, No.5, Aug. 2011
A Rotation Transformation Method of 3D Object in WPF by Modifying Camera Attributes
Full Text (PDF, 430KB), PP.44-50
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.
Cite This Paper
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.
Clayton Walnum, “Direct3D Programming Kick Start”, SAMS, ISBN 978-0672324987,2003
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
Microsoft Developer Network for Visual Studio 2008
Matthew MacDonald. “Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5”, Second Edition. Apress, ISBN 978-1590599556, 2008