Qbasicnews.com

Full Version: 3rd person games
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
how about some one just make a wire cube that rotates around. the maybe i could understand some thing simple like that
to convert 3d `space` to 2d `space` you just make things smaller on the 2d `space` (the screen) according to how far away it is. so in 2d you have (x2d, y2d). in 3d you have (x3d, y3d, z3d).

in simplest form:
x2d = x3d / z3d
y2d = y3d / z3d

for more information on 3d in qb i suggest reading through QBCM. I think they talk about 3d in some issues.
Pages: 1 2 3