Overture  Version 25
Classes | Macros | Typedefs | Functions | Variables
render.C File Reference
#include "GL_GraphicsInterface.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for render.C:

Classes

struct  _Feedback3Dcolor
 
struct  _DepthIndex
 

Macros

#define depthr(i, j)   depthBuffer[i+width*(height-j-1)]
 
#define depth(i, j)   depthBuffer[i+width*j]
 
#define EPS_GOURAUD_THRESHOLD   0.1 /* Lower for better (slower) smooth shading. */
 

Typedefs

typedef struct _Feedback3Dcolor Feedback3Dcolor
 
typedef struct _DepthIndex DepthIndex
 

Functions

void print3DcolorVertex (GLint size, GLint *count, GLfloat *buffer)
 
void printBuffer (GLint size, GLfloat *buffer)
 
GLfloat * spewPrimitiveEPS (FILE *file, GLfloat *loc, const int &plotPolygons=TRUE)
 
void spewUnsortedFeedback (FILE *file, GLint size, GLfloat *buffer)
 
void spewSortedFeedback (FILE *file, GLint size, GLfloat *buffer)
 
void spewWireFrameEPS (FILE *file, int doSort, GLint size, GLfloat *buffer, char *creator)
 
void display (void)
 
void init (void)
 

Variables

GLfloat pointSize
 

Macro Definition Documentation

#define depth (   i,
 
)    depthBuffer[i+width*j]
#define depthr (   i,
 
)    depthBuffer[i+width*(height-j-1)]
#define EPS_GOURAUD_THRESHOLD   0.1 /* Lower for better (slower) smooth shading. */

Referenced by spewWireFrameEPS().

Typedef Documentation

typedef struct _DepthIndex DepthIndex

Function Documentation

void display ( void  )
void init ( void  )
void print3DcolorVertex ( GLint  size,
GLint *  count,
GLfloat *  buffer 
)

Referenced by printBuffer().

void printBuffer ( GLint  size,
GLfloat *  buffer 
)
GLfloat* spewPrimitiveEPS ( FILE *  file,
GLfloat *  loc,
const int &  plotPolygons = TRUE 
)
void spewSortedFeedback ( FILE *  file,
GLint  size,
GLfloat *  buffer 
)
void spewUnsortedFeedback ( FILE *  file,
GLint  size,
GLfloat *  buffer 
)

References spewPrimitiveEPS().

Referenced by spewWireFrameEPS().

void spewWireFrameEPS ( FILE *  file,
int  doSort,
GLint  size,
GLfloat *  buffer,
char *  creator 
)

Variable Documentation

GLfloat pointSize