Results 1 to 3 of 3

Thread: Are add-ons possible affecting all programs?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2009

    Are add-ons possible affecting all programs?

    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!

  2. #2
    Senior Member Frequent Contributor scratt's Avatar
    Join Date
    May 2008

    Re: Are add-ons possible affecting all programs?

    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..

  3. #3
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Grenoble - France

    Re: Are add-ons possible affecting all programs?

    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

Similar Threads

  1. Translate without affecting perspective
    By Aestivae in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-23-2012, 06:10 PM
  2. Something in FF Pipe affecting rendering...
    By scratt in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 02-22-2009, 11:36 AM
  3. shaders affecting eachother... annoying
    By Dragon89 in forum OpenGL: GLSL
    Replies: 5
    Last Post: 02-23-2007, 02:08 PM
  4. Replies: 0
    Last Post: 01-18-2007, 09:21 AM
  5. OpenGL affecting tooltips
    By jdecarlo in forum OpenGL: Windows
    Replies: 10
    Last Post: 12-29-2003, 01:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean