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.

DarkBASIC Professional Discussion / I got the old Dark Lights newsletter examples here, but some errors

Author
Message
punkyb
2
Years of Service
User Offline
Joined: 8th Sep 2016
Playing: PC and Android Games
Posted: 13th Oct 2016 06:16
So after some google searching I found the newsletter examples for Dark Lights/Lightmapper. It compiles ok but when I tried to run the level it goes to 99% and stops with a error creating texture, screen shot here:



Attached is the installed version

Attachments

Login to view attachments
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2016 07:36
Looks like you found an issue with DBPro 9Ex. The demos work fine in 2.0. You should report this issue to Rudolpho on his DBPro 9Ex thread.
punkyb
2
Years of Service
User Offline
Joined: 8th Sep 2016
Playing: PC and Android Games
Posted: 13th Oct 2016 07:56 Edited at: 13th Oct 2016 08:06
Hey WickedX, thanks. What is 2.0? Is that the OpenSource version? All I know is the latest DBPro is 1.077.

Are you getting the same error?
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2016 08:14 Edited at: 13th Oct 2016 08:17
2.0 is a version I was working on. It's built from the open source on Google Code which was basically version 1.077.

Yes, in DBPro 9Ex, I get the same error.
punkyb
2
Years of Service
User Offline
Joined: 8th Sep 2016
Playing: PC and Android Games
Posted: 13th Oct 2016 08:54 Edited at: 13th Oct 2016 08:55
Ok got it thanks. So I have tried the Online Version (1.077) and it sort of works. The lightmap texture is generated in the lightmaps folder but not applied. I'm getting a white filled scene with objects.



Attachments

Login to view attachments
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2016 09:18
1.077 is an update. If you are appling this on top of the github open source or DBPro 9Ex you could be missing a proper file for this to work. I am sure Rudolpho should be able to solve this issue.
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2016 09:28 Edited at: 13th Oct 2016 09:36
Powered my computer down a while ago. In the morning I will compile the lightmapper source on Github and upload it. May be chances to this plug-in.
punkyb
2
Years of Service
User Offline
Joined: 8th Sep 2016
Playing: PC and Android Games
Posted: 13th Oct 2016 11:52
Thanks WickedX!
WickedX
10
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2016 17:48
Compiling the LightMapper source from Github didn't make a difference. Still getting the same error.
Rudolpho
13
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 13th Oct 2016 19:28
I think I've figured out what is causing it to fail with the 9Ex version. It will require some further investigation but it does seem the likely culprit.
Unfortunately my suspected reason is a change in D3D9Ex itself compared to D3D9.0c, which external plugins accessing the D3D device directly are of course not aware of. As such it will be rather difficult (but hopefully not impossible) to fix. I will look into it further over the weekend.

@WickedX: Oh my, I was not aware that that, as well as some other plugins are available from GitHub now; must be new additions (I downloaded my version about a year ago); awesome, that should help with at least patching those available ones up properly
punkyb
2
Years of Service
User Offline
Joined: 8th Sep 2016
Playing: PC and Android Games
Posted: 14th Oct 2016 02:06
Nice, I was starting to think that my installation is kinda messed up.

Thanks for the confirmation guys.

Login to post a reply

Server time is: 2019-05-25 20:33:12
Your offset time is: 2019-05-25 20:33:12