View Full Version : Load byte* dataArray to openGL

09-29-2014, 03:56 AM

How can I load this array to OPengl?

This array consist pixel of an image


09-29-2014, 10:47 AM
There is everything you need: https://www.opengl.org/wiki/Texture

Agent D
09-29-2014, 12:37 PM
Doctor100, according to my memory (and the forum software that lets me view your previous posts), you are the guy who made like five threads asking how to display a video using OpenGL(R) and previously posted questions on how to solve simple problems with totally unrelated GL functions.

Why don't you simply start out with a step-by-step, beginner tutorial like this one (http://www.opengl-tutorial.org/)? What you ask for is neither specific nor advanced; it is something very basic, explained in lots of tutorials.

When you read the neccessary tutorial chapters you might feel inclined to try a few things out on your own, and then, when you have some specific issues, ask about those.

09-30-2014, 04:37 AM
Ok,You are right.Thanks