You can now load and save models, as well as adding new lines and vertices. I included 4 models, which I made using the engine.
Note: Click on a vertex to have it's index shown in the text window.
Warning: There is very little error handling at the moment, so be careful when manually editing the model files.
Here's the file format for VERTICES:
x, y, z, display, red, green, blue; Comments
x- How far left or right from the center.
- Negative is to the left
- Positive is to the right
y- How far forwards or backwards from the center.
- Negative is towards you
- Positive is away from you
z- How far above or below from the center.
- Negative is below
- Positive is above
display - Whether or not the vertex will show.
red - Amount of red in the icon. (0 to 255)
green - Amount of green in the icon. (0 to 255)
blue - Amount of blue in the icon. (0 to 255)
Here's the file format for LINES:
start, end, display, red, green, blue; Comments
start - Index of vertex where the line starts.
end - Index of the vertex where the line ends.
display - Whether or not the line will show.
red - Amount of red in the icon. (0 to 255)
green - Amount of green in the icon. (0 to 255)
blue - Amount of blue in the icon. (0 to 255)
Play around with it. If you find a bug, report it to the forums. Check back soon for updates...
|
|