Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to work with Windows in a non-Desktop virtual environment(for example 3D user interface in a virtual room) but I have almost no clue how to most efficiently implement this. I will be using OpenGL to render the user interface and virtual environment. I know that I could possibly implement this by mapping the current pixel locations of the corner of each program window to a scaled corresponding points in the user interface and then rerender all the textures in the corresponding area but this would be extremely tedious. Is there an easier and more efficient way to do this using some windows API or by taking advantage of how windows renders programs? Thanks.
Posted
Updated 2-Oct-14 14:08pm
v2
Comments
BillWoodruff 2-Oct-14 22:58pm    
Why don't you start by searching CodeProject for articles with the term "3d" ?

1 solution

you should use the Windows-API to get the screen coordinates and use them in your OpenGL code. The OpenGL should direct process the drawing to the display driver in the Windows.
 
Share this answer
 
Comments
Member 11029991 20-Oct-14 2:49am    
Do you have a link to the part of the Windows API that I need or know of a resource that I can use to learn how to use this API?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900