libmove3d  3.13.0
Public Attributes
g3d_states Struct Reference

List of all members.

Public Attributes

float bg [3]
float size
GLdouble x
GLdouble y
GLdouble z
GLdouble el
GLdouble az
GLdouble zo
p3d_vector4 up
GLdouble sx
GLdouble sy
GLdouble sz
GLdouble sel
GLdouble saz
GLdouble szo
p3d_vector4 sup
int FILAIRE
int CONTOUR
int GHOST
int GOURAUD
int BB
int ACTIVE
int list
GLfloat frustum [6][4]
GLdouble fov
p3d_vector3 cameraPosition
g3d_projection_mode projection_mode
GLfloat lightPosition [4]
 position of the light source that creates the shadows
GLdouble floorColor [3]
 floor color
GLdouble wallColor [3]
 wall color
GLdouble floorPlane [4]
 floor plane equation
GLdouble wallPlanes [4][4]
 equations of the wall planes
GLdouble floorShadowMatrix [16]
 shadow projection matrix onto the floor
GLdouble wallShadowMatrix [4][16]
 shadow projection matrices onto the walls
g3d_transparency_mode transparency_mode
 choose which objects to display according to their transparency
unsigned int eventsEnabled
unsigned int cullingEnabled
unsigned int displayFrame
 flag to tell wether or not the frame at the focus point of the camera is drawn
unsigned int displayJoints
 flag to tell wether or not the current robot joints are drawn
unsigned int enableLight
 flag to tell wether or not OpenGL will use lighting:
unsigned int cameraBoundedLight
 this flag is used to bound the light position on the camera position:
unsigned int displayShadows
 flag to tell wether or not the planar shadows will be displayed:
unsigned int displayWalls
 flag to tell wether or not the walls will be displayed:
unsigned int displayFloor
 flag to tell wether or not the floor will be displayed:
unsigned int displayTiles
 flag to tell wether or not the floor tiles will be displayed:
unsigned int enableAntialiasing
 flag to tell wether or not antialiasing will be activated:
unsigned int enableShaders
 flag to tell wether or not shaders will be activated:
unsigned int allIsBlack
GLuint logoTexture
 used to display the logo texture (texture ID used by OpenGL):
unsigned int enableLogo
 flag to tell wether or not the LAAS logo will be displayed:
unsigned int displaySky
 flag to tell wether or not the sky will be displayed:

Member Data Documentation

unsigned int g3d_states::allIsBlack

this flag is used when planar shadows are enabled to indicate that all bodies must be drawn in black with no lighting:

position of the camera used to set the light position if cameraBoundedLight is true

flag to tell wether or not we enable the face culling test of OpenGL. It is much better to enable face culling but this requires that the faces of the 3D models are correctly oriented.

flag to tell if events (key press, mouse clicking) are autorized or not. This avoids modifying something by accident.

GLdouble g3d_states::fov

camera field of view angle (IN DEGREES)

g3d_projection_mode g3d_states::projection_mode

defines the kind of OpenGL projection to use


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines