Re: Texture types question

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Thu, 20 Feb 1997 00:25:50 +0000


On Feb 19, 9:23am, Russell Suter wrote:
> Subject: Texture types question

> What's the difference between .rgb and .int texture files? Is one better
> than the other for some reason?
>

The .rgb suffix is an acronym for red, green, blue, and the .int suffix
means intensity. So an .rgb file would contain a colour image and an .int
file contains a monochrome image. Typically where these images are used for
texturing an rgb image modifies the individual red, green and blue component
brightneses across a polygon producing a colour effect. The int image
modifies the intensity of all components with the same value and so can
only be used to change the brightness of a surface.

More complex uses for these textures exist but are not commonly used.

Both rgb and int images may also contain alpha information in which case
you'll see the .rgba and .inta suffixes, this alpha information is most
commonly used to change transparency across the surface of a polygon.

You may also see a .bw suffix, this stands for black&white and is just
another suffix used for intensity images. You'll often hear these
files and texture formats called one, two, three, or four component
images, this is just another name for .int, .inta, .rgb and .rgba files
respectively and refers to the component information held per pixel in
the image, eg an .rgba image has four components for red, green,
blue and alpha information.

Cheers,
Angus.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:40 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.