Re: 3D (isometric)
- Posted by Mike <michael at IGRIN.CO.NZ> Feb 10, 1999
- 412 views
>Hi again! >Thanx for the URL! >I made a little procedure to do +-3D Isometric (Starcraft-like) texturing, >But it's very very slow and I need to speed it up! >Can You help me please ?? >*********convert* (to use with mode 259) >global function convert(atom x, atom y, atom z) > atom X,Y > X=(x/400)*400+(y/400)*400 > > return {X,Y} >end function >X=(x/400)*400+(y/400)*400 isn't this the same as X=x+y ? >Y=(1-x/400)*300+(y/400)*300-2*z could simplify to Y = (400 - x + y) * 0.75 - z - z Yikes! I hope my math is OK!! michael at igrin.co.nz