OpenGL embedded exe in OpenGL window

Recommended Posts

is it possible? I know Windows Aero is pretty much this in DX, but due to the environment im trying to avoid DX.

Share on other sites
You mean you want to build a window manager?
That's possible but not trivial.
If you're looking for something that has more or less the same features as Aero in OpenGL, there's Compiz (http://compiz.org/Home/Screenshots). But I don't think that you'll want to make a window manager from scratch.

Share on other sites
This is beyond confusing. Are you trying to say you want to render a windows-looking-window in your opengl context? Or do you want to run a different executable from your opengl program?

You need to elaborate a bit here...

FlyingIsFun1217

Share on other sites
I wanna run an Air Application.... on a 3d plane....in OpenGL

Share on other sites
Quote:
 Original post by AverageJoeSSUI wanna run an Air Application.... on a 3d plane....in OpenGL
You could grab the output for the target application, shove that on a texture, and render that. Although that'll be extremely platform specific, won't work on pre-Vista OS's (Since the output doesn't exist for windows that aren't visible), and will likely be incredibly slow.

Why do you want to do this? There's likely another way around it.

Share on other sites
Well, you'll have to live with the fact that Windows is closed-source [smile]. I think you'll have to recreate all the drawing functions from scratch, using OpenGL. Compile it as a DLL, and inject it to the application.

edit:
I thought _you_ wanted to render the window(s) (buttons and stuff) using OpenGL. If you only want the rendered output, maybe you can do it like it's in the previous post.

Share on other sites
Quote:
 Original post by beunWell, you'll have to live with the fact that Windows is closed-source [smile]. I think you'll have to recreate all the drawing functions from scratch, using OpenGL. Compile it as a DLL, and inject it to the application.
That's another way, yes. You could hook all of the GDI calls in the target application, and grab the data as it's rendered. Although that's effectively writing all of GDI from scratch, and is likely to break on future Windows versions.

Share on other sites
I have no idea how to do that, but I think is very interesting, for instance you could make a multi-game or a 3d game launcher, something like a virtual room where you can exectute games or whatever, but I am afraid this is almost impossible on windows or very difficult, however you already have this on linux, it is call compiz and you can execute Quake 3 or watch a movie in a windows while you rotate it around a cube...

http://img175.imageshack.us/my.php?image=compiz20060212fr5.png

but even if you get it, probably you will have performance problems.

Regards,
Ricardo.

Create an account

Register a new account

• Partner Spotlight

• Forum Statistics

• Total Topics
627651
• Total Posts
2978407
• Similar Content

• Both functions are available since 3.0, and I'm currently using glMapBuffer(), which works fine.
But, I was wondering if anyone has experienced advantage in using glMapBufferRange(), which allows to specify the range of the mapped buffer. Could this be only a safety measure or does it improve performance?
Note: I'm not asking about glBufferSubData()/glBufferData. Those two are irrelevant in this case.
• By xhcao
Before using void glBindImageTexture(    GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format), does need to make sure that texture is completeness.
• By cebugdev
hi guys,
are there any books, link online or any other resources that discusses on how to build special effects such as magic, lightning, etc. in OpenGL? i mean, yeah most of them are using particles but im looking for resources specifically on how to manipulate the particles to look like an effect that can be use for games,. i did fire particle before, and I want to learn how to do the other 'magic' as well.
Like are there one book or link(cant find in google) that atleast featured how to make different particle effects in OpenGL (or DirectX)? If there is no one stop shop for it, maybe ill just look for some tips on how to make a particle engine that is flexible enough to enable me to design different effects/magic
let me know if you guys have recommendations.
• By dud3
How do we rotate the camera around x axis 360 degrees, without having the strange effect as in my video below?
Mine behaves exactly the same way spherical coordinates would, I'm using euler angles.
Tried googling, but couldn't find a proper answer, guessing I don't know what exactly to google for, googled 'rotate 360 around x axis', got no proper answers.

References:
Code: https://pastebin.com/Hcshj3FQ
The video shows the difference between blender and my rotation:

• By Defend
I've had a Google around for this but haven't yet found some solid advice. There is a lot of "it depends", but I'm not sure on what.
My question is what's a good rule of thumb to follow when it comes to creating/using VBOs & VAOs? As in, when should I use multiple or when should I not? My understanding so far is that if I need a new VBO, then I need a new VAO. So when it comes to rendering multiple objects I can either:
* make lots of VAO/VBO pairs and flip through them to render different objects, or
* make one big VBO and jump around its memory to render different objects.
I also understand that if I need to render objects with different vertex attributes, then a new VAO is necessary in this case.
If that "it depends" really is quite variable, what's best for a beginner with OpenGL, assuming that better approaches can be learnt later with better understanding?

• 10
• 12
• 22
• 13
• 33