Results 1 to 3 of 3

Thread: Displaying of real-time camera images

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2003
    Posts
    3

    Displaying of real-time camera images

    How can I display a camera image in real time, more precicely, how can I make OGL grab an image fram and display it using glDrawPixels() or textures?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    595

    Re: Displaying of real-time camera images

    Opengl have no way of reading data from cameras or similar ( maybe OpenML adresses that problem, but thats not finished anyway), so you have to use OS dependent techniques to grab the image, then just upload it as a texture and use it. If the texture arent to huge its possible to get good FPS that way.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Displaying of real-time camera images

    nehe.gamedev.net has a tutor on playing a AVI in openGL.

    Maybe could use the same code to play a video stream from a camera.


    Originally posted by thomap:
    How can I display a camera image in real time, more precicely, how can I make OGL grab an image fram and display it using glDrawPixels() or textures?

Similar Threads

  1. Real-time 2D camera lens blur effect achieveable?
    By mStuff in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 07-21-2015, 08:35 AM
  2. Displaying real time data in OpenGL
    By Sanjeev in forum OpenGL: User Software
    Replies: 4
    Last Post: 08-21-2009, 04:34 AM
  3. Opengl & Real-time Video Input from a digital camera
    By jabacurau in forum OpenGL: General
    Replies: 0
    Last Post: 01-12-2005, 02:08 PM
  4. 4 Images activating in real time with different view point.
    By wcham in forum OpenGL: User Software
    Replies: 1
    Last Post: 12-10-2004, 04:32 PM
  5. Replies: 1
    Last Post: 07-22-2002, 06:35 PM

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