Original Post
Yep, that's what I need to do. No rendering issues, no OpenGL or 3rd-party libs, apis, or dlls. This is to be done programmatically, preferably in C++. Just need to convert an RGB image representing a Normal map (in this case, an embossed-style with R and G represent the vectors, B is unutilized) into a Grayscale image representing a Bump map. Now I have been told, for better or worse, to 'perform an integration over U and V' to get back as much of a bump map as can be had from a normal map. This, to someone who only basically comprehends Calculus (and has never once had to use it in twenty year's programming), is information that I cannot use. I want examples, source, pseudo-source, references, anything but a vague reference to using integral calculus. And I definitely don't want to read a paper full of partial derivatives and lemmas and intregations. There are no 'calculus' libraries in the standard C++ libraries. Plus, this is not about putting the map onto a 3D object. It's strictly a 2D-2D conversion. I have found nothing pertinent online and certainly have no books relative to the topic - although my library contains a hefty set of 3D computer graphics programming books (the tomes). Thank you for any information leading to a means to perform this task! Robert