A92: About 3D.


[Prev][Next][Index][Thread]

A92: About 3D.




Hi.
I'm writting that can draw any shapes, if you give it the coordinates of
each vertex, and the links between them.
I know that when you have a point  let's say : A ( x, y, z).
when you want to project the point in a 2 coordinates a plane, to keep the
perspective you have to do :

screen_x= x/z
screen_y= y/z

But I don't really see how I could do this in ASM, since ASM only deals with
integers.
If someone could give me a hand, it would be very kind.

VIVES Fabien
vives@NOSPAMwanadoo.fr
( Enlevez NOSPAM pour me repondre )
( Get NOSPAM off to answer me )..
ICQ : 16950211


Follow-Ups: