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 / FlashLight

Author
Message
MageNoir
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: France - Nord
Posted: 15th Mar 2008 13:00 Edited at: 15th Mar 2008 13:00
Hi!

I try to make a flashlight with the Ultimate Shader Pack (26 - FlashLight [Evolved]), and it doesn't work!

I retranscribed the code in DarkGDK:



And, errors are in this lines:



(I'm new with DarkGDK)




Thanks !

*=*=* MageNoir *=*=*
www.k-corps.com
axiagame
16
Years of Service
User Offline
Joined: 6th Dec 2007
Location: far far away...
Posted: 15th Mar 2008 13:25
what are the errors you get?
MageNoir
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: France - Nord
Posted: 15th Mar 2008 14:19 Edited at: 15th Mar 2008 14:20
When I delete:
dbSetEffectConstantFloat(2,"BrightNess",Brightness);
.......
dbSetEffectConstantVector(2,"LightPosition",1);
.......
dbSetEffectConstantMatrix(2,"LightAngle",6);


The program run but without effects.


And, with the 3 lines, I have this:
http://magehost.free.fr/IMG/y6boymghla0o0d3e7sm6Error.jpg

(Sorry it's in French)

*=*=* MageNoir *=*=*
www.k-corps.com
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 15th Mar 2008 15:42
Is it something about an access violation?? If it is, then try building the program, then running form outside the compiler in administrator mode. Usually an access violation is because Vista doesn't want people writing to certain parts of the computer, so you need to run in admin mode.
MageNoir
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: France - Nord
Posted: 15th Mar 2008 16:36
I use Windows XP ^^

*=*=* MageNoir *=*=*
www.k-corps.com
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 15th Mar 2008 21:19
Oh, haha. The look of that message box made me think it was Vista. I'm sorry I can't help.
MageNoir
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: France - Nord
Posted: 16th Mar 2008 12:12
Does nobody have solution?

Or do you have an idea to create a realistic flashlight (Like this shader) ?
Because I think the problem is the Shader. =/

*=*=* MageNoir *=*=*
www.k-corps.com
axiagame
16
Years of Service
User Offline
Joined: 6th Dec 2007
Location: far far away...
Posted: 16th Mar 2008 14:30 Edited at: 16th Mar 2008 23:28
I send you a mail in good french to try to help you

EDIT : unable to help, sorry

Login to post a reply

Server time is: 2024-09-29 15:18:32
Your offset time is: 2024-09-29 15:18:32