Results 1 to 2 of 2

Thread: Can I get better mouse sampling rates in OpenGL?

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004

    Can I get better mouse sampling rates in OpenGL?

    My graphics program (that simulates MS paint) requires better sampling rates.

    For eg:When I use the pencil-style tool in MS Paint, it draws a free-form line(that's a set of points). When i replicate the same, with vigorous mouse movements, i only get a set of discrete pixels.
    Eventually, I had to settle for drawing lines between the set of pixels thrown by the call-back function to achieve the free-form effect.

    Is there any other way to achieve this?
    Can i use asynchronous mode, or can I increase the mouse sampling rates, or use a better I/O library along with OpenGL?
    Yup, that's me!!

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000

    Re: Can I get better mouse sampling rates in OpenGL?

    No, OpenGL is a graphics API, it doesn't know about input devices.
    Your problem is an OS mouse device driver issue.

Similar Threads

  1. Replies: 2
    Last Post: 09-14-2014, 01:32 PM
  2. OpenGL multi sampling
    By bfasc2t in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-16-2006, 09:36 PM
  3. opengl texture sampling
    By michagl in forum OpenGL: Advanced Coding
    Replies: 30
    Last Post: 04-05-2005, 03:49 PM
  4. ATI Xpert 128 OpenGL refresh rates
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 01-01-2002, 05:28 PM
  5. OpenGL and refresh rates
    By kaaos in forum OpenGL: User Software
    Replies: 1
    Last Post: 06-06-2000, 01:55 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