0
votes
1answer
77 views

OpenGL / Soil Image Loading Difficulties [closed]

The Problem I am attempting to load and display an image in OpenGL using the SOIL library. I originally started with lodePNG but I had difficulties getting the image to display so I assumed it was ...
0
votes
0answers
29 views

Load different grayscale images into the same texture

I have a series of images loaded as data1 = stbi_load_from_file(file1,&width,&height,&comp,1); data2 = stbi_load_from_file(file2,&width,&height,&comp,1); data3 = ...
0
votes
0answers
64 views

Drawing pathmap [Solved]

I am developing an editor for my game and I like to implement something like this (screenshot from wc3 editor): (I need the pathmap) I have one implementation already, I just store in chunk renderer ...
0
votes
1answer
140 views

Is there a need to set the parameters again when updating a texture?

Suppose that I'm developing the class COpenGLControl here in code guru to use it for showing a 2D texture in an MFC CPictureControl. and after applying some filters on the image, I will update the ...
8
votes
3answers
469 views

Why is it possible to encounter a texture coordinate greater than 1 or less than 0

I'm studying a text about texture mapping and in the preparing to draw session, I read: Define the texture wrapping parameters. This will control what happens when a texture coordinate greater than ...
4
votes
1answer
329 views

How do I draw a zoomable image in OpenGL?

Up to now I have used glDrawPixels but since my image is a large geotiff one, I'm getting some horrible results for example: this is the code used for zoom extent: void ...
2
votes
2answers
302 views

there is a BLOB standard to store images in memory?

I would like to abstract all the images in memory, to do so i would like to have just 1 format of reference without talking about the usual file formats for the filesystem like JPG, TGA, and so on. I ...
0
votes
1answer
7k views

DevIL image library isn't loading my image

This is the first time I've had this problem, my code just won't load the images I need it to. Here is my first function for loading the image into data: void ...