Current Status May 29,08>>I have uploaded a new version of the Editor. This version fixes some problems.
This project is a for creating a simple 3D modeler program for Object3Ds.With the current version you can create an Object3D from scratch or open up any Object that jpct can load and edit it(3DS,ASC,MD2...).
By editing I mean: setting polygon textures, setting whole object textures, changing polygon vertex data, and adding pre-built objects(cubes, triangles, spheres, planes...) to an object. Plus a few more settings.
When you have the object looking how you want it, you can save a serialized version of the object's mesh, a xml file that contains just the object specified by the jpct dtd, or a xml file that cotains jpct xml file, and extra information that you set in the editor. This third option will copies the necessary image files in to the directory in which you save the xml file. There is a jar file(with class files in it) that you can use to load the object for your jpct program from the xml file. The source is also there.
This is the current version of the program. It has everything implemented! If you have find a bug, please tell me!
This download contains all the files necessary to run the program. It also contains the source.www.geocities.com/thejavaman2/Object3DEditor.zipjava -cp Object3DEditor.jar -splash:splash.jpg -Xmx400m ControllerThe number after the Xmx option is the minimum amount of memory necessary to run the program. If you are running the program with large objects, and it crashes with a java heap space exception, I suggest you increase the number.
If anyone downloads it, and you have a question, just ask.Here the program is running with some transparent triangles with textureinfo.
Here is a quick step-by-step to create an object and add a triangle to it.
1: Click New>Object3D Basic
2: fill in the max triangles and the name of the Object3D as seen here.
3: Click on the corresponding button in the left panel which has the title of your new object3d as its title.
The scroll ares will then update to reflect the selected object that the button represents.
4: Scroll down in the left scroll area and click the triangle button.
5. Then fill in the values for the 1st, 2nd, and 3rd vectors. The row next to the 1 represent the values for what you could picture as in addTriangle(1strow,2ndrow,3rdrod); Then click the done button.
Here are some instructions on how to move the camera.
Some instructions on changing vertex data of polygon.
Info, on texture creation: