• Welcome to Dark Bit Factory & Gravity.
 

Pixel Shader 2.0 - Test

Started by Rbz, September 10, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rbz

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:

Jim

Works very smoothly here.  I can't read the image ;), but technically it's excellent.

Jim
Challenge Trophies Won:

benny!

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:

Positron


@rbraz
Works fine and smooth.



slippy

Same for my computer - it runs smooth and in a good speed ... really nice stuff ... :)

Clyde

Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Shockwave

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:

Tetra

Works fine and smooth on my old system :)
Challenge Trophies Won:

Rbz

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:

va!n

@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:

Ghost^BHT

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

va!n

@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:

Rbz

Quote from: va!n on September 11, 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 ;)


Quote from: Ghost^BHT 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
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:

Ghost^BHT

test prog won't even open a window ? no error message - nothing

va!n

@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:

taj

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:

Ghost^BHT

reinstalled dx runtimes and it runs fine now. Smooth and fast

Rbz

@Ghost: Glad it worked for you now


@Chis: Thanks

QuoteShaders *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

QuoteHowever 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

QuoteThey 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:

taj

Quote from: rbraz on September 13, 2007

QuoteThey 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:

Rbz

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: