Tuesday, November 24, 2009

How to draw lines in 3D space with XNA

In XNA, we can use DrawUserPrimitives of GraphicsDevice.

Here is one example:
device.DrawUserPrimitives(PrimitiveType.LineList, vertices, 0, 9);

Parameters:
1> Set primitive type as line list, it means the method is going to draw a line list.
2> VertexPositionColor array, it contains vertexes with colors.
3> offset
4> Primitive count, here is for line count.

How to make multiple clips FBX with maya

Keyword(MAYA, FBX, XNA)

Recently, I am doing one final year project with some students, and there is a requirement about generating multiple clips FBX(Film Box) file with MAYA. The reason why we have this question is we can not find a way to export the multiple clips FBX file from MAYAdirectly. In default, only one clip which default name is "Take 001" is included no matter how many clips the original Maya file contains.

By some research, I find one way to solve this problem. First of all, export the clips one by one with MAYAinto separate FBX file. Secondly, open all of the files with text editor. In each file, go to ";Takes and animation section", rename your clip name from " Take: "Take 001"" to your wanted name, for example, " Take: "Your clip1"", and copy " Take: "YOUR CLIP NAME" {.....}" into takes section of your first FBX file. By the same way, you can rename and add the rest clips into first FBX file. When this procedure is done, save the first FBX file. Finally, we can get the multiple clips FBX file.

To test it, you can use XNA and load the model with Animation Processor.
(Over)

My Resume(CV)


CV of Jet Ding Shunguang

Particulars

Name: Jet Ding Shunguang Gender: M
Nationality: Chinese Date of Birth: 28 Aug 1977
Handphone: 6596488666 Email: jet_ding@ite.edu.sg
dingjet@gmail.com


Job Experience

Apr 09 – Now Lecturer at School of Electronics & Info-Comm Technology, ITE College Central, Singapore
2006 - Mar 2009 Software Engineer at Motorola (Beijing)
2004 – 2006 Software Engineer at O2Micro (Beijing) Pte Ltd
2001 – 2004 Software Engineer at Sdl(trados) (Beijing) Pte Ltd
2000 - 2001 Software Engineer at BeiDa Founder Pte Ltd
1999 – 2000 Software Engineer at HuaGuang Technology Beijing Pte Ltd


Specialized Areas

 Linux Kernel Network Programming-TCP/IP
 Linux Device Driver design and development
 Systems and Networking Software development
 Translation Memory Software development
 Typesetting Software development
 E-Commence & E-Government development
 Computer Security Development(VPN and Firewall)
 Mobile Application Development(Windows Mobile, J2ME and Android)
 Embedded System Development
 Lecturing complex technical concepts (Computer Languages and Games Developing)

Major Achievements

 Achieved United States Patent 7391237- Robust and economic solution for FPGA bitfile upgrade in 2008
 Achieved China Patent CN200620114834.6- Robust and economic solution for FPGA bitfile upgrade in 2006
 Developed JuggleNuts game on windows mobile and achieved Microsoft Prize for WM6.5 “Mix it Up” conference Singapore
 Supervised “Mission Darkstar” game for Singapore National Heritage Board and entered top 5 finalist
 Developed DataSync Application for Motorola Phones: Ming, Lido
 Developed T-Mobile myFaves for Families Cell Phones
 Developed PIM Application for Motorola Phones: Lido
 Developed SifoWorks D100, D200, D300, E400, E600, E800, M326 and M526 System
 Developed Trados GXT, Trados TeamWorks, and SDL Translation Management System (TMS)
 Developed Digital Publishing System-APABI
 Developed the plug-ins for YIJIE Typesetting System: ArtWord, Chess, Table and Music

Educational Background

2004 – 2006 Master Degree from Beijing University of Posts and Telecommunications in Software Engineering
1995 – 1999 Bachelor Degree from Taiyuan University of Technology in Computer and Application
Apr 2008 to now Member of Australian Computer Society (ACS)