Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by orange (Beadle)
on Sep 10, 2010 at 19:14 UTC ( #859682=note: print w/replies, xml ) Need Help??


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

hello
you need the six images to texture the six sides of the cube: just download the rared file contains perl file with the six images from the link in my first post.
also do not forget to install opengl and opengl image as described in the post.
  • Comment on Re^2: multiple textures on a cube (opengl example)

Replies are listed 'Best First'.
Re^3: multiple textures on a cube (opengl example)
by Anonymous Monk on Mar 21, 2011 at 19:41 UTC
    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?

      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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://859682]
help
Chatterbox?
[choroba]: airport needs a lot of space
[choroba]: it's usually easier to find space outside a city

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-02-23 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (346 votes). Check out past polls.