AuthorTopic: 'sub pixel' animation  (Read 16478 times)

Offline baccaman21

  • 0011
  • **
  • Posts: 549
  • Karma: +0/-0
  • It's critique, don't take it personally.
    • View Profile
    • Linked In

'sub pixel' animation

on: December 19, 2006, 01:30:51 pm
right... I know I'm old hat at a pixels... but something i've never really got my head around is sub pixel animation and related techniques... i'm more of a cartoony selshaded officiando...

so... can any of you lovely people help illuminate this field of pixels for me as i'm in need of some sound advice and direction.

ta.

Pete :)
Buy the book - The Animator's Survival Kit by Richard Williams

www.burnzombieburn.com

Offline ptoing

  • 0101
  • ****
  • Posts: 3063
  • Karma: +0/-0
  • variegated quadrangle arranger
    • the_ptoing
    • http://pixeljoint.com/p/2191.htm
    • View Profile
    • Perpetually inactive website

Re: 'sub pixel' animation

Reply #1 on: December 19, 2006, 01:47:40 pm
Heya Pete,
it's not that complicated, basically you use antialias to move an element in the picture seemingly by less than a pixel at a time.

Made a quick picture to show it. Top: one pixel at a time, bottom: sub pixel movement so smoothen it out.


For actual pixelart this can be used for small idle wobbles of stuff like motors or for subtle breathing animations on smaller sprites where you can tween between 2 frames like this.
There are no ugly colours, only ugly combinations of colours.

Offline baccaman21

  • 0011
  • **
  • Posts: 549
  • Karma: +0/-0
  • It's critique, don't take it personally.
    • View Profile
    • Linked In

Re: 'sub pixel' animation

Reply #2 on: December 19, 2006, 01:50:10 pm
thought it was... so essentially it IS anti aliasing over time... cheers sven...

I've never actually tried doing this EVER... (shocking I know) - I may give it a whirl on my next anim... (which is taking longer than I thought)

btw - I'm handing in my resignation end of the week... so I'm off very early jan... WEYHEY!!!
Buy the book - The Animator's Survival Kit by Richard Williams

www.burnzombieburn.com

Offline .TakaM

  • 0100
  • ***
  • Posts: 1178
  • Karma: +1/-0
    • View Profile
    • Fetch Quest

Re: 'sub pixel' animation

Reply #3 on: December 19, 2006, 01:56:14 pm
curse you ptoing, I made almost the exact same image!
Life without knowledge is death in disguise

Offline baccaman21

  • 0011
  • **
  • Posts: 549
  • Karma: +0/-0
  • It's critique, don't take it personally.
    • View Profile
    • Linked In

Re: 'sub pixel' animation

Reply #4 on: December 19, 2006, 02:01:32 pm
that's what I like... a nice quick thread that ends as abrubtly as it starts... thanks chaps...

<case closed>

NEXT!
Buy the book - The Animator's Survival Kit by Richard Williams

www.burnzombieburn.com

Offline ptoing

  • 0101
  • ****
  • Posts: 3063
  • Karma: +0/-0
  • variegated quadrangle arranger
    • the_ptoing
    • http://pixeljoint.com/p/2191.htm
    • View Profile
    • Perpetually inactive website

Re: 'sub pixel' animation

Reply #5 on: December 19, 2006, 02:17:01 pm
well another thing there is, is the rgb subpixel aa you can do on lcd displays.

I am using a weighted approach here, not using full red, green and blue, but variants which work much better and look ok on CRTs as well.
For classical pixelart this is pretty much useless tho unless you could make a game only in black and white, it does not work anywhere as well with colour and of course some screens use BGR and that would fuck how it looks completely.



No aa, subpixel rgb aa, 1 pixel classic and 2 pixel classic aa

Basically it works because each pixel is made from 3 little strips of R, G and B, so if you want darkness on the right 2 thirds of a pixel you put a red pixel, if you want only the right one third dark you put yellow there which is both red and green activated.

So yeh, pretty much pointless for normal pixelart.

EDIT: Hahaha, Takam, I bet I was faster because I used the power of Promotion's animbrushes :P

« Last Edit: December 19, 2006, 02:19:48 pm by ptoing »
There are no ugly colours, only ugly combinations of colours.

Offline .TakaM

  • 0100
  • ***
  • Posts: 1178
  • Karma: +1/-0
    • View Profile
    • Fetch Quest

Re: 'sub pixel' animation

Reply #6 on: December 19, 2006, 02:29:45 pm
lol, you got me, I was using mspaint :P

I'll get into promotion soon I swear
Life without knowledge is death in disguise

Offline Helm

  • Moderator
  • 0110
  • *
  • Posts: 5159
  • Karma: +0/-0
    • View Profile
    • Asides-Bsides

Re: 'sub pixel' animation

Reply #7 on: December 19, 2006, 07:09:23 pm
lol, you got me, I was using mspaint :P

I'll get into promotion soon I swear

No no no, don't. Mspaint is much more hardcore and it impresses the laymen.

Offline Rox

  • 0011
  • **
  • Posts: 591
  • Karma: +0/-0
    • View Profile

Re: 'sub pixel' animation

Reply #8 on: December 19, 2006, 07:22:19 pm
Oh, shut up..

Offline Helm

  • Moderator
  • 0110
  • *
  • Posts: 5159
  • Karma: +0/-0
    • View Profile
    • Asides-Bsides

Re: 'sub pixel' animation

Reply #9 on: December 19, 2006, 07:23:36 pm
 ;)