Home > Back-end >  DirectX in how to implement, there is a mouse to select a point of a waveform graph to obtain the sp
DirectX in how to implement, there is a mouse to select a point of a waveform graph to obtain the sp

Time:11-21

I use DirectX map a three-dimensional wave, were drawn with the method of index buffer and now to use the mouse to select one of the peak, and have a look at its coordinates, how to implement,
I looked on the Internet using D3DXIntersect function available ray fellowship with grid model of triangle, but the point I am not the mesh, but to draw, how to get,,, I just contact with DirectX, do not understand, please grant instruction,

CodePudding user response:

Three-dimensional wave matrix should be a margin, as long as the mouse capture, converts the world coordinates of the mouse into rows and columns of the matrix, pick up the ranks of the recently shown that value is ok,

CodePudding user response:

Concrete examples we can see qt data the visualization of the code,

CodePudding user response:

reference 1st floor 丁劲犇 response:
3 d wave matrix should be a margin, as long as the mouse capture, converts the world coordinates of the mouse into rows and columns of the matrix, pick up the ranks of the recently shown that value is ok,

Specific how to operate it, just contact this, don't know much about,
  • Related