Ysaneya

06-04-2002, 12:07 PM

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.

Y.

View Full Version : [OT] Axonometric projection matrix

Ysaneya

06-04-2002, 12:07 PM

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.

Y.

ScottManDeath

06-04-2002, 12:19 PM

Originally posted by Ysaneya:

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.

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 was just wondering, does anyone know how to setup an axonometric / isometric-like projection matrix ? Is that even possible with a 4x4 matrix ?

Y.

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

Pentagram

06-04-2002, 02:00 PM

I think you can use glOrtho for that.

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

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

Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.