How can I solve for the game's world coordinates?
Posted
by
HyperGroups
on Game Development
See other posts from Game Development
or by HyperGroups
Published on 2013-11-04T02:48:53Z
Indexed on
2013/11/04
4:15 UTC
Read the original article
Hit count: 362
coordinates
I've used 3DReaperDX to get a obj file, the header information are shown as follows:
#AR=2.00606, FOV=45.09583(height), Xscale:0.83290, Yscale:0.41519, Zscale:1.0
#**************************************************
#ALPHABLENDENABLE: No
#ZENABLE: Yes
#ZWRITEENABLE: Yes
#TWOSIDED: No
#INVALID: No
#THIN: No
#RENDERTARGET_IS_BACKBUFFER: Yes
#WIDTH_DO_MATCH: Yes
#RGBWRITEDISABLED: No
# object DrawCall_0 to come ...
g
v 2143.35547 6654.99023 25835.37109
v 2243.17773 6296.61523 25957.53906
v 2343.00000 5856.84473 26093.97656
How can I get the game's world coordinates.
For example: I can map the scaleTransform to the VertexData
scaleTransform={X1scale,Y1scale,Z1scale} {0.8329,0.41519,1.}
Is the obj file enough to get the game's world coordinates? I want to put a object in this ground, and the coordinates is the same to that in the Game Engine,
And I can place something(with some fixed coordinates) in the Game and then to use 3DReaper to get the obj file. If the file is not enough itself to get the game world coordinates.
© Game Development or respective owner