Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Trying Converting Advanced Lighting Evolved

Author
Message
silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 30th Dec 2011 10:21
Hi all,

I'm trying to convert the Advanced Lighting Evolved to GDK.

I had recompil some GDK Lib.

My result for the moment:


Directionnal Light Shadow


PointLight shadow


SpotLightShadow


Fog Area With PointLIght Shadow


Level For fun


For the moment the convertion :

-PointLight-Shadow-Specular
-DirectionnalLgiht-Shadow-Specular
-SpotLIghtShadow-Shadow-Specular
-FogArea
-Dynamic Objet
-Full PostEFFECT EdgeAA, PixelBlur,Bloom, BloomFlare, Dof , Scattering.
Mr Bigglesworth
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 30th Dec 2011 10:39
Very nice! I could never get some of the shaders in advanced lighting to work, it is great to see that it is possible.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 30th Dec 2011 10:49
looks good, what are your machine specs? and in the last screenshot, what effects did you use? and is the FPS capped at 60~ or that's the max fps that could be reached there?

silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 30th Dec 2011 11:09 Edited at: 30th Dec 2011 11:39
@Hassan

My Machine Spec : Core I7 920, 4Go Corsaire Dominator, 580GTX

The 60Fps is Locked by the SyncRate:

else 250Fps in 1680x1050 windowed
-3 PointLight Shadow 1024
-1 Spotlight Shadow 1024
PostEFFECT EdgeAA, PixelBlur,Bloom, BloomFlare, Dof
-Mesh are 43168 Poly Triple with 12 Limb (It's the SubLevel Of Normandy 2 Ship in MASS Effect 2 ^^ )

In the AdvancedLighting, the ShadowMap is refresh Only if the
light move or an objet move in the light range.


MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 30th Dec 2011 11:41
Advanced lighting is?...

Nice!!!

silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 30th Dec 2011 11:47 Edited at: 30th Dec 2011 11:48
@MrValentine advanced lighting is a Framework Made By the Excellent Evolved coder for DarkBasic.. but in Gdk some Fonction are missing, so it's not easy to convert it for GDK, but I' have recompile some lib for complete the missing feature.

Evolved Software Advanced Lighting for DarkBAsic:

http://www.evolved-software.com/shaders/advlighting
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 30th Dec 2011 11:49
Cheers for explaining

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 30th Dec 2011 12:09
@silken: thanks for your input, this is very nice

silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 30th Dec 2011 12:45
I will post the executable and sources, but I have to do the household with my lib ..

And the default GDK Lib won't compile, must post to my Lib modified so it stretched for the source code.
And I dont know if i can post modified Lib

I hav modified :

dbSetCameraToImage( int iID, int iImage, int iWidth, int iHeight, int iGenAlpha, DWORD dwD3DFORMAT );

for D3DFormat and Camera to Image not destructive another Image if existe, it's for Make Cubemaping image (6 image) with 1 camera.. mandatory because with 6 camera for 1 cubemap I exceed 31 camera for the Syncmask.

Login to post a reply

Server time is: 2024-11-19 05:22:58
Your offset time is: 2024-11-19 05:22:58