Author Topic: [REDUCED RES] PL4SMA  (Read 9182 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
[REDUCED RES] PL4SMA
« on: August 03, 2008 »
Here's a plasma in 4 colours.
You will need a fast machine to see this work. It must be run full screen and screenshot doesn't work so well.
I guarantee there are only the 4 same colours used at all times. ;)

Warning:  If you are affected by flickering displays, please be aware that this demo has a lot of fast moving graphics that may aggravate your condition.

Jim

<edit, posted the wrong version and wasted a colour!>
<edit, got rid of some really bad fringeing>
<edit, flicker warning>
« Last Edit: August 03, 2008 by Jim »
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #1 on: August 03, 2008 »
On a fast machine, does the flicker go away?  I tried to do some colour mixing by alternating colours really quickly but I ended up with the same headache inducing flicker :(
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #2 on: August 03, 2008 »
Unfortunately not, but if it goes under 60Hz the effect goes away.  Are you using CRT or LCD?  On my LCD the effect is quite watchable except for the cyan mix which is nasty. :)

Jim
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [REDUCED RES] PL4SMA
« Reply #3 on: August 03, 2008 »
You can still see the colours mixing on a crt screen, it's a clever way around the 4 colour limitation, the plasma pattern you used is nice too :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #4 on: August 03, 2008 »
Unfortunately not, but if it goes under 60Hz the effect goes away.  Are you using CRT or LCD?  On my LCD the effect is quite watchable except for the cyan mix which is nasty. :)

Jim


I'm on an LCD laptop.  It's watchable, but with mad flickering.
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [REDUCED RES] PL4SMA
« Reply #5 on: August 03, 2008 »
Yup. It's flickering - but with that flickering you actually
believe that there are more colors than only 4. So, nice
side-effect of this flickering ;-)

Thumb up for cool name - pl4sma!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [REDUCED RES] PL4SMA
« Reply #6 on: August 03, 2008 »
Lol I am working on a plasma too very different though, I never thought of interleaving two pallets but this is a valid technique for extending the pallet beyond the limits. Im getting cyan thats hard on he eyes too but the purple and orange are acceptable.

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #7 on: August 03, 2008 »
I'm only using red, green, blue, and orange.  Never any more.  Not using 4 for one frame 4 for another.  The comp says 4 colours :).  You're right it is painful sometimes, cyan (b+g) is easily the worst, but if I put a cyan solid colour in instead of orange it looks terrible.  I was laughing out loud about the possible results.

btw.  bonus feature I forgot to remove.  Press Space to get a random 4 colour palette.  Everything is real-time, including the colour matching, so you can try endless combinations.  The good ones I've seen have black, white, and green, brown as picks, but I bet there are infinitely more.

Jim
Challenge Trophies Won:

gooner

  • Guest
Re: [REDUCED RES] PL4SMA
« Reply #8 on: August 03, 2008 »
Works fine on my laptop might need an epilepsy warning on it though.
Liked the interactive part with the space bar cool.Btw no matter how many times i hit the space bar i nether got back to the original colour scheme.Nice effect.
 :clap:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [REDUCED RES] PL4SMA
« Reply #9 on: August 03, 2008 »
Some very artistic stylish pattern using SPACE key.
Nice easteregg, Jim!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Naptha

  • C= 64
  • **
  • Posts: 53
  • Karma: 3
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #10 on: August 03, 2008 »
I really think that if you post something with rapid flickering you should say so in your post, this is a real issue for some people...

However, I liked it for as long as I was able to watch it.  :)
« Last Edit: August 03, 2008 by Naptha »

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: [REDUCED RES] PL4SMA
« Reply #11 on: August 03, 2008 »
Jim you are allowed to alter the pallet between frames just so long as there are no more than 4 colours displayed at any one time. I am planning on using an adaptive pallet in my plasma that will reduce 16-32 colours to 4 optimised colours tailored to each frames needs.

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #12 on: August 03, 2008 »
I reckon I get 10 colours with my flickering - each of the 4 colours can be followed with one of the others.  Two of the demos so far use ordered dithering which means that you end up with a lower 2d resolution, and at 160x120 that's the last thing you want to do - you trade off x,y res for more colours.  What I really wanted to show is that there is a 3rd, temporal, dimension which means my demo is higher resolution than the others but is limited to 30Hz instead of 60Hz.  It's a very interesting subject to see how these possibilities work out.

I apologise profusely for the the flickering.  I didn't think it was bad enough for a warning, but I've changed the OP to warn.  Thanks for the heads up.

Jim
« Last Edit: August 03, 2008 by Jim »
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [REDUCED RES] PL4SMA
« Reply #13 on: August 03, 2008 »
You could have a palette of millions of colours if you wanted as long as no more than 4 of them are on screen at once btw.

As I said above, I was really surprised at this method. It's bound to flicker but hats off to you Jim, it's a clever way of adding more colours!



Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #14 on: August 03, 2008 »
That's cool, I did see that possibility, and wondered whether I might get away with it, but it's awesome coding with both hands, one leg and one eye tied behind your back ;D  Makes me realise how spoiled I am with C#, or 4Gb of memory, or infinite pixel shader bandwidth.  This one is in FB and uses ptc_ext.

btw, this is a Perlin noise plasma, and not just a bunch of sin waves, which makes it look a bit different. And costs a lot of cpu - sin waves would have been easier to get under control.  I watched a dozen plasma demos to see how they get their fx.  I'm still in awe of the really blobby ones, the ones that are not just concentric circle blends.  This one, then, turns out pretty cranky!

Jim
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #15 on: August 03, 2008 »
Very cool!


Runs very well and looks great.
Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #16 on: August 04, 2008 »
Just what i needed before bedtime. :)  Great plazma that drove my eyes wacky. :) Good effect
 

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: [REDUCED RES] PL4SMA
« Reply #17 on: September 01, 2008 »
Runs fine, doesn't flicker to much, an interesting idea behind it.
Challenge Trophies Won: