home .. forth .. misc mail list archive ..

Re: 3D worlds


> Floating-point is a practical neccessity for any but the most limited
> 3-D graphics.  There is an awful lot of trig calcs req'd, and
> scaled-integer math has no practical way to represent infinity or
> infinitesimal.
>
>
> cheers   - vic
>

I guess that depends on what you are doing..
My 3d program uses only multiplys..
and uses mostly fixed integer math..  but one problem
is you need a lot of data.. Like a 256x256 texture would use
up 64k.. If you wanted flat shaded polygons it would be less..
But the ploters need some tables too..

Anyway.. If u want my souce code in the c language with some asm
just ask.. I will give it to anyone.. but with all the files its a little
big(440k)
And my souce is not pretty.. if fact i would say it quite ugly..