I was just wondering, does anyone know how to setup an axonometric / isometric-like projection matrix ? Is that even possible with a 4x4 matrix ?

Y.

I was just wondering, does anyone know how to setup an axonometric / isometric-like projection matrix ? Is that even possible with a 4x4 matrix ?

Y.

Originally posted by Ysaneya:

[b]I was just wondering, does anyone know how to setup an axonometric / isometric-like projection matrix ? Is that even possible with a 4x4 matrix ?

Y.[/b]

Hi

I would do it using a orthographic projection with some rotation around x and y axis.

Or you could directly setup a 4x4 matrix

here is the layout of a common 4x4 matrix

[xx,yx,zx,posx]

[xy,yy,zy,posy]

[xz,yz,zz,posz]

[ 0, 0, 0, 1]

here x* build the vector of the x axis, amd the other vectors are setup similar

pos* is the position of the coordiante system

the identity matrix would be a coordinate system with x pointing right, y up and z out of screen.

When you set for example the x vector to 1,0.5,0 you would get an incresing y value when the xvalue increases. With a prober setup and a little bit of twaeking it should be possible

Bye

ScottManDeath

I think you can use glOrtho for that.

[This message has been edited by Pentagram (edited 06-04-2002).]