Re: 3D (isometric)

new topic     » goto parent     » topic index » view thread      » older message » newer message

>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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu