简体   繁体   English

使用OpenGL的图片幻灯片

[英]Image slide using OpenGL

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函数吗?

OpenGL is not a scene graph. OpenGL不是场景图。 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. 图像加载,动画和触发器是OpenGL 提供的所有(很多)高级功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM