Unlock instant, AI-driven research and patent intelligence for your innovation.

An interactive method and system based on direct3d shared texture

An interactive method and texture technology, applied in the computer field, can solve problems such as long delay and inability to accurately locate the target window, and achieve the effect of avoiding screen tearing

Active Publication Date: 2022-03-18
四川盛趣时代网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional interactive mode, if you need to operate the window of the client during the game, you need to switch the window, which will cause the full-screen game to switch from the exclusive mode to the desktop, which will bring a long delay, and during the window switching process, Unable to accurately locate the target window that needs to be switched to

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] An interactive system based on Direct3D shared textures, an image drawing and control module injected into a game process and an independently running client rendering component; the client rendering component includes:

[0024] a. The rendering module is used to render the content of the client's visible area into the shared texture;

[0025] b. The remote operation analysis module is used to receive and analyze various user operation control commands transmitted from the game client to the client;

[0026] c. The operation execution module is used to convert the received control command into the corresponding operation of the client;

[0027] d. The injection module is used to inject the image drawing and control module into the game process.

[0028] The image drawing and control module includes: an image drawing module, which is used to draw the visible area of ​​the client in the shared texture into the game window; a control module, which is used to convert the o...

Embodiment 2

[0030] An interactive method based on Direct3D shared texture, using the above system for interaction:

[0031] When the client is started, the main window is created and a message hook is registered. The function of this message hook is to inject the image drawing and control module into the game process;

[0032] Create a remote operation analysis module, start the interface for receiving control commands, and create a resource management interface;

[0033] Initialize the rendering module, create the necessary Direct3D devices and resources, register the shared texture to the GPU, and register the obtained texture handle to the shared resource management interface, so that the modules in the game process can obtain the shared texture handle;

[0034] During the running of the client, all visible areas will be directly drawn to the shared texture, and the modules in the game can obtain this texture through the GPU memory.

[0035] When the game starts, the message hook inje...

Embodiment 3

[0045] This embodiment is optimized on the basis of Embodiment 2. In order to realize the Chinese input method of the client in the game window, the following methods are implemented:

[0046] Forward the corresponding input method message to the client program. This method converts the input method switching request of the game window into a corresponding control command and forwards it to the client program. The client can load the input method module of the system for input;

[0047] Due to the operating principle of the Windows system, the program that must obtain the keyboard focus can be used for input, but because it is displayed in the game, the game window cannot be covered by other windows, so the method for the client to obtain the keyboard focus without interfering with the display of the game window is realized. ;

[0048] In the client process, it is necessary to render the candidate word window of the input method to the shared texture, process IME-related messa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an interactive method and system based on Direct3D shared textures, the interactive system includes an independently running client rendering component and an image drawing and control module injected into the game process; the client rendering component includes a The rendering module that renders the contents of the visible area of ​​the client into the shared texture, the remote operation parsing module that receives and parses the operation control commands transmitted from the game client to the client, and converts the received operation control commands into client An operation execution module for terminal operations, and an injection module for injecting image drawing and control modules into the game process. The invention also discloses that the interactive method realizes the function of operating the client without switching windows based on the interactive system, and improves the experience of communication and interaction between game users.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to an interactive method and system based on Direct3D shared textures. Background technique [0002] Direct3D is a 3D graphics API based on Microsoft's common object mode COM (Common Object Mode). It is a 3D API specification established by Microsoft (Microsoft). Microsoft owns the copyright of the library, and all its syntax definitions are included in the help files and source codes of the program development components provided by Microsoft. Direct3D is an important part of Microsoft's DirectX SDK integrated development kit, suitable for extensive and practical 3D graphics calculations such as multimedia, entertainment, and real-time 3D animation. Direct3D provides a function of sharing textures, which can share textures so that other processes can access this texture. [0003] In the traditional interactive mode, if you need to operate the window of the client du...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451G06T15/04G06T15/00A63F13/50
CPCG06F9/451G06T15/04G06T15/005A63F13/50
Inventor 罗大军
Owner 四川盛趣时代网络科技有限公司