![]() |
Oolite 1.91.0.7668-250429-8542c40
|
Instance Methods | |
(void) | - setUpStarsWithColor1:color2: |
(void) | - setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale: |
(void) | - loadStarTextures |
(void) | - loadNebulaTextures |
(void) | - addQuads:count: |
(void) | - ensureTexturesLoaded |
(void) | - resetGraphicsState [implementation] |
Definition at line 110 of file OOSkyDrawable.m.
- (void) addQuads: | (OOSkyQuadDesc *) | quads | |
count: | (unsigned) | count |
Extends class OOSkyDrawable.
Definition at line 444 of file OOSkyDrawable.m.
References OOSkyQuadSet::addQuads:count:toArray:, and nil.
- (void) ensureTexturesLoaded |
Extends class OOSkyDrawable.
Definition at line 492 of file OOSkyDrawable.m.
References OOProbabilisticTextureManager::ensureTexturesLoaded, and ensureTexturesLoaded.
Referenced by ensureTexturesLoaded.
- (void) loadNebulaTextures |
Extends class OOSkyDrawable.
Definition at line 472 of file OOSkyDrawable.m.
References loadNebulaTextures, nil, OOProbabilisticTextureManager::setSeed:, and sNebulaTextures.
Referenced by loadNebulaTextures.
- (void) loadStarTextures |
Extends class OOSkyDrawable.
Definition at line 452 of file OOSkyDrawable.m.
References loadStarTextures, nil, OOProbabilisticTextureManager::setSeed:, and sStarTextures.
Referenced by loadStarTextures.
|
implementation |
Extends class OOSkyDrawable.
Definition at line 499 of file OOSkyDrawable.m.
References OO_ENTER_OPENGL, and resetGraphicsState.
Referenced by resetGraphicsState.
- (void) setUpNebulaeWithColor1: | (OOColor *) | color1 | |
color2: | (OOColor *) | color2 | |
clusterFactor: | (float) | nebulaClusterFactor | |
nebulaHueFix: | (BOOL) | nebulaHueFix | |
alpha: | (float) | nebulaAlpha | |
scale: | (float) | nebulaScale |
Extends class OOSkyDrawable.
Definition at line 351 of file OOSkyDrawable.m.
References OOSkyDrawable::addQuads:count:, basis_vectors_from_quaternion(), BILLBOARD_DEPTH, OOColor::colorWithBrightnessFactor:, OOSkyDrawable::loadNebulaTextures, M_PI, NEBULA_SHUFFLE_FACTOR, quaternion_rotate_about_axis(), randf(), ranrot_rand, SaturatedColorInRange(), OOProbabilisticTextureManager::selectTexture, SKY_ELEMENT_SCALE_FACTOR, vector_right_from_quaternion(), and vector_up_from_quaternion().
Extends class OOSkyDrawable.
Definition at line 299 of file OOSkyDrawable.m.
References OOSkyDrawable::addQuads:count:, basis_vectors_from_quaternion(), BILLBOARD_DEPTH, OOColor::blendedColorWithFraction:ofColor:, OOSkyDrawable::loadStarTextures, ranrot_rand, OOProbabilisticTextureManager::selectTexture, and SKY_ELEMENT_SCALE_FACTOR.