summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdefaults.h
blob: 894433b3742dba48fa1fe222586d15e4c4f2db1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
**************************************************************************
                                 description
                             --------------------
    copyright            : (C) 2001 by Andreas Zehender
    email                : [email protected]
**************************************************************************

**************************************************************************
*                                                                        *
*  This program is free software; you can redistribute it and/or modify  *
*  it under the terms of the GNU General Public License as published by  *
*  the Free Software Foundation; either version 2 of the License, or     *
*  (at your option) any later version.                                   *
*                                                                        *
**************************************************************************/

#ifndef PMDEFAULTS_H
#define PMDEFAULTS_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <tqcolor.h>
#include <math.h>

// PMRenderManager
const TQColor c_defaultGraphicalObjectColor0 = TQColor( 148, 148, 148 );
const TQColor c_defaultGraphicalObjectColor1 = TQColor( 255, 255, 128 );
const TQColor c_defaultTextureColor0 = TQColor( 64, 192, 64 );
const TQColor c_defaultTextureColor1 = TQColor( 192, 255, 128 );
const TQColor c_defaultAxesColorX = TQColor( 255, 0, 0 );
const TQColor c_defaultAxesColorY = TQColor( 0, 255, 0 );
const TQColor c_defaultAxesColorZ = TQColor( 0, 0, 255 );
const TQColor c_defaultControlPointColor0 = TQColor( 255, 255, 148 );
const TQColor c_defaultControlPointColor1 = TQColor( 92, 255, 92 );
const TQColor c_defaultBackgroundColor = TQColor( 0, 0, 0 );
const TQColor c_defaultFieldOfViewColor = TQColor( 128, 128, 255 );
const bool c_defaultHighDetailCameraView = true;

// PMGLView
const int c_defaultGridDistance = 50;
const TQColor c_defaultGridColor = TQColor( 40, 120, 40 );

// PovrayRenderWidget
const TQString c_defaultPovrayCommand = TQString( "povray" );

// PMDetailObject
const int c_defaultDetailObjectGlobalDetailLevel = 1;

// PMSphere
const int c_defaultSphereUSteps = 8;
const int c_defaultSphereVSteps = 16;

// PMBlobSphere
const int c_defaultBlobSphereUSteps = 8;
const int c_defaultBlobSphereVSteps = 16;

// PMBlobCylinder
const int c_defaultBlobCylinderUSteps = 4;
const int c_defaultBlobCylinderVSteps = 16;

// PMCylinder
const int c_defaultCylinderSteps = 16;

// PMCone
const int c_defaultConeSteps = 16;

// PMTorus
const int c_defaultTorusVSteps = 16;
const int c_defaultTorusUSteps = 9;

// PMPlane
const double c_defaultPlaneSize = 2.0;

// PMDisc
const int c_defaultDiscSteps = 16;

// PMText
const int c_defaultTextSteps = 3;

// PMLathe
const int c_defaultLatheRSteps = 16;
const int c_defaultLatheSSteps = 4;

// PMPrism
const int c_defaultPrismSSteps = 4;

// PMSurfaceOfRevolution
const int c_defaultSurfaceOfRevolutionRSteps = 16;
const int c_defaultSurfaceOfRevolutionSSteps = 4;

// PMSuperquadricEllipsoid
const int c_defaultSuperquadricEllipsoidUSteps = 3;
const int c_defaultSuperquadricEllipsoidVSteps = 3;

// PMSphereSweep
const int c_defaultSphereSweepRSteps = 8;
const int c_defaultSphereSweepSSteps = 4;

// PMHeightField
const int c_defaultHeightFieldVariance = 16;

// PMDialogEditBase, texture preview
const int c_defaultTPSize = 160;
const bool c_defaultTPShowSphere = true;
const bool c_defaultTPShowCylinder = false;
const bool c_defaultTPShowBox = true;
const bool c_defaultTPAA = false;
const int c_defaultTPAADepth = 2;
const double c_defaultTPAAThreshold = 0.3;
const bool c_defaultTPShowFloor = true;
const bool c_defaultTPShowWall = true;
const TQColor c_defaultTPWallColor1 = TQColor( 255, 255, 255 );
const TQColor c_defaultTPWallColor2 = TQColor( 0, 0, 0 );
const TQColor c_defaultTPFloorColor1 = TQColor( 192, 0, 0 );
const TQColor c_defaultTPFloorColor2 = TQColor( 255, 255, 255 );
const double c_defaultTPGamma = 1.5;

// PM3DControlPoint
const double c_defaultMoveGrid = 0.1;
const double c_defaultScaleGrid = 0.1;
const double c_defaultRotateGrid = 1.0;

// PMShell
const bool c_defaultTreeViewTabbed = false;
const bool c_defaultTreeViewRight = false;
const bool c_defaultTreeViewBelow = false;

#endif