Click here to Skip to main content
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
 

Achieving PostScript and Wmf outputs for OpenGL

By , 9 Jun 2003
 
gl_export.zip
Bin
geosphere.wrl
knot1.wrl
knot2.wrl
mannequin.wrl
Mesh.exe
metafile.emf
mnt.wrl
nefertiti.wrl
venus.wrl
Src
Lib3D
Mesh.aps
Mesh.clw
Mesh.dsp
Mesh.dsw
Mesh.ncb
Mesh.opt
Mesh.plg
res
Mesh.ico
MeshDoc.ico
Toolbar.bmp
samples_eps.zip
nefertiti_flat.eps
nefertiti_line.eps
nefertiti_line_color.eps
nefertiti_line_light.eps
nefertiti_line_smooth_light.eps
nefertiti_smooth_light.eps
nefertiti_vertex_color.eps
sample_ppt.zip
sample.ppt
//********************************************
// Base3d.h
// 3d Toolbox Includes 
//********************************************
// alliez@usc.edu
// Created : 15/12/97
// Modified : 27/04/98
//********************************************

#ifndef _BASE_3D_
#define _BASE_3D_

// 3d library
#include "Object3d.h"
#include "Vertex3d.h"
#include "Vector3d.h"
#include "Edge3d.h"
#include "Face3d.h"
#include "Mesh3d.h"
#include "SceneGraph3d.h"
#include "Utils3d.h"
#include "Transform.h"

// Standard
#include "Array3d.h"

// VRML Parser
#include "ParserVrml.h"

// Apparence attributes
#include "Color.h"
#include "ColorRamp.h"
#include "Material.h"
#include "Texture.h"


// Object types
enum {TYPE_OBJECT3D,
			TYPE_VERTEX3D,
			TYPE_VECTOR3D,
			TYPE_FACE3D,
			TYPE_POLYGON3D,
			TYPE_MESH3D,
			TYPE_EDGE3D,
			TYPE_VECTORSET3D};

// Normal binding
enum {NORMAL_PER_VERTEX,
			NORMAL_PER_FACE};

enum {COLOR_PER_VERTEX,
			COLOR_PER_FACE};

enum  {POTENTIAL_EDGE_LENGTH,
			 POTENTIAL_CURVE,
       POTENTIAL_CURVE_AND_EDGE_LENGTH};

// Misc
const float MAX_FLOAT = 3.4e+38f; 
const double MAX_DOUBLE = 1.7e+308; 
const double PI =  3.14159265359;

#endif // _BASE_3D_


// ** EOF **

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Pierre Alliez
France France
Member
No Biography provided

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 10 Jun 2003
Article Copyright 2001 by Pierre Alliez
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid