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 / DarkPhysics and DarkShader Fullscreen shaders incompatible?

Author
Message
BrightSpark42
14
Years of Service
User Offline
Joined: 11th Apr 2010
Location:
Posted: 11th Apr 2010 16:12 Edited at: 12th Apr 2010 13:01
Hi everyone and thanks in advance for your help.

I had recently bought dark game studio and the expansion packs and have fallen deeply in love. There are some issuses i'm having tho. It took me a while to get darkPhysics working but it is now, perfectly. I also have shaders working in the same project. This is all great but I wanted to use some of the fullscreen shaders to make my sceen look nice. I've managed to get the Bloom shader working on its own but if I try to use darkPhysics at the same time it wont work and I get the following 3 errors



Here is the code I'm using to test this problem



It's basically the Bloom sample project with the physics command added. Running this code works but as soon as I uncomment the dbPhysStart() command it doesn't. I've included the DarkPhysics.lib in the additional dependecies and copied the dll files into the project folder. I've attached the project folder aswell if that helps.

I've searched the forums but can't find a solution. I know i'm not the only one with this problem.

BS

Attachments

Login to view attachments
silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 28th Jul 2010 10:55
hi

try to set "/FORCE:MULTIPLE" in the properties in linker command line..



I compile successfull DARKphyssic et Fullscreen Shader
silken
20
Years of Service
User Offline
Joined: 13th May 2004
Location:
Posted: 28th Jul 2010 11:28 Edited at: 28th Jul 2010 11:46
i attached for you, your sample with PhysX add with Two Ball for physx

try to compile une release configuration..


enjoy

Attachments

Login to view attachments
BrightSpark42
14
Years of Service
User Offline
Joined: 11th Apr 2010
Location:
Posted: 2nd Aug 2010 15:05
Yay! Thanks Silken that worked perfectly

BS
BrightSpark42
14
Years of Service
User Offline
Joined: 11th Apr 2010
Location:
Posted: 2nd Aug 2010 15:44
Ok everything works well, here is the final project demonstrates Dark Physics working with Dark Shader. You can bump the ball now, by clicking the mouse.

Big thanks to Silken for solving this problem

BS

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-19 20:47:20
Your offset time is: 2024-11-19 20:47:20