EDIT3D - 3D Vector Graphics Editor
I wrote this program to eventualy create G&M code files for Numerically
controlled machining - particularly smooth contours for aircraft and watercraft.
Along the way I've added rendering and background features that may be usefull
for some sort of game or simulation creation. The database behind the scenes
is very flexible but could be further optimised for the actual simulation.
Haven't figured out how to get a screen shot of the program so I took a
picture with my cheap digital camera (sorry about the blurr). Click
herefor double the size. The mouse image is from the allegro example files.
The spitfire was from a DXF file I found on the net (will credit it when I can
find the source - soory about that).
As you can hopefully see, this editor can display 4 views of the same object
with rendering to light source and backing from bitmap and *.avi video files (
one frame at a time of course). Also in the bottom left image you can see a
spline curve.
To compile you will need a standard gcc C++ compiler (see DJGPP in
Allegro Page )
and the Allegro Graphics/Game engine (see the
Allegro page ), all available for
free.
Since my current website cannot have compressed zip files, I have compressed them
using the Java JAR utility (found in the java SDK - I used jdk1.3.1 ) which I hope my web
space providers will allow.
The compressed source code is in edit3d.jar. Save this and
uncompress it using the line command: "d:\jdk1.3.1\bin\jar -vxf edit3d.jar" where
"d:\jdk1.3.1\bin" was the location of my jar executable. The latest java sdk (J2SE-5.0 I think)
is available for free download from Sun
. Every self respecting programmer should have a copy.
Alternatively you can copy the individual source codes from the list below. I can't imagine
anyone will bother to copy every file this way; any suggestions? I used a DOS directory
listing so its a bit messy.
Read this first:readme.txtA Description of program
construction, compilation and also contact details when it all goes wrong, so you can
abuse me and I never publish anything again.
All the files below are text files but your PC might attempt to open them as something
else. I can only suggest saving them first and then opening them with a text editor.
Directory of Edit3D\basicgui
-
ALCOLOR CPP 17,270 11-30-04 4:15p View it
-
ALCOLOR H 1,984 11-30-04 4:16p View it
-
ALVIDEO CPP 4,794 11-30-04 4:44p View it
-
ALVIDEO H 1,390 11-30-04 4:45p View it
-
BITMAP CPP 1,750 11-30-04 4:17p View it
-
BITMAP H 1,007 11-30-04 4:17p View it
-
BSCEDIT CPP 20,292 11-30-04 6:48p View it
-
BSCEDIT GDT 11,733 11-30-04 6:37p View it
-
BSCEDIT GPR 81,255 11-30-04 6:37p View it
-
BSCEDIT H 1,932 11-30-04 4:18p View it
-
BSCEDIT MAK 12,992 11-30-04 6:35p View it
-
BSCEDIT TXT 2,882 10-17-01 12:50p View it
-
BSCINIT CPP 3,823 11-30-04 4:19p View it
-
CONFIG CFG 42 11-30-04 6:34p View it
-
COPYING 17,982 11-01-95 7:08p View it
-
DEFINE H 2,948 11-30-04 4:19p View it
-
DRAWRECT CPP 6,257 11-30-04 4:20p View it
-
DRAWRECT H 1,336 11-30-04 4:20p View it
-
EDIT CPP 18,694 11-30-04 4:20p View it
-
EDIT H 1,329 11-30-04 4:21p View it
-
FILEOPEN CPP 4,577 11-30-04 4:21p View it
-
FILEOPEN H 1,065 11-30-04 4:21p View it
-
GRID CPP 6,326 11-30-04 4:22p View it
-
GRID H 1,247 11-30-04 4:22p View it
-
HELP CPP 5,091 11-30-04 4:22p View it
-
HELP H 1,139 11-30-04 4:22p View it
-
HELP TXT 863 10-07-02 7:03a View it
-
HELP1 CPP 1,322 11-30-04 4:23p View it
-
LINKLIST CPP 7,257 11-30-04 4:23p View it
-
LINKLIST H 2,567 11-30-04 4:23p View it
-
MPOINT CPP 3,959 11-30-04 4:24p View it
-
MPOINT H 1,312 11-30-04 4:24p View it
-
OBJ H 1,366 11-30-04 4:24p View it
-
OBJCTRL CPP 3,640 11-30-04 4:25p View it
-
OBJCTRL H 3,501 11-30-04 4:26p View it
-
OBJECT CPP 5,432 11-30-04 4:28p View it
-
OBJECT H 1,306 11-30-04 6:31p View it
-
README TXT 687 11-30-04 7:00p View it
-
TOSTRING CPP 3,424 11-30-04 4:29p View it
-
TOSTRING H 1,073 11-30-04 4:29p View it
-
VISULIST CPP 14,178 11-30-04 4:34p View it
-
VISULIST H 3,814 11-30-04 5:57p View it
-
XPROC CPP 4,237 11-30-04 4:45p View it
-
XPROC H 1,132 11-30-04 4:45p View it
44 file(s) 292,207 bytes
Directory of Edit3D\edit3d
-
A3D_FMAT TXT 2,278 08-31-04 8:36p View it
-
A3DLOAD H 1,149 11-30-04 5:00p View it
-
A3DSAVE H 1,058 11-30-04 5:01p View it
-
ARC H 2,271 11-30-04 5:02p View it
-
AVI H 1,501 11-30-04 5:05p View it
-
AXIS H 1,131 11-30-04 5:05p View it
-
BLOCKS H 1,468 11-30-04 5:06p View it
-
BLOCKSET H 1,060 11-30-04 5:06p View it
-
DRAWLINE H 2,375 11-30-04 5:08p View it
-
DXFLOAD H 1,161 11-30-04 5:09p View it
-
DXFSAVE H 1,161 11-30-04 5:09p View it
-
EDIT3D H 1,959 11-30-04 5:14p View it
-
FACE H 2,917 11-30-04 5:58p View it
-
FACEDLG H 1,054 11-30-04 5:16p View it
-
FINDVISU H 2,002 11-30-04 5:17p View it
-
INSERT H 2,536 11-30-04 5:58p View it
-
JOY H 1,060 11-30-04 5:21p View it
-
LAYERS H 1,859 11-30-04 5:21p View it
-
LAYSET H 1,056 11-30-04 5:22p View it
-
LINE H 2,841 11-30-04 5:23p View it
-
LOGPOS H 1,067 11-30-04 5:23p View it
-
OBJ H 1,179 11-30-04 5:24p View it
-
OBJ3CTRL H 1,697 11-30-04 5:25p View it
-
OBJECT H 1,362 11-30-04 5:44p View it
-
OPEN3D H 1,147 11-30-04 5:45p View it
-
RENDER H 1,820 11-30-04 5:46p View it
-
SOLID H 2,671 11-30-04 5:47p View it
-
SPACE H 1,712 11-30-04 5:48p View it
-
SPLINE H 2,826 11-30-04 5:48p View it
-
TEXTURE H 1,362 11-30-04 5:49p View it
-
TEXTUSET H 1,067 11-30-04 5:50p View it
-
VERTEX H 3,240 11-30-04 5:50p View it
-
VIEW H 2,162 11-30-04 5:51p View it
-
VISLST3D H 2,642 11-30-04 5:52p View it
-
VISUAL H 4,295 11-30-04 5:52p View it
-
VTXMATH H 1,130 11-30-04 5:53p View it
-
A3DLOAD CPP 14,038 11-30-04 4:47p View it
-
A3DSAVE CPP 8,398 11-30-04 5:00p View it
-
ARC CPP 7,023 11-30-04 5:01p View it
-
AVI CPP 6,358 11-30-04 5:04p View it
-
AXIS CPP 1,715 11-30-04 5:05p View it
-
BLOCKS CPP 2,014 11-30-04 5:05p View it
-
BLOCKSET CPP 14,456 11-30-04 5:06p View it
-
DRAWLINE CPP 7,635 11-30-04 5:07p View it
-
DXFLOAD CPP 16,662 11-30-04 5:08p View it
-
DXFSAVE CPP 13,187 11-30-04 5:09p View it
-
EDIT3D CPP 55,748 11-30-04 5:56p View it
-
FACE CPP 16,887 11-30-04 5:15p View it
-
FACEDLG CPP 5,276 11-30-04 5:16p View it
-
FINDVISU CPP 8,366 11-30-04 5:17p View it
-
INSERT CPP 10,953 11-30-04 5:19p View it
-
JOY CPP 2,468 11-30-04 5:20p View it
-
LAYERS CPP 2,345 11-30-04 5:21p View it
-
LAYSET CPP 16,198 11-30-04 5:22p View it
-
LINE CPP 11,762 11-30-04 5:22p View it
-
LOGPOS CPP 2,424 11-30-04 5:23p View it
-
OBJ3CTRL CPP 3,249 11-30-04 5:25p View it
-
OBJECT CPP 5,249 11-30-04 5:26p View it
-
OPEN3D CPP 6,165 11-30-04 5:44p View it
-
RENDER CPP 10,572 11-30-04 5:46p View it
-
SHOW3D CPP 12,079 08-15-04 10:35p View it
-
SOLID CPP 14,733 11-30-04 5:47p View it
-
SPACE CPP 3,213 11-30-04 5:47p View it
-
SPLINE CPP 14,651 11-30-04 5:48p View it
-
TEXTURE CPP 2,262 11-30-04 5:49p View it
-
TEXTUSET CPP 12,538 11-30-04 5:49p View it
-
VERTEX CPP 10,292 11-30-04 5:50p View it
-
VIEW CPP 45,706 11-30-04 5:51p View it
-
VISLST3D CPP 4,267 11-30-04 5:51p View it
-
VISUAL CPP 27,091 11-30-04 5:52p View it
-
VTXMATH CPP 2,074 11-30-04 5:52p View it
-
CONFIG CFG 149 11-30-04 6:29p View it
-
JOYSTICK CFG 541 08-15-04 9:18p View it
-
EDIT3D CPR 3,253 08-02-04 7:59p View it
-
COPYING 17,982 11-01-95 7:08p View it
-
EDIT3D GDT 14,048 11-30-04 6:37p View it
-
RH_OPT GDT 1,694 07-18-03 7:23p View it
-
EDIT3D GPR 255,998 11-30-04 6:37p View it
-
RH_OPT GPR 11,507 07-18-03 7:23p View it
-
EDIT3D HLP 14,869 10-23-04 5:14p View it
-
EDIT3D MAK 19,447 11-30-04 6:35p View it
-
AVI C 5,760 11-30-04 5:04p View it
-
EDIT3D TXT 1,385 07-08-04 1:25p View it
-
OBJ3CTRL TXT 1,027 10-01-04 10:03a View it
-
POSLOG TXT 35,954 07-18-03 7:18p View it
-
README TXT 545 11-30-04 7:02p View it
-
SPLINE TXT 338 10-19-04 7:30p View it
-
TODO TXT 6,760 10-23-04 9:44p View it
-
VERTEX TXT 585 10-03-04 6:52a View it
-
VIEW TXT 493 08-03-04 2:56p View it
-
VISUAL TXT 2,046 10-17-04 7:09p View it
-
VISULIST TXT 677 07-08-04 9:42a View it
92 file(s) 858,388 bytes