Author Topic: [REDUCED RES] 4 Colors by rbz  (Read 5134 times)

0 Members and 1 Guest are viewing this topic.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
[REDUCED RES] 4 Colors by rbz
« on: August 30, 2008 »
Hi all,

Here is my entry for this nice compo!

It's a little experiment in pixel shaders capable to display any image in only 4 colors, everything is done in realtime on the gpu, and to make it less boring I have added a cos/sin X/Y image displacement distortion.

Using the same colors palette used by Xalthorn on Xalboy entry, which looked great to me.

Requires: PS 2.0 + d3dx9_32.dll


Enjoy!



« Last Edit: August 31, 2008 by rbz »
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [REDUCED RES] 4 Colors by rbz
« Reply #1 on: August 30, 2008 »
Hehe you got the 20th ;)

You can't beat a textured cube, and I love the wibbly wobbly warping effect.  Shame the texture wraps at the extreme warp (unless it was intentional).  Maybe cap the min and max texture coords so it will hold the colour at the ends rather than rolling over (assuming that each texture has a flat colour line at each warping edge).
Challenge Trophies Won:

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: [REDUCED RES] 4 Colors by rbz
« Reply #2 on: August 30, 2008 »
*ucking rocks! Effective prod.  :cheers:

If you choose Mario you can't lose!!!  :boxer:
Challenge Trophies Won:

gooner

  • Guest
Re: [REDUCED RES] 4 Colors by rbz
« Reply #3 on: August 30, 2008 »
Totally excellent RBZ this is quality well done mate. :clap: :clap: :clap:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17407
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [REDUCED RES] 4 Colors by rbz
« Reply #4 on: August 31, 2008 »
I like this a lot. You are making big leaps with Pixelshaders and Directx Rbz :) Thanks for supporting the comp and good luck with the voting!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline pjay274

  • ZX 81
  • *
  • Posts: 7
  • Karma: 21
    • View Profile
Re: [REDUCED RES] 4 Colors by rbz
« Reply #5 on: August 31, 2008 »
Nice piece RBZ, but it may need a quick re-work as i'm sure can see 5 colours in there.....
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [REDUCED RES] 4 Colors by rbz
« Reply #6 on: August 31, 2008 »
OMG, you were right, a typo on shader code and white color appeared, fixed now...
Thanks for spotting this bug.
Challenge Trophies Won:

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: [REDUCED RES] 4 Colors by rbz
« Reply #7 on: September 02, 2008 »
Smb3 pic (where the chess-floor) is the coolest side of the cube, mario looks like flying out of the texture with your nice shader.

I could watch this spinning for hours.
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [REDUCED RES] 4 Colors by rbz
« Reply #8 on: September 03, 2008 »
Thanks dudes

Btw, you can change those image by any jpg image that you want, just rename those in Texture folder, I recommend 512x512 image size.
Challenge Trophies Won: