Questions tagged [devil]

Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use

Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats.

100 questions
0
votes
1 answer

Texture loading with DevIL, equivalent code to texture loading with Qt?

I am working with opengl and glsl, in visual studio c++ 2010. I am writing shaders and I need to load a texture. I am reading code from a book and in there they load textures with Qt, but I need to do it with DevIl, can someone please write the…
user1796942
  • 3,228
  • 5
  • 29
  • 38
0
votes
0 answers

GL: Mapping images to the faces of a cube: getting an all black texture with ilutGLLoadImage()

I simply want to map images as textures to the faces of a cube and display. Instead of having my images on it, the cube is totally black. My images are both 64x64 jpg's. My application code is below. Originally it was a program that generated 2…
Rooster
  • 1,267
  • 3
  • 15
  • 23
0
votes
1 answer

How to read height map values to generate a terrain?

I am trying to make a terrain using a height map image in OpenGL. As a experiment i use 4x4 pixel image. this is a zoomed screen shot. so you can see the pixels. This is a part of my code. ILubyte * image = ilGetData(); int bpp = …
shan
  • 1,164
  • 4
  • 14
  • 30
0
votes
1 answer

C++, DeviL, Opengl and msvs2010 - It compiles and links, but cant load entry point in dll

I am trying to use the DevIl image library in Windows in my project, using MSVS2010. I have downloaded the sdk "DevIL 1.7.8 SDK for 32-bit Windows" from http://openil.sourceforge.net/download.php and put in a folder where all my others libraries…
Marcos
  • 53
  • 5
-1
votes
1 answer

Dev IL linking and compiling error (0xc000007b)

I'm trying to make this project work Link to Lighthouse First a bunch of info: I'm using: Windows 7 Pro 64-bit and Visual Studio 2013 Ultimate (Project on default settings which I believe is 32-bit) About libraries: DevIL: I downloaded and…
Patryk Krawczyk
  • 1,342
  • 1
  • 14
  • 25
-1
votes
1 answer

OpenGL 4.0 Cubemap issues

Been reading 'OpenGL 4.0 Shading Language Cookbook'. But I've run into a wall with the cubemap tutorial. The issue is that model I'm drawing appears completely grey. As if it's not getting any data from the samplerCube texture. All my code seems to…
-1
votes
1 answer

why in linux work and in win not?

I'm using glew, glut, opengl and devil lib. In Ubu 13.10 with c++ this line compile but in Visual Studio in Win not! Why? std::string path is a parameter passed into the function. This is the code: //Load image ILboolean success = ilLoadImage(…
XaBerr
  • 350
  • 3
  • 19
-1
votes
1 answer

OpenGL, DevIL, obj loader with textures

I wrote an obj loader and as far as i can tell all the loading works fine, however when i try to draw the textures it doesn't work. i've looked into devil and there are no errors after i load, everything has data but when i draw it doesn't show the…
-1
votes
1 answer

Where are the ILU and ILUT libraries after a successful build of DevIL for Ubuntu on ARM machine?

I am trying to port an application that makes use of the DevIL library to open and save images. The application was developed under Ubuntu 10.04 on a PC, where libdevil-dev and libdevil1c2 were installed automatically form the Software Center. Now…
ysap
  • 7,723
  • 7
  • 59
  • 122
-2
votes
1 answer

glTexSubImage2D access violation

class classOne { ILuint id; unsigned char* data() { ilBindImage(id); return ilGetData(); } } class classTwo { void method(classOne& some) { (...) glTexStorage2D(GL_TEXTURE_2D, 8, GL_RGB8, w,…
user3808059
  • 373
  • 2
  • 15
1 2 3 4 5 6
7