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 / DGDK & Dark Occlusion DLL proof of concept

Author
Message
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 12th Jun 2015 15:19
Hi there,

I'm trying to implement a POC of Dark Occlusion to see if it is working or not for DGDK.

So far, I tried to load as a library the sample 'DarkOcclusion.dll', that is provided at the product page for testings.

The dll seems to load fine, but I got an 'access violation' when trying to use the function pointers.

I'm trying to keep it simple:



I attach the full VS2008 project and the 'DarkOcclusion.dll' demo file.

Please guys can you help?

Thanks in advance.

Attachments

Login to view attachments
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 12th Jun 2015 19:36
DBPro dll’s are set up to use callback functions, constructors and destructors, so they can utilize functions from other dll’s as needed. You cannot simply call the functions from a DBPro dll and use the function in Dark GDK. The dll functions will not have access to the Dark GDK object pointers, which is the reason for the `access violation`. Since there’s no Lib for Dark Occlusion you will need to implement Occlusion Culling with DirectX.

I have attached a DirectX 9 tutorial/demo.

Attachments

Login to view attachments
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 16th Jun 2015 17:03
@WickedX,

Tough luck then

Many thanks for the tips and the project sample.

Login to post a reply

Server time is: 2024-11-16 16:31:50
Your offset time is: 2024-11-16 16:31:50