[Irrlicht] Testme: TnL SpecialFX 2

Everything else that doesn't fall into one of the other PB categories.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I was running full screen and so couldn't see the title! :)

15 fps is what I'm seeing. Still looks good though.
I may look like a mule, but I'm not a complete ass.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

The Shader version should look something like this - making this to learn Shaders mostly but will be realesed on the next Version as Example.
For fallback theres the new TnL version still ( Screenshots as soon as i foudn this (ç*/&ç() bug )
:lol:

Water utilizing Shaders (just to show that you DON'T need DX 10 and all teh crap to produce pretty things with irrlicht ;) ):
Image

Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Just tried the first example again with the graphics card now set for performance and now I'm getting 52fps although some of the graphics look a little bad until you get close to them.
krensauce
User
User
Posts: 18
Joined: Sun Nov 05, 2006 10:24 pm

Post by krensauce »

Thalius wrote:The Shader version should look something like this - making this to learn Shaders mostly but will be realesed on the next Version as Example.
For fallback theres the new TnL version still ( Screenshots as soon as i foudn this (ç*/&ç() bug )
:lol:

Water utilizing Shaders (just to show that you DON'T need DX 10 and all teh crap to produce pretty things with irrlicht ;) ):
Image

Thalius
Wow, amazing! Good job!
And I'm also with you with DX10, I can't really understand why they did shaders v4 while the v3 is yet to be used at 100% by any game...only crap-slow games that uses shaders made in a hurry just to support v3 was seen until now, and I really think that the v3 full potential has not been discovered yet.
If I don't really need v3 I'd better use v2 to let everyone enjoy a game at full frame rate.
SoulReaper
Enthusiast
Enthusiast
Posts: 372
Joined: Sun Apr 03, 2005 2:14 am
Location: England

Post by SoulReaper »

Very very nice :)
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Post by electrochrisso »

:( 2 FPS for me because Open GL will not work for some reason, perhaps I have to update Open GL?.
The older Wrapper and multiple DLL works with Open GL though. What you think?
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Whoa 2 fps lol - what card and driver / OS is it ? Its possible your card doesent support some of the used features then software fallback would happen.
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Post by electrochrisso »

2.6 gig, XP Pro, onboard graphics set to 32meg (can set to 64).
Problem is the Open GL Library not working for me and I have to use the software choices.
I notice your demo uses one DLL, if I use the older wrapper and multiple DLL set, Open GL works and gives me about 24 FPS. Your demo will not work with the older wrapper and DLL.
I think something has changed.
I can get up to 60 FPS with some 3D stuff.
I will update Open GL and my graphics drivers and see what happens.
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post by Thalius »

Yup some dependancies were removed - especially for directx tho. with the current version it should be also possible to grab the screen context from PB and use PB Sprite commands on top of Irrlicht - well and ofc just one dll needed as the rest is in the static lib which gets linked on compile time into your exe.

In case anyone wants to try around with it - this is the function:

Code: Select all

IrrGetExposedVideoData(*ptr.SExposedVideoData)
Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Post Reply