http://qs1969.pair.com?node_id=894604


in reply to Re^2: multiple textures on a cube (opengl example)
in thread multiple textures on a cube (opengl example)

I downloaded the six images and they exist in the same directory as the code. I also ran the ppm installs you listed for opengl and opengl image. I still get the same error as before. Any ideas?

Replies are listed 'Best First'.
Re^4: multiple textures on a cube (opengl example)
by Anonymous Monk on Jul 13, 2014 at 15:13 UTC

    The default engine does not support these jpg images, on Linux at least...

    The easiest method without code change is to use the ImageMagick 'convert' cli utility, and convert the .jpg to .tga format.

    After conversion this works and is a good demo/starting point for understanding a bit of the opengl stuff.