Hedache!! Pixel shader example in PB with 3DSTATE

Advanced game related topics
MisterDr
User
User
Posts: 41
Joined: Mon Sep 29, 2003 4:14 pm

Hedache!! Pixel shader example in PB with 3DSTATE

Post 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
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

Damn ... this looks awesome !
Very cool work!
regards,
benny!
-
pe0ple ar3 str4nge!!!
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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?)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post 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

:?: :?: :?:
regards,
benny!
-
pe0ple ar3 str4nge!!!
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post 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 ....
regards,
benny!
-
pe0ple ar3 str4nge!!!
MisterDr
User
User
Posts: 41
Joined: Mon Sep 29, 2003 4:14 pm

Heheh

Post 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
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post 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.....
Paid up PB User !
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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
Last edited by blueznl on Fri Dec 12, 2003 5:41 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post 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 ;)
Paid up PB User !
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1286
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post 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.
Image Image
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post 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...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Paid up PB User !
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post 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
Post Reply