Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: multiple textures on a cube (opengl example)

by Anonymous Monk
on Mar 21, 2011 at 19:41 UTC ( #894604=note: print w/replies, xml ) Need Help??

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?
  • Comment on Re^3: multiple textures on a cube (opengl example)

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://894604]
[Happy-the-monk]: Discipulus: please, what are the labels for CTRL+SHIFT+TAB on an Eatalian keyboards?
[Discipulus]: yes but ireally do not understand anonymous's reply about cpan r command: found no bug with that number and points to mjd.. doh?!
[Discipulus]: Happy-the-monk CTRL is the same. SHIFT is a big fat arrow pointing up. TAB are two opposite arrows on each other pointing left/rigth
[choroba]: Discipulus Read the source of Acme::MJD

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-11-21 10:02 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (297 votes). Check out past polls.