home *** CD-ROM | disk | FTP | other *** search
- #define VL_LOGO 10000
- #define IDI_LOGO 100
- #define IDM_HELP_ABOUT 101
- #define IDM_HELP_LICENSE 109
- #define IDM_HELP_VISUALIB 102
- #define IDM_HELP_DEMOPROG 103
- #define IDM_DEMO_EXIT 104
- #define IDM_DEMO_SAVEPICTURE 105
- #define IDM_DEMO_PRINTPICTURE 106
- #define IDM_DEMO_START 107
- #define IDM_DEMO_WITHFRAME 108
-
- #define IDM_SHADE_WIREFRAME 201
- #define IDM_SHADE_SOLIDFILL 202
- #define IDM_SHADE_FLATSHADE 203
- #define IDM_SHADE_GOURAUD 204
- #define IDM_SHADE_PHONG 205
- #define IDM_SHADE_SPECULAR 206
-
- #define IDM_SELECT_L1 235
- #define IDM_SELECT_L2 236
- #define IDM_SELECT_L3 237
- #define IDM_SELECT_L4 238
- #define IDM_LIGHT_ON 239
- #define IDM_LIGHT_OFF 240
- #define IDM_LIGHT_INQUIRE 241
- #define IDM_LIGHT_COLOR 256
- #define IDM_LIGHT_AMBIENT 257
- #define IDM_GLOBAL_AMBIENT 258
- #define IDM_LIGHT_POSITION 259
- #define IDM_LIGHT_DIRECTION 260
-
- #define IDM_SELECT_M1 261
- #define IDM_SELECT_M2 262
- #define IDM_SELECT_M3 263
- #define IDM_SELECT_M4 264
- #define IDM_MATERIAL_DIFFUSE 265
- #define IDM_MATERIAL_AMBIENT 266
- #define IDM_MATERIAL_SPECULAR 267
- #define IDM_MATERIAL_EMISSION 268
- #define IDM_OPTION_BACKCOLOR 269
- #define IDM_OPTION_SHADEMODE 270
- #define IDM_OPTION_TEXTURE 271
- #define IDM_OPTION_REDRAW 272
- #define IDM_OPTION_PREVIEW 273
-
- #define IDM_2DPRIMIT_START 1100
- #define IDM_2DSHAPE_BOX 1101
- #define IDM_2DSHAPE_DISK 1102
- #define IDM_2DSHAPE_NGON 1103
- #define IDM_2DSHAPE_STAR 1104
- #define IDM_2DSHAPE_FLOWER 1105
- #define IDM_2DSHAPE_CHORD 1106
- #define IDM_2DSHAPE_PIE 1107
- #define IDM_2DSHAPE_RING 1108
- #define IDM_2DSHAPE_ROSE 1109
-
- #define IDM_2DCURVE_BEZIER 1110
- #define IDM_2DCURVE_HERMIT 1111
- #define IDM_2DCURVE_BSPLINE 1112
- #define IDM_2DCURVE_NURBSKNOTS 1113
- #define IDM_2DCURVE_NURBS 1114
- #define IDM_2DCURVE_CATMULLROM 1115
- #define IDM_2DCURVE_QBEZIER 1116
- #define IDM_2DCURVE_QBSPLINE 1117
- #define IDM_2DCURVE_QNURBS 1118
- #define IDM_2DPRIMIT_END 1119
-
- #define IDM_3DPRIMIT_START 1200
- #define IDM_3DSHAPE_BOX 1201
- #define IDM_3DSHAPE_DISK 1202
- #define IDM_3DSHAPE_NGON 1203
- #define IDM_3DSHAPE_STAR 1204
- #define IDM_3DSHAPE_FLOWER 1205
- #define IDM_3DSHAPE_CHORD 1206
- #define IDM_3DSHAPE_PIE 1207
- #define IDM_3DSHAPE_RING 1208
- #define IDM_3DSHAPE_ROSE 1209
-
- #define IDM_3DCURVE_CATMULLROM 1210
- #define IDM_3DCURVE_BEZIER 1211
- #define IDM_3DCURVE_HERMIT 1212
- #define IDM_3DCURVE_BSPLINE 1213
- #define IDM_3DCURVE_NURBS 1214
- #define IDM_3DCURVE_NURBSKNOTS 1218
- #define IDM_3DCURVE_QBEZIER 1215
- #define IDM_3DCURVE_QBSPLINE 1216
- #define IDM_3DCURVE_QNURBS 1217
- #define IDM_3DPRIMIT_END 1219
-
- #define IDM_2DPRIME_START 1320
- #define IDM_2DPRIME_LINE 1321
- #define IDM_2DPRIME_POLYLINE 1322
- #define IDM_2DPRIME_POINTER 1323
- #define IDM_2DPRIME_MARK 1324
- #define IDM_2DPRIME_LABEL 1325
- #define IDM_2DPRIME_ARROW 1326
- #define IDM_2DPRIME_NET 1327
- #define IDM_2DPRIME_SPIRAL 1328
- #define IDM_2DPRIME_END 1330
-
- #define IDM_3DPRIME_START 1330
- #define IDM_3DPRIME_LINE 1331
- #define IDM_3DPRIME_POLYLINE 1332
- #define IDM_3DPRIME_POINTER 1333
- #define IDM_3DPRIME_MARK 1334
- #define IDM_3DPRIME_LABEL 1335
- #define IDM_3DPRIME_ARROW 1336
- #define IDM_3DPRIME_NET 1337
- #define IDM_3DPRIME_SPRING 1338
- #define IDM_3DPRIME_SPIRAL 1339
- #define IDM_3DPRIME_END 1340
-
- #define IDM_2DSHAPE_CYCLOID 321
- #define IDM_2DSHAPE_EPICYCLOID 322
- #define IDM_2DSHAPE_CARDIOID 323
- #define IDM_2DSHAPE_HYPOCYCLOID 324
- #define IDM_2DSHAPE_CATMULLROM 326
-
- #define IDM_SOLID_START 350
- #define IDM_SOLID_TORUS 351
- #define IDM_SOLID_SPHERE 352
- #define IDM_SOLID_CYLINDER 353
- #define IDM_SOLID_CONE 354
- #define IDM_SOLID_BOX 355
- #define IDM_SOLID_TETRAHEDRON 356
- #define IDM_SOLID_OCTAHEDRON 357
- #define IDM_SOLID_DODECAHEDRON 358
- #define IDM_SOLID_ICOSAHEDRON 359
- #define IDM_SOLID_FRUSTUM 360
- #define IDM_SOLID_RIDGE 361
- #define IDM_SOLID_STAR 362
- #define IDM_SOLID_FLOWER 363
- #define IDM_SOLID_ELLIPSOID 364
- #define IDM_SOLID_TUBE 365
- #define IDM_SOLID_END 367
-
- #define IDM_SURFACE_START 370
- #define IDM_SURFACE_NURBS 370
- #define IDM_SURFACE_BEZIER 371
- #define IDM_SURFACE_BSPLINE 372
- #define IDM_SURFACE_HERMIT 373
- #define IDM_SURFACE_COONSPATCH 374
- #define IDM_SURFACE_END 375
-
- #define IDM_TEXT_START 400
- #define IDM_TEXT_SELECTFONT 401
- #define IDM_TEXT_SOLID 402
- #define IDM_TEXT_3D 403
- #define IDM_TEXT_2D 404
- #define IDM_TEXT_3DV 405
- #define IDM_TEXT_2DV 406
- #define IDM_TEXT_SOLIDV 407
- #define IDM_TEXT_END 408
-
- #define IDM_TEST_4BALLS 901
- #define IDM_TEST_ZBUFFER_PHONG 902
- #define IDM_TEST_IMAGE_MAPPING 903
-
- #define IDM_2DTRANSF_BEGIN 910
- #define IDM_2DTRANSF_TRANSLATE 911
- #define IDM_2DTRANSF_SCALE 912
- #define IDM_2DTRANSF_POINTSCALE 913
- #define IDM_2DTRANSF_ROTATE 914
- #define IDM_2DTRANSF_POINTROTATE 915
- #define IDM_2DTRANSF_STRETCH 916
- #define IDM_2DTRANSF_SHEAR 917
- #define IDM_2DTRANSF_MIRROR 918
- #define IDM_2DTRANSF_END 919
-
- #define IDM_3DTRANSF_BEGIN 920
- #define IDM_3DTRANSF_TRANSLATE 921
- #define IDM_3DTRANSF_SCALE 922
- #define IDM_3DTRANSF_POINTSCALE 923
- #define IDM_3DTRANSF_ROTATE 924
- #define IDM_3DTRANSF_AXLEROTATE 925
- #define IDM_3DTRANSF_STRETCH 926
- #define IDM_3DTRANSF_SHEAR 927
- #define IDM_3DTRANSF_MIRROR 928
- #define IDM_3DTRANSF_END 930
-
- #define IDM_3DARRAY_BEGIN 1300
- #define IDM_3DARRAY_RECTANGLE 1301
- #define IDM_3DARRAY_CUBIC 1303
- #define IDM_3DARRAY_POLAR 1304
- #define IDM_3DARRAY_CYLINDRIC 1305
- #define IDM_3DARRAY_SPHERIC 1306
- #define IDM_3DARRAY_END 1309
-
- #define IDM_2DARRAY_BEGIN 1310
- #define IDM_2DARRAY_RECTANGLE 1311
- #define IDM_2DARRAY_POLAR 1312
- #define IDM_2DARRAY_END 1319
-
- #define IDM_ANIMATE_START 1400
- #define IDM_ANIMATE_OBJECT2D 1401
- #define IDM_ANIMATE_VIEWER3D 1402
- #define IDM_ANIMATE_STAR3D 1403
- #define IDM_ANIMATE_SURFACE 1404
- #define IDM_ANIMATE_ICOSAHEDRON 1405
- #define IDM_ANIMATE_DODECAHEDRON 1406
- #define IDM_ANIMATE_OBJECT3D 1407
- #define IDM_ANIMATE_ZOOM3D 1408
- #define IDM_ANIMATE_FRAME 1409
- #define IDM_ANIMATE_END 1410
-
- //#define IDM_DEMO_START 1000
- #define IDM_DEMO_IMAGEMAPPING 1000
- #define IDM_DEMO_BUMPYDONUT 1001
- #define IDM_DEMO_DEPTHCLIPPING 1002
- #define IDM_DEMO_MARBLERING 1003
- #define IDM_DEMO_WOODSURFACE 1004
- #define IDM_DEMO_GRANITECUBE 1005
- #define IDM_DEMO_MATERIALPROPERTY 1006
- #define IDM_DEMO_3DCOMPOSITE 1007
- #define IDM_DEMO_STEREOTEXT 1008
- #define IDM_DEMO_2DCOMPOSITE 1009
- #define IDM_DEMO_PRINTFLAG 1010
- #define IDM_DEMO_PRINTSHADING 1011
- #define IDM_DEMO_SPOTLIGHT 1012
- #define IDM_DEMO_NURBSCURVE 1013
- #define IDM_DEMO_POLYFACET 1014
- #define IDM_DEMO_END 1015
-
- #define XCOORD 101
- #define YCOORD 102
- #define ZCOORD 103
-
- #define LIGHTLOCX 201
- #define LIGHTLOCY 202
- #define LIGHTLOCZ 203
-
- #define LIGHTDIRX 211
- #define LIGHTDIRY 212
- #define LIGHTDIRZ 213
-
- #define LIGHTON 220
-
- #define LIGHTCOLOR 250
-
- #define TEXTURENONE 311
- #define TEXTUREMARBLE 312
- #define TEXTUREWOOD 313
- #define TEXTUREGRANITE 314
- #define MATDIFFUSE 321
- #define MATAMBIENT 322
- #define MATSPECULAR 323
- #define MATEMISSION 324
- #define WIREFRAME 411
- #define SOLIDFILL 412
- #define FLATSHADING 413
- #define GOURAUD 414
- #define PHONG 415
- #define SPECULAR 416
- #define DEPTHBUFFER 421
- #define LOCALVIEWER 422
- #define TWOSIDE 423
- #define BACKFACEREM 424
-
- #define IDC_CHECK1 11000
- #define IDC_CHECK2 11001
- #define IDC_CHECK3 11002
- #define IDC_CHECK4 11003
- #define IDC_STATIC -1
-
- #define ID_ABOUT 100
- #define DLGSETPOINT2D 1
- #define DLGSETPOINT3D 2
- #define DLGLIGHTSETUP 3
- #define DLGMATERIAL 4
- #define DLGSHADING 5
- #define DLGTEXTURE 6
-
- int PASCAL WinMain (HINSTANCE, HINSTANCE, LPSTR, int);
- BOOL InitApplication (HINSTANCE);
- BOOL InitInstance (HINSTANCE, int);
- long FAR PASCAL MainWndProc (HWND, UINT, WPARAM, LPARAM);
- BOOL FAR PASCAL About (HWND, WORD, WORD, LONG);
-