Go to the source code of this file.
Defines | |
#define | PI 3.1415926 |
#define | HE 2147483647L |
#define | _X__FAR |
#define | E_TOOMANYVERTICES 1 |
#define | G_FILEOPENFAIL 2 |
#define | UNIT 32768L |
#define | UNIT2 65536L |
#define | MINUNIT 1024L |
#define | MAXUNIT 4194304L |
#define | UNITSCA (MAXUNIT/16) |
#define | NO 0 |
#define | YES 1 |
#define | OK 0 |
#define | FAIL 1 |
#define | SELECTED 1 |
#define | DESELECTED 0 |
#define | PLANE 0 |
Typedefs | |
typedef double | vector [3] |
typedef long | point [3] |
typedef long | twoLongs [2] |
typedef struct VERTEX | vertex |
typedef struct EDGE | edge |
typedef struct FACE | face |
typedef struct WIREFRAME | wireframe |
typedef struct SKELETON | skel |
Functions | |
BOOL CALLBACK | DlgProc (HWND, UINT, WPARAM, LPARAM) |
BOOL CALLBACK | DlgProcScale (HWND, UINT, WPARAM, LPARAM) |
void | CreateEdge (vertex *v1, vertex *v2, short check) |
void | CreateFace (vertex *v1, vertex *v2, vertex *v3, short check) |
void | CreateVertex (void) |
void | WriteTextures (void) |
void | WriteVertices (short) |
void | WriteEdges (short) |
void | WriteFaces (short) |
void | WriteSkeleton (void) |
void | CreateSkeleton (skel *at) |
void | check_error (void) |
void | outsht (short sht) |
void | outlng (long lng) |
short | SaveObject (char *Filename, short status) |
BOOL | DoDxfConvert (char *infile, char *outfile, double wt, short h_type, short l_freeze, short b_freeze, short no_weld, short d2, short d3, short cs) |
Variables | |
int(* | X__pri )(const char *,...) |
HWND | hWndParent |
HINSTANCE | hInstance |
HWND | dlg |
HWND | hwndProgress |
short | quiet = 0 |
axis | ObjectAxis |
vertex * | MainVp = NULL |
edge * | MainEp = NULL |
face * | MainFp = NULL |
long | Nvert = 0 |
long | NvertSelect = 0 |
long | NvertDeselect = 0 |
long | Nface = 0 |
long | Nedge = 0 |
long | TVpointX = (-UNIT) |
long | TVpointY = (-UNIT) |
long | TVpointZ = (-UNIT) |
long | TVsizeX = UNIT2 |
long | TVsizeY = UNIT2 |
long | TVsizeZ = UNIT2 |
short | ShadowFlag = NO |
point | TextureP [64] |
point | TextureX [64] |
point | TextureY [64] |
long | TextureType [64] |
long | TextureAnimFF [64] |
long | TextureAnimDL [64] |
long | TextureAnimLF [64] |
long | TextureMap [64] |
long | TextureAngle [64] |
char * | TextureList [64] |
long | Brilliance = 0 |
long | Reflectivity = 0 |
long | Transparency = 0 |
long | EDIT_ACTION |
long | NoTextures = 0 |
long | Nskel = 0 |
long | DefaultBrilliance |
long | DefaultTransparency |
long | DefaultReflectivity |
long | ruler = 1 |
long | lrulerx = 0 |
long | lrulery = 0 |
long | lrulerz = 0 |
long | grid_size = UNIT |
long | rulerx = 0 |
long | rulery = 0 |
long | rulerz = 0 |
long | N_Bcurves = 0 |
skel * | MainSp = NULL |
skel * | FirstSp = NULL |
skel * | TextureSk [64] |
typedef struct VERTEX vertex |
typedef struct EDGE edge |
typedef struct FACE face |
typedef struct WIREFRAME wireframe |
typedef struct SKELETON skel |
BOOL CALLBACK DlgProcScale | ( | HWND | , | |
UINT | , | |||
WPARAM | , | |||
LPARAM | ||||
) |
Definition at line 69 of file 3DSCON.C.
References CentreDlgOnS, DLG_SCALE_CEN, DLG_SCALE_SCALE, DLG_SCALE_XCEN, DLG_SCALE_YCEN, DLG_SCALE_ZCEN, FALSE, and TRUE.
Referenced by rescale_model().
void WriteTextures | ( | void | ) |
void WriteVertices | ( | short | status | ) |
void WriteEdges | ( | short | short_form | ) |
void WriteFaces | ( | short | short_form | ) |
void WriteSkeleton | ( | void | ) |
Definition at line 453 of file 3DSSAVE.C.
References Animator_SKELETON::bx, FirstSp, Animator_SKELETON::id, MainVp, Animator_SKELETON::name, Nskel, Nvert, outlng(), outsht(), Animator_SKELETON::u, Animator_SKELETON::v, and Animator_SKELETON::w.
void check_error | ( | void | ) |
void outsht | ( | short | sht | ) |
void outlng | ( | long | lng | ) |
BOOL DoDxfConvert | ( | char * | infile, | |
char * | outfile, | |||
double | wt, | |||
short | h_type, | |||
short | l_freeze, | |||
short | b_freeze, | |||
short | no_weld, | |||
short | d2, | |||
short | d3, | |||
short | cs | |||
) |
int(* X__pri)(const char *,...) |
Referenced by _Convert(), check_error(), and DoDxfConvert().
HWND hWndParent |
Definition at line 33 of file 3DSCON.C.
Referenced by _Convert(), Do3dsConvert(), and rescale_model().
HINSTANCE hInstance |
Definition at line 35 of file 3DSCON.C.
Referenced by _Convert(), DllMain(), Do3dsConvert(), rescale_model(), and ResourceX().
HWND dlg |
HWND hwndProgress |
short quiet = 0 |
long NvertSelect = 0 |
long NvertDeselect = 0 |
short ShadowFlag = NO |
long TextureType[64] |
long TextureAnimFF[64] |
long TextureAnimDL[64] |
long TextureAnimLF[64] |
long TextureMap[64] |
long TextureAngle[64] |
char* TextureList[64] |
long Brilliance = 0 |
long Reflectivity = 0 |
long Transparency = 0 |
long EDIT_ACTION |
Definition at line 137 of file DXFCON1.C.
Referenced by ActionRotate(), AddSinglePrimitive(), AnglerOn(), AnimatorStartup(), AppendPathPoint(), AutoFacetCurveWithHoles(), BuildATMfontString(), BuildTTFfontString(), ClearWireFrame(), CreateAlign(), CreateCostume(), CreateDirector(), CreateImageMap(), CreateImageProcess(), CreateIPointPath(), CreateNode(), CreatePathPoint(), CreatePosition(), CreateSize(), CreateSky(), DeleteAlign(), DeleteCostume(), DeleteDirector(), DeleteImageMap(), DeleteImageProcess(), DeleteMaterial(), DeleteNode(), DeletePathPoint(), DeletePosition(), DeleteRangeOfFrames(), DeleteSize(), DeleteSky(), DesignStartup(), DuplicateSelectedNurbs(), EditCameraSize(), EditDirectorDialog(), EditGroundDialog(), EditLightDialog(), EditPathMovement(), EditPathOn(), EditSelectedNurbsSurface(), EditSkyDialog(), EraseAll(), ExecuteBezierModeler(), ExecuteExternalAction(), ExecuteExternalModeler(), ExecuteSelect(), InsertFrames(), JoinTwoCurves(), LoadAnimationFile(), LoadAnimObject(), LoadHeightField(), LoadInternalAction(), LoadObject(), MakeAutoWireFrame(), MakeNewNurbsSurface(), MakeWireFrame(), MapFacesByImageMap(), MapOntoPath(), MapVerticesByImageMap(), PaintMapOutline(), PositionBrushOnOff(), PositionMaterialOnOff(), RequestEditLightSize(), RequestEditSize(), RequestMirrorID(), Save_Undo(), SaveObject(), ScrapEverything(), SelectConnected(), SelectVertex(), SetMapCoords(), SetNumberOfFrames(), ShiftAllKeys(), ShifterOn(), ShiftSelectedPositionAllKeys(), SkeletorOn(), SplitNurbs(), StageGrabOn(), StageRotateOn(), StageSizeOn(), TraceImageOutline(), UnMakeWireFrame(), and UpdateRuler().
long NoTextures = 0 |
long DefaultBrilliance |
long DefaultTransparency |
long DefaultReflectivity |
long ruler = 1 |
Definition at line 138 of file DXFCON1.C.
Referenced by _Export(), _RenderImageProcess(), AddEffect(), BuildAccurateCurveDlgProc(), BuildPrimitive(), CoordinatesDlgProc(), Create3DSfile(), CreateImageProcess(), CreateVRMLfile(), EditActorEffect(), EditImageProcess(), EditObjectImageProcess(), ExportRobotKeyframes(), Extrude(), GrowSelectedAlongNormal(), InstantStageGrab(), LoadAnimationFile(), LoadObject(), MakeScript(), MoveDlgProc(), Replace_Faces(), SaveAnimationFile(), SaveObject(), SaveObjects(), SetupStructures(), ShiftSelectedPositionAllKeys(), SnapCursorTo(), UpdatePrimitiveStructure(), and UpdateRuler().
long lrulerx = 0 |
Definition at line 138 of file DXFCON1.C.
Referenced by _Export(), BuildPrimitive(), CoordinatesDlgProc(), Create3DSfile(), CreateVRMLfile(), DrawGrid(), DrawGridInOne(), Explode(), Extrude(), InstantStageGrab(), LoadAnimationFile(), LoadObject(), Move3dCursor(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), ShiftSelectedPositionAllKeys(), SnapCursorTo(), UpdatePrimitiveStructure(), and UpdateRuler().
long lrulery = 0 |
Definition at line 138 of file DXFCON1.C.
Referenced by _Export(), BuildPrimitive(), CoordinatesDlgProc(), Create3DSfile(), CreateVRMLfile(), DrawGrid(), DrawGridInOne(), Explode(), Extrude(), InstantStageGrab(), LoadAnimationFile(), LoadObject(), Move3dCursor(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), ShiftSelectedPositionAllKeys(), SnapCursorTo(), UpdatePrimitiveStructure(), and UpdateRuler().
long lrulerz = 0 |
Definition at line 138 of file DXFCON1.C.
Referenced by _Export(), BuildPrimitive(), CoordinatesDlgProc(), Create3DSfile(), CreateVRMLfile(), DrawGrid(), DrawGridInOne(), Explode(), Extrude(), InstantStageGrab(), LoadAnimationFile(), LoadObject(), Move3dCursor(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), ShiftSelectedPositionAllKeys(), SnapCursorTo(), UpdatePrimitiveStructure(), and UpdateRuler().
long grid_size = UNIT |
Definition at line 138 of file DXFCON1.C.
Referenced by DrawGrid(), DrawGridInOne(), EraseAll(), Explode(), LoadAnimationFile(), LoadObject(), SaveAnimationFile(), SaveObject(), and SaveObjects().
long rulerx = 0 |
Definition at line 139 of file DXFCON1.C.
Referenced by BuildAccurateCurveDlgProc(), CoordinatesDlgProc(), LoadAnimationFile(), LoadObject(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), and UpdateRuler().
long rulery = 0 |
Definition at line 139 of file DXFCON1.C.
Referenced by BuildAccurateCurveDlgProc(), CoordinatesDlgProc(), LoadAnimationFile(), LoadObject(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), and UpdateRuler().
long rulerz = 0 |
Definition at line 139 of file DXFCON1.C.
Referenced by BuildAccurateCurveDlgProc(), CoordinatesDlgProc(), LoadAnimationFile(), LoadObject(), SaveAnimationFile(), SaveDivided(), SaveObject(), SaveObjects(), SetupStructures(), and UpdateRuler().