The link you posted does not describe the formula for when moving into Z direction
... elevation simply shifts the sprites up (or down, again depending on the coordinate system used).
I always need to know how openXcom defines things... voxel x,y,z goes into a certain direction.
sorry I haven't looked at OxC code for a long time and wouldn't be comfortable stating those specifics. I imagine an increase in x shifts to the right, an increase in y shifts downward, and a (literal) increase in z also shifts downward ... for example, each tilepart has an MCD entry for "elevation" or similar -- it's usually a negative value that shifts a part's corresponding sprite upward on the screen. And elevation by Map level(s) should shift a sprite by multiples of <blargh> pixels per level (the exact value, before scaling for screen resolution, should be in or near Battlescape/Map::drawTerrain()
I assume tile and voxel coordinates go into the same direction.
i think that's a safe assumption ... /test
I think bottom right corner might be 50, 50... so y might be right side, x left side... hmm
uh, 0,0 (2d screenspace) is likely to be the top left corner. And 0,0,0 (3d tilespace) is likely to be close to there ...
But which is X and Y in the diamond ?
the x-axis goes upperleft to lowerright (west to east), the y-axis goes upperright to lowerleft (north to south) ... thats my best guess atm