WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
TextureGroup Class Reference

#import <TextureGroup.h>

List of all members.

Public Member Functions

(id) - initWithInfo:
(NSString *) - generateFileNameX:y:
 Generate the name of the given instance (without the extension)
(void) - calcTexMappingOrg:dest:

Properties

NSString * baseName
 Base name (e.g. "worldTexture")
NSString * ext
 Extension (e.g. "png")
unsigned int numX
 Number of chunks in the X dimension (longitude)
unsigned int numY
 Number of chunks in the Y dimension (latitude)
unsigned int pixelsSquare
 Number of pixels on each side.
unsigned int borderPixels
 Number of pixels on each side devoted to border.

Detailed Description

The Texture Group is used to represent a lage image that's been broken into several pieces to aid in loading and get around the 1k x 1k (or 2k x 2k) limit in OpenGL. File name: <base>_XxY.<ext>


Member Function Documentation

- (void) calcTexMappingOrg: (WhirlyGlobe::TexCoord *)  org
dest: (WhirlyGlobe::TexCoord *)  dest 

Calculate the mapping that represents "full" coverage This takes border pixels into account

- (id) initWithInfo: (NSString *)  infoName

Need to initialize with the the info plist file. This will point us to everything else


The documentation for this class was generated from the following file: