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 / Low level access to LPDIRECTX and render loop

Author
Message
Jizzah
14
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 11th Dec 2004 04:53
OK after surveying more of the key features and other things. I'm pretty set on buying the SDK. I just need to know a couple of things more, if anyone can give some straight forward answers about these I'll buy the product now.

Do we have access to the low level DirectX objects, can I retrieve a pointer to LPDIRECTX(blah) and use it to do my own writing to the DirectX object, and a followup to this is do we have access to the render loop. Looks like dbSync() is what's called to render, but I want to be able to create my own class that uses the DirectX object directly and interject my code onto the rendered scene.

Lights? Does the engine support realtime lighting? And is limited to the amount of real time lights the DX let's you define?

Thanks for any answers you can provide I would be happy to purchase the engine once I get these answers.
IanM
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 11th Dec 2004 08:53
You do have access to both the Direct3D and the Direct3DDevice pointers, but currently no access to the render loop. I've made a few suggestions to Mike that he liked that should allow us to do this in future versions.

Lights? Limited to DX lights I'm afraid. If you need more than that you'll need to work out another way to do it - maybe reuse lights that are farthest away.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Benjamin
16
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 11th Dec 2004 09:11 Edited at: 11th Dec 2004 09:12
About lights, as IanM said, reuse lights that are farthest away. So basicly, you could set up 'areas' of light, and change the lights depending on what area you are in.

EDIT: I mean zones.

CURRENT PROJECT: Chaos Hizzle Demo
Jizzah
14
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 11th Dec 2004 11:38
@IanM thanks for the insight, so if we don't have access to the actual "render" loop I'm assuming we can still create objects using straight DX methods and have it generated in game through the games own render call? I mean as long as I have a way to create something using DX and have it rendered to screen I would be fine, especially if I can use straight DX methodology.

@Both, thanks for the reply I'm starting to like the community a lot. Really friendly and helpful people. I was thinking of zoning the lights, its just in the feature list I didn't see anything that said "real-time" lighting so I just wanted to make sure that was available. If I have to play some Tom Foolery or something thats perfectly ok with me, as long as its available.

Thanks again, guys. I may purchase this engine tonight hopefully its a 24 hour activation thing as I am eager to get my hands on the code.

On a side note: what does the current terrain engine with the DarkSDK use? I hope it uses heightmaps and a texture map for the entire land as that's what I'm used to using.

Login to post a reply

Server time is: 2019-07-17 01:29:54
Your offset time is: 2019-07-17 01:29:54