Dark Bit Factory &  Gravity

Dark Bit Factory & Gravity

  • July 30, 2010 *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Pages: 1 [2]   Go Down

Author Topic: Twister Texturing  (Read 818 times)

0 Members and 1 Guest are viewing this topic.

hellfire

  • Sponsor
  • Pentium
  • *******
  • Karma: 234
  • Offline Offline
  • Posts: 700
    • View Profile
Re: Twister Texturing
« Reply #20 on: January 29, 2010 »
Quote
I just want to say too, that even though you may get bored seeing me asking for a hand.
Actually I wish there were more people asking for help here.

Quote
i thought there might be a simplish fix, as it's only the last few pixels
It's indeed simple to fix "the last few pixels".
There's no problem on the the left border because you're always starting with the left-most pixel in the texture.
So you just have to make sure that the last pixel of a scanline adresses the right-most pixel in the texture:
Code: [Select]
pos_xx=( pos_x*(texture->wwidth-1)\(length-1))
Logged

rbz

  • MOD
  • Senior Member
  • *******
  • Karma: 272
  • Offline Offline
  • Posts: 2133
    • View Profile
    • WWW
Re: Twister Texturing
« Reply #21 on: January 31, 2010 »
[...off topic...]
This might be interesting for you  ;)
Haha, very funny reading this :)

[.../off topic...]
Logged
rbz ^ Codigos
Pages: 1 [2]   Go Up
 

 

B l a c k R a i n V.2 by C r i p

Page created in 0.099 seconds with 19 queries.