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 / Questions about the rendering pipeline

Author
Message
Xiotex Studios
18
Years of Service
User Offline
Joined: 26th Jun 2005
Location:
Posted: 28th Jun 2005 19:44
Hi,

Is Dark Game SDK a totally deferred rendering system where we set what we want to see happen - for example place a sprite on screen - and then at some pre-defined point the engine takes over and then actually performs that task?

The reason I ask is that given access to the d3d device I might want to enable/disable some render state - but if it is a deferred system then that is not a good idea because it will most likely lead to unpredicatable results.

Xiotex Studios
www.xiotex.com
DarkGameSDK@xiotex.com
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 28th Jun 2005 20:44
Everything is deferred. It's only when dbSync is called that the screen is updated and objects, sprites etc. are drawn.

You can set some render states for objects by using sObject* dbGetObject ( int iID ) and modifying certain parts of the object directly. This will only work for Basic 3D objects. We need to add in extra functions so you can do similar work with sprites etc.
Xiotex Studios
18
Years of Service
User Offline
Joined: 26th Jun 2005
Location:
Posted: 28th Jun 2005 20:50
Okay - that sounds fair and also sensible.

Good stuff!

Xiotex Studios
www.xiotex.com
DarkGameSDK@xiotex.com

Login to post a reply

Server time is: 2024-04-24 07:06:01
Your offset time is: 2024-04-24 07:06:01