Re: pfImageTile::setFileTile()

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 01/23/2001 16:11:07


Patrick J Melody wrote:
>
> What exactly does pfImageTile::setFileTile() do, and how does it differ
> from pfImageTile::setOrigin().

The origin is the tile origins texel coordinate within the larger
texture, the filetile is the number of the tile typically used for
naming the file.

For example, a 2kx2k image with 512x512 tiles might have an origin of
1025,512, that could correspond to a filetile of 2,1, i.e. 2 tiles in
and 1 tile up relative to the 0,0 tile.

Cheers,ANgus.

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 16:12:05 PST

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