hi
am trying to add textures to my figures. in a sample pgm i found, quadrics r being used and the texture image is being directly loaded. in another pgm in which quadrics r not being used, an entire function has been written 2 convert the texture into some other format.
is it necessary to write such functions, what is the difference in case of .png images?
i use Red Hat Linux 9.0 and Qt 3.1.1 . i draw a cubical structure, but i need to apply texture only to the top and bottom surfaces.
another pblm:
the sample pgm i mentioned, will run with texture only if i give the “./exename” command in the console. if i double click the executable file icon in the folder, the pgm runs without the texture. - the sample pgm “texture” supplied along with the Qt examples.
could someone plz explain the reason for this?
rgds