Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Sun, 23 Mar 2008 00:21:25 +0800,    group: microsoft.public.win32.programmer.directx.graphics        back       


Coordinate matching   
Hello
Our artist has produced a background static object (a house) for our game.
I wonder what should I do in order to make the object coordinate coherent 
with the coordinates in the program.
Say, but don't know if it is correct, if the mesh's upper corner sits at 
10,10,10
and then when I move to DirectX, I can put the mesh at the same spot so that 
all my export data turns out to be correct.
Any ideas?
Thanks
Jack
date: Sun, 23 Mar 2008 00:21:25 +0800   author:   Jack

Re: Coordinate matching   
You need to create a matrix for translate, and then you could put your house 
in the coordinates you want. One thing are the house coordinates, and other 
are world coordinates.

Have you read any tutorial about rotation, translating matrices, and about 
world matrices?


"Jack"  escribió en el mensaje 
news:%23gqTHjDjIHA.5168@TK2MSFTNGP06.phx.gbl...
> Hello
> Our artist has produced a background static object (a house) for our game.
> I wonder what should I do in order to make the object coordinate coherent 
> with the coordinates in the program.
> Say, but don't know if it is correct, if the mesh's upper corner sits at 
> 10,10,10
> and then when I move to DirectX, I can put the mesh at the same spot so 
> that all my export data turns out to be correct.
> Any ideas?
> Thanks
> Jack
>
date: Sat, 22 Mar 2008 21:56:08 +0100   author:   Jordi Maicas

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us