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.

DLL Talk / Virtual Light Plug in ?

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 17th Dec 2004 03:42
Does a plug in for better light support should interest peoples ?

I explain ...

The plugin should contain commands like the default dbpro ones but, will allow to create more than 8 lights and, it will calculate to display a maximum of the 8 nearest lights without the need for the user to make complex calculation.

It will also contain some special functions to add more FX to the lights like Torchs fading, flickering, etc ...

re faze
19
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 19th Dec 2004 12:43
many grafix cards move painfully slow with only 8 lights it would be better to have faked lights or be able to texture another layer of a mesh to make light/shadow fx
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Dec 2004 00:26
yes but for this, you must have a true "light mapping" available in dbpro ... I think that I will add to the plugin the fact that we can choose the maximum amount of simultaneous lights on screen .... so with a setup option ... developper can choose to put many lights he want on screen ...

Etienne
20
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Paris
Posted: 13th Feb 2005 07:03 Edited at: 13th Feb 2005 08:26
yea ok , i'd like that freddix i'm on your contact list and sometimes talk to you

I'd have the use for it since i don't like baked textures .. i'm more of a "dynamic" shool than still life

A pixel is nothing , lots of can be all
Luke B
19
Years of Service
User Offline
Joined: 13th Nov 2004
Location: Exeter, UK
Posted: 14th Feb 2005 01:05
yes this is an excellent idea, i have tried in vain asking for a way to use more than 8 lights and have a fully dynamic per-pixel lighting solution. please can someone make this kind of plugin. i'm so desperate i'd pay £500 for it.

"The Oppression" (See Biog)

PC: Athlon XP 2400, 512mb, 120gb, XP Pro, DX 9.0c, GForce 2
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 14th Feb 2005 06:52 Edited at: 14th Feb 2005 06:55
ok thanks for your replies

The PlugIn DLL should contain these kind of commands :

Quote: "
VL Add Light Number.l
VL Delete Light( Number.l
=VL Get Exist( Number.l )

VL Set Light Type Number.l , Type.l
VL Set Light Range Number.l , Range.l
VL Position Light Number.l , XPos.f , YPos.f , ZPos.f
VL Rotate Light Number.l , XRot.f , YRot.f , ZRot.f

VL SetLightEffect Number.l , EffectType.l
VL SetLightParam1 Number.l , MinValue.l
VL SetLightParam2 Number.l , MaxValue.l
VL SetLightParam3 Number.l , Speed.l
VL SetLightParams( Number.l , MinValue.l , MaxValue.l , Speed.l
VL SetLightHalo Number.l , HaloNumber.l

VL Attach Object To Light Object.l , Number.l
VL Detach Object From Light Object.l , Number.l
VL Attach Light To Object Number.l , Object.l
VL Detach Light From Object Object.l , Number.l

VL Update"


The Attach/Detach command allow to joind object/lights
for example, Attach object to light make 1 thing. Object fading will be linked to light FX ( torch effect for example )
Attach light to object will make the light to always be positionned and rotated like the object to which she is linked.

The plug in is actually under development as it will also be used for X-Quad Editor.

if someone want to beta test this plug in and other I prepare, take a look at here :
http://forum.thegamecreators.com/?m=forum_view&t=45005&b=18

@Luke B : If you can provide me the DBPro source code, I'll adapt it to DLL using PureBasic

Luke B
19
Years of Service
User Offline
Joined: 13th Nov 2004
Location: Exeter, UK
Posted: 15th Feb 2005 02:05
okay I'll see what i can do

if you want me to test anything use this address: lukehelp@hotmail.co.uk

and for spammers, this is not my main account so don't bother

"The Oppression" (See Biog)

PC: Athlon XP 2400, 512mb, 120gb, XP Pro, DX 9.0c, GForce 2
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 22nd Feb 2005 02:58
The only way to do realtime lighting that is fast enough is with shaders


"Lets migrate like bricks" - Me
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Feb 2005 03:24
the problem is that if you want to support X lights, you'll then have X Pass to do .... and the rendering should be slower ...

Login to post a reply

Server time is: 2024-03-28 22:40:22
Your offset time is: 2024-03-28 22:40:22