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?

enter image description here

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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -