• Welcome to Dark Bit Factory & Gravity.
 

Twister Texturing

Started by Clyde, January 24, 2010

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

hellfire

QuoteI 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.

Quotei 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:
pos_xx=( pos_x*(texture->wwidth-1)\(length-1))
Challenge Trophies Won:

Rbz

[...off topic...]
Quote from: hellfire on January 29, 2010
This might be interesting for you  ;)
Haha, very funny reading this :)

[.../off topic...]
Challenge Trophies Won:

neriakX

Quote from: rbz on January 31, 2010
[...off topic...]
Quote from: hellfire on January 29, 2010
This might be interesting for you  ;)
Haha, very funny reading this :)

[.../off topic...]

lol, I second this! awesome stuff :P
cheers,
neriakX


Challenge Trophies Won: