Lets say I have a stack of bitmap textures
char *Texture[] =
{
"texture1.bmp",
"texture2.bmp",
"texture3.bmp",
"texture4.bmp",
}
and I want to use all the pictures using some function in which they will be processed and displayed by some trigger, each one at a time. Do you know if there is any openGL function for implementing this scenario?
OpenGL is not a scene graph. It's just a fancy triangle rasterization system. See here .
Image loading, animation, and triggers are all (much) higher-level pieces of functionality not provided by OpenGL.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.