Page 1 of 2

Hedache!! Pixel shader example in PB with 3DSTATE

Posted: Thu Dec 11, 2003 11:33 pm
by MisterDr
Hey guys!!

Here is pixel shader example with new 3dstate 7.01 Alpha engine.
A possibilities are endless, you can even change environmental map without compiling (with NVidia's Cg language).

Enjoy!!

Here is a picture



Image



http://www.freewebs.com/misterdr/teapot.rar

Posted: Thu Dec 11, 2003 11:55 pm
by benny
Damn ... this looks awesome !
Very cool work!

Posted: Fri Dec 12, 2003 8:54 am
by blueznl
what is that sample programmed in, if i may ask? (looks like one of the demos from the site, so i assume it's not pb, is it?)

Posted: Fri Dec 12, 2003 11:28 am
by benny
blueznl wrote:what is that sample programmed in, if i may ask? (looks like one of the demos from the site, so i assume it's not pb, is it?)
Hmm ... the title says :

Hedache!! Pixel shader example in PB with 3DSTATE

:?: :?: :?:

Posted: Fri Dec 12, 2003 2:22 pm
by blueznl
benny, i'm just as confused as you :-)

although if misterdr managed to do it in purebasic, kudos to him, if not yet, he now knows what we expect :-)

...

ah, wait a sec, there is this small link hidden down there... downloading it now... again at 2k / sec :-)

...

hmm... no source in there, just an executable that is in size different from the one i found on the 3dstate site, but in functionality appears to be the same...

misterdr, am i doing something wrong?

Posted: Fri Dec 12, 2003 3:36 pm
by benny
blueznl wrote:benny, i'm just as confused as you :-)
hmm... no source in there, just an executable that is in size different from the one i found on the 3dstate site, but in functionality appears to be the same...

misterdr, am i doing something wrong?
Hey blueznl ... nice detective work :D
maybe misterdr could share his purebasic source with us.

will see ....

Heheh

Posted: Fri Dec 12, 2003 4:14 pm
by MisterDr
Good eye :)


I didn't wrote link :)
Or maybe I didn't wrote to see how many people is interested in this engine :lol:


here is the link:

http://www.freewebs.com/misterdr/teapotsource.rar

Posted: Fri Dec 12, 2003 5:31 pm
by dontmailme
Why the larger 3dstate.pb ? more to define for the new engine ?

Are you thinking of making this into a 'proper' library ?

Great work!, I like the simplicity of the engine..... I hope when Fred gets to increase the built-in 3d functions they are as easy.....

Posted: Fri Dec 12, 2003 5:36 pm
by blueznl
well, this engine is definitely one of the candidates... i am not that impressed with ogre, but i am looking for something that's smart enough to do the shadows for me (so i don't have to bother myself)

$400 isn't much for a commercial license, it's a bit much for a first try though... well, i can always make up a nice story and release many different 'versions' hehehehe, ahum <shut up, bluez, you're giving away state secrets?

i have been busy writing some game concepts and making some graphics lately for commercial stuff, and i don't picture myself as a professional programmer...

yet... something like the 3dstate engine might be what i need to impress and convince some other people (read: those with money :-)) that i'm pretty much dead serious about things...

gonna' have a look at your code, misterdr, did you rewrite their c(++) sample in purebasic?

...

definitely interesting, i'm a bit unhappy with the pricing for a full package though... 400 isn't too bad, but a few times that to get all the tools is getting a bit more worrysome...

...

hmm... have you tried to animate anything? the few samples they included were not that impressive

...

oh, a remark on your code, don't check everytime if a function exists (in the dll), that'll cause severe slowdowns... find the address and use callfunctionfast, that's a lot faster

Posted: Fri Dec 12, 2003 5:40 pm
by dontmailme
I think the little text in the corner is OK to put up with for development... and once you have a game you can buy the $399 commercial version for the game.....

As I said before, if you're not expecting to make > $399 then why are you bothering ?!

I wan't a 3Dstate library ;)

Posted: Fri Dec 12, 2003 5:42 pm
by blueznl
why a lib? doesn't look too bad without one, properly documented examples i'd even like better!

but if it does shadows, i might do something with it... hmm...

Posted: Fri Dec 12, 2003 7:10 pm
by Paul
As far as I can see, all lights and shadows are pre rendered and baked into the textures. There is no sign of realtime shadows.

Posted: Fri Dec 12, 2003 7:40 pm
by blueznl
in this sample, yes... unfortunately, their webiste is not conclusive enough....

there's must be some affordable engine out there somewhere that can do it... i'm eyeing irrlicht more and more, looks like it can do it, but whoho, it's definitely beyound my (current, stay positive :-)) level of programming...

Posted: Fri Dec 12, 2003 7:52 pm
by dontmailme

Posted: Fri Dec 12, 2003 9:55 pm
by Num3
Looks very impressive!

But none of the links work! :?

[EDIT]

Ok, got it! (no getright from that location :P)

[EDIT 2]

Holy COW 8O