View Full Version : Are add-ons possible affecting all programs?
12-21-2009, 06:46 PM
Mainly I'm worried about camera movement. Could you have a piece of code that runs in opengl, and changes the camera angle according to its input? I'm thinking of implementing Johnny Lee's Wiimote Head tracking thing into openGL. 3d for Everything!
12-22-2009, 02:17 AM
The current OpenGL context that your program should in theory own is the only one affected by anything you do.. Adding a head tracking peripheral is not trivial and you'll have to do a fair amount of stuff to even read from it I expect... and that data you will then plug into your camera matrix etc. in your program using OpenGL to render a scene.
So the short answer is no it *shouldn't* affect anything else on your computer..
12-22-2009, 03:50 AM
In fact this is possible but very complex, you will have to develop a 'stub' opengl32.dll that will hijack calls to modelview to tweak them. Hard to do right in the general case.
Try to do it correctly your your own program first :)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.