Sign in to follow this  
Followers 0
FireFox

D3D > Full screen device

8 posts in this topic

Hi again ;)

I've tested D3D examples on fps games but it only works when it's in Window mode and not in Full Screen mode.

I think the parameter to change is $iDeviceType of the function _D3D_Init but I don't how to make it work Posted Image

FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites



This is a quick and simple approach. A more robust application should first validate if

the required resolution and other settings are supported by the adapter. Typically,

640x480 is probably supported so there is no need to enumerate for a suitable adapter.

DoubleVision.rar

Share this post


Link to post
Share on other sites

This is a quick and simple approach. A more robust application should first validate if

the required resolution and other settings are supported by the adapter. Typically,

640x480 is probably supported so there is no need to enumerate for a suitable adapter.

Thanks for your example, but it does not work if the $hGUI is the handle of an external window which works also in fullscreen.

Is it possible to make it work on this external window ?

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Please... upload... D3D9.au3 ;)

Share this post


Link to post
Share on other sites

Please... upload... D3D9.au3 ;)

http://www.autoitscript.com/forum/index.php?showtopic=120648

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

@LoadJugag, Direct3D

Thanks for your example, but it does not work if the $hGUI is the handle of an external window which works also in fullscreen.

Is it possible to make it work on this external window ?

Br, FireFox.

You're after rendering to another program's device I guess, right?

If so, I have no clue if you can share the same render object without

the other program explicitly specifying so. Other methods to achieve

that have nothing to do with Direct3D as they are related to dll

injection. What I mean is that only one -full screen- application can

render to the device (excluding multiple monitors) at a present moment.

I might be wrong, though.

Share this post


Link to post
Share on other sites

@LoadJugag, Direct3D

You're after rendering to another program's device I guess, right?

If so, I have no clue if you can share the same render object without

the other program explicitly specifying so. Other methods to achieve

that have nothing to do with Direct3D as they are related to dll

injection. What I mean is that only one -full screen- application can

render to the device (excluding multiple monitors) at a present moment.

I might be wrong, though.

Yeah, I would like to work on the another program's device. (like dll injection as you said)

If this is not possible, is there a solution to do a D3D window over this -full screen- application window?

It's the only thing I want to do (like steam's overlay window) in order to avoid backing to desktop.

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Depending on the interface. You can draw on a full screen OpenGL application using DirectDraw.

With Direct3D 8 and up full screen applications, you can't. This is when Microsoft changed the

implementation of surface drawing, it was a DirectDraw surface back then. If the application's

interface is OpenGL, you don't have to use any sort of hacks. If it's Direct3D 8+, you'll need

to use some dll tricks. Google for "Layout Direct3D", you'll find something.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0