Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Monsieur OUXX on Wed 16/03/2011 10:38:02

Title: System.HardwareAcceleration vs. Direct3D
Post by: Monsieur OUXX on Wed 16/03/2011 10:38:02
When the player selects Direct3D, is "System.HardwareAcceleration" always true?

...and...

When the player selects DirectDraw5, is "System.HardwareAcceleration" always false?

Title: Re: System.HardwareAcceleration vs. Direct3D
Post by: Dualnames on Wed 16/03/2011 16:57:43
Yes, but I can assume you've already read that in the manual.  :-\
Title: Re: System.HardwareAcceleration vs. Direct3D
Post by: Monsieur OUXX on Mon 21/03/2011 10:16:50
Quote from: Dualnames on Wed 16/03/2011 16:57:43
but I can assume you've already read that in the manual.  :-\

Dualnames you troll!
The reason why I'm asking is because I wasn't 100% sure after reading the manual :

[Excerpt for "System.HardwareAcceleration"]
Quote
Returns whether the game is running with hardware acceleration (eg. Direct3D).

Direct3D is just an interface to 3D rendering. Also, using the Directx5 interface to display sprites wouldn't necessarily mean that you compouter doesn't have any hardware acceleration features.
Thanks for confirming that the property's value exactly maps the choice of the user in the setup window.
=> SOLVED
Title: Re: System.HardwareAcceleration vs. Direct3D
Post by: Pumaman on Mon 21/03/2011 22:34:26
Yes, while you're correct that technically speaking even DirectDraw 5 uses some hardware acceleration features, this property is referring to whether the main rendering loop is hardware accelerated, which is the case with D3D.