c++ - Set an image as background in Open GL -
i want achieve following result in opengl (and c++): have plot want use background of animation , want fix when points move on surface. example (see image): want calculate level plot of 3 variables function (black , white in photo), want set background , show animation of points moving on surface (red points in photo). best method achieve , have performances?
one possibility draw background image texture on quad behind other points (e.g., points @ z=0.1, quad @ z=0.2). since (presumably) don't want quad scaled compared points, want use orthographic projection, not perspective.
Comments
Post a Comment