i am working on a medical software project i am facing a problem
i render a number of give slices from a volume dataset and i need to apply a blending on them to have an X-ray image effect, but i didn’t succeeded.
i have done this at past using delphi and an opengl extenstion library known as DGL using this code:
glEnable(GL_BLEND);
glBlendFunc(GL_CONSTANT_ALPHA_EXT, GL_ONE);
glBlendColorEXT(1.0, 1.0, 1.0, 1.0/npicNum);
now i am using Visual Studio 2008 C++ and opengl ihave used the GLEW extension but i didn’t find the similar method and constants that do the same effect as with the delphi.
Kindly, if any one have any suggestion it will be appreciated.