Results 1 to 10 of 121

Thread: G.T.A.2 Map Editor

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #31
    Quote Originally Posted by SilverWarior View Post
    Code:
     
      texTop:=0; // This shouldnt be 0 i think, must be calculated?
      texleft:=0; // This shouldnt be 0 i think, must be calculated?
      texbottom:=textTop + (th /getnextpot(th)); //Bottom edge is always position of top edge + height
      texright:=texLeft + (tw / getnextpot(tw)); //Right edge is always position of left edge + width
    Thanks, but does it matter? I changed like you told me but it looks same.
    But anyway, its good if somebody else with more knowledge takes a look at this.

    User137

    I know that nxPascal supports the stuff, but i wanted to work out "my own" so i understand what must be done to support and draw such textures normally.


    Edit: wow, i just now noticed the example you made.
    Thank you very much for this!!
    Every bit of such thing helps and motivates me.

    Thank you again!

    So now if i apply the animated texture to 3D quad, it will still work?
    Last edited by hwnd; 31-03-2013 at 07:51 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •