sphere_s Struct Reference

#include <r_sphere.h>

Collaboration diagram for sphere_s:
Collaboration graph
[legend]

Data Fields

GLint list
float * texes
float * verts
float * normals
image_ttexture
image_tblendTexture
image_toverlay
image_toverlayAlphaMask
image_tnormalMap
int num_tris
r_program_tglslProgram
float blendScale
float glowScale
vec4_t nightLightPos
int season

Detailed Description

Definition at line 25 of file r_sphere.h.


Field Documentation

Definition at line 39 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().

the texture for the next season (for blending)

Definition at line 31 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().

Definition at line 40 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().

Note:
extra stuff for new GLSL renderer

Definition at line 38 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), R_SphereCheckGLSL(), R_SphereGenerate(), and R_SphereShadeGLSL().

the opengl list id

Definition at line 26 of file r_sphere.h.

Definition at line 41 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().

bump map

Definition at line 34 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().

vertex normal array

Definition at line 29 of file r_sphere.h.

Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().

number of tris

Definition at line 35 of file r_sphere.h.

Referenced by R_SphereGenerate(), R_SphereRender(), and R_SphereRenderTris().

the overlay for the world (e.g. nation borders)

Definition at line 32 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), R_SphereRender(), and R_SphereShade().

in case of multitexture this is the alpha mask

Definition at line 33 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), and R_SphereShade().

Definition at line 42 of file r_sphere.h.

Referenced by R_Draw3DGlobe().

globe tex coords, points in 2D on the texture to be mapped onto the sphere

Definition at line 27 of file r_sphere.h.

Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().

the texture for this globe -

Note:
scaled texture matrix

Definition at line 30 of file r_sphere.h.

Referenced by R_Draw3DGlobe(), R_SphereShade(), and R_SphereShadeGLSL().

globe vertices, points in 3D on the surface of the sphere

Definition at line 28 of file r_sphere.h.

Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().


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

Generated by  doxygen 1.6.2