PDA

View Full Version : A problem with rgb images



iris_raj
10-14-2003, 12:04 AM
I converted some of my textures in jpeg to rgb. When I am texture mapping these rgb images,it is not loading.I am using SGI's read_texture function for loading texture in my opengl codes.All other rgb files which are already are loading.Problem is with JPEG/GIF converted RGB images.

Rajesh

ioquan
10-14-2003, 03:27 PM
What program are you using to convert the jpg's to RGB? My guess is that you are not actually converting them to raw RGB format, but instead some compressed tga or bmp format. Check the options in the program you use to convert the images, and turn off compression.

iris_raj
10-14-2003, 08:16 PM
I am using Imageworks in SGI IRIX for converting *.jpg to *.rgb.
This rgb format is specific to SGI

Thanks

Rajesh