Home > Software engineering >  O opengl developers, give me some help?
O opengl developers, give me some help?

Time:04-15

Currently engaged in vc (MFC) + opengl development, need to use interactive drawing geometric shapes, such as in the view, click with the mouse to drag, arbitrary draw a geometric figure, could you tell me how to do? Give some example code,

CodePudding user response:

Didn't, however, should be very similar to the 2 d, to record the location of the mouse button pressed, track the mouse movement and refresh some effect, the mouse is released to create objects,

CodePudding user response:

reference 1st floor 丁劲犇 response:
didn't, however, should be very similar to the 2 d, to record the location of the mouse button pressed, track the mouse movement and refresh some effect, the mouse is released to create objects,

Example 2 d you have? Learning,

CodePudding user response:

https://github.com/ArsMasiuk/qvge
  • Related