Author Topic: Pixel Shader 2.0 - Test  (Read 27782 times)

0 Members and 1 Guest are viewing this topic.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Pixel Shader 2.0 - Test
« on: September 10, 2007 »
Since shaders started to dominate the tiny coding scene  :P , I've started learning those stuff for months already, it's really hard to make the change and understand what it is all about, but I guess it's worthy playing with it,  and finally I reach a point that I can do some tests  ;D

You will see some sort of "flag" effect based on sin and cos texture displacement running at 1024x768 screen resolution.

Requires pixel shader 2.0 capable graphics card and it uses d3dx9_32.dll that should be placed on your windows system32 path or on the same folder of executable.

http://www.rbraz.com/temp/rbraz_Shader_Test.rar

I'm just wondering if it works fine for you, if effect speed is ok etc...


Cheers,
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #1 on: September 10, 2007 »
Works very smoothly here.  I can't read the image ;), but technically it's excellent.

Jim
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Pixel Shader 2.0 - Test
« Reply #2 on: September 10, 2007 »
Runs very smooth and clean here !!! Well done.

@Jim:
I read "Ravebusters" - but might be wrong ???
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Positron

  • C= 64
  • **
  • Posts: 93
  • Karma: 7
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #3 on: September 10, 2007 »

@rbraz
Works fine and smooth.



Offline slippy

  • Atari ST
  • ***
  • Posts: 172
  • Karma: 42
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #4 on: September 10, 2007 »
Same for my computer - it runs smooth and in a good speed ... really nice stuff ... :)

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #5 on: September 10, 2007 »
Welldone Rbraz dude :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Pixel Shader 2.0 - Test
« Reply #6 on: September 10, 2007 »
I see a beautiful tiled grey logo by the very talented H2o waving around very prettily.
Speed wise it runs nice and smooth :)

My guess is probably about 70fps.
ATI X1650

Ps. You should post your last 4kb too :) It is a great intro.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Tetra

  • DBF Aficionado
  • ******
  • Posts: 2532
  • Karma: 83
  • Pirate Monkey!
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #7 on: September 10, 2007 »
Works fine and smooth on my old system :)
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Pixel Shader 2.0 - Test
« Reply #8 on: September 10, 2007 »
Thanks for your tests ;D

About that image, it's the Ravebusters logo done by h2O :)


So far, working on Nvidia and ATI cards, cool  :kewl:
Challenge Trophies Won:

Offline va!n

  • Pentium
  • *****
  • Posts: 1432
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: Pixel Shader 2.0 - Test
« Reply #9 on: September 11, 2007 »
@rbraz.
works very smooth and with nice speed here... btw, i hear more and more people are using PS2 / PS3... and that there are the first graphiccards with PS4 still available O.o  One the one way it may be nice to have PS included in the graphiccards... But why does people not code such effects like your swabble (flag like) effect with direct pixel manipulation in memory which would be very fast too (> 200-300+ FPS if it is well coded) ;) Anyway nice fx!
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #10 on: September 11, 2007 »
Won't run on my computer :(  I have correct dll installed.  Latest drivers for my ati radeon card etc.
Any ideas? 
I get nothing, no window just slows my machine down terrible.

Athlon 1.2 ghz / 512 ram/ ATI Radeon w 256 m
Will try it on my vista machine later

Offline va!n

  • Pentium
  • *****
  • Posts: 1432
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: Pixel Shader 2.0 - Test
« Reply #11 on: September 11, 2007 »
@Ghost^BHT:
Does your card supports PixelShader2 or better and have you tried to install "DX 9.0c August 2007" version?
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Pixel Shader 2.0 - Test
« Reply #12 on: September 12, 2007 »
.... One the one way it may be nice to have PS included in the graphiccards... But why does people not code such effects like your swabble (flag like) effect with direct pixel manipulation in memory which would be very fast too (> 200-300+ FPS if it is well coded) ;) Anyway nice fx!
Shaders are very very fast, I assure to you, perhaps Shockwave can tells us how much fast is manipulating an image in 1024x768 screen size using software screen buffers ;)


Won't run on my computer :(  I have correct dll installed.  Latest drivers for my ati radeon card etc.
Any ideas? 
I get nothing, no window just slows my machine down terrible.

Athlon 1.2 ghz / 512 ram/ ATI Radeon w 256 m
Will try it on my vista machine later
Ghost, I guess that your graphics card does not support ps2.0, anyway try the attached file below I've added an error message if your card fail running it.
Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #13 on: September 12, 2007 »
test prog won't even open a window ? no error message - nothing

Offline va!n

  • Pentium
  • *****
  • Posts: 1432
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: Pixel Shader 2.0 - Test
« Reply #14 on: September 12, 2007 »
@Ghost^BHT:
Maybe you can tell us what's your system (Windows Version, CPU, GraphicCard, DX Version)?
Btw, is it possible you are running a anti virus software which will stop the exetution of the file? just an idea
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #15 on: September 12, 2007 »
Hey Rbraz - oldskool in shaders - at last!!!! Well done mate. Runs fine on x600 Ati laptop.
I have code for a shader lens effect and code for a series of shader tunnel effects too. Soon we'll have a collection of oldskool effects.

Shaders *are* software. But faster, floating point and easier to write (more power in built in functions).

However next gen shaders will outpace mainstream processors by miles. Shaders are still very weak compared to how they can be. ATi are recommending games companies for next gen cards, don't bother with textures anymore but calculate everything as reading textures is too slow :-).

They are also smaller, especially in directx.


Challenge Trophies Won:

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #16 on: September 12, 2007 »
reinstalled dx runtimes and it runs fine now. Smooth and fast

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Pixel Shader 2.0 - Test
« Reply #17 on: September 13, 2007 »
@Ghost: Glad it worked for you now


@Chis: Thanks

Quote
Shaders *are* software. But faster, floating point and easier to write (more power in built in functions).
Yeah, it's software because we provide the program for the graphics pipeline ;)
It was hard for me to learn how they work, because I don't have good material about it on my language so I spend more time reading books in english language, no problem anyway, now that I know how they work I can second what you said  ;D

Quote
However next gen shaders will outpace mainstream processors by miles. Shaders are still very weak compared to how they can be. ATi are recommending games companies for next gen cards, don't bother with textures anymore but calculate everything as reading textures is too slow :-).
OMG  :o

Quote
They are also smaller, especially in directx.
That's why I will be focusing on directx for now just to do some 1ks in the future  :updance:
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: Pixel Shader 2.0 - Test
« Reply #18 on: September 13, 2007 »

Quote
They are also smaller, especially in directx.
That's why I will be focusing on directx for now just to do some 1ks in the future  :updance:


I'd pay real money for a 1k directX minimal framework to draw a quad and get shaders up and running (from C of course).

Chris
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Pixel Shader 2.0 - Test
« Reply #19 on: September 14, 2007 »
I do accept PayPal payments  :2funny:


Seriously, if you like, I can send to you what I have, we can make it better and also post it here for everyone.

PM me if you like that idea...
Challenge Trophies Won: