aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-04-30 22:20:48 +0000
committerrodri <rgl@antares-labs.eu>2023-04-30 22:20:48 +0000
commitf959555dc653ecf54d75b180fcd018075e652e93 (patch)
treefa76e157076c119b1d3a1390605f6c55c8ff6d62
parent983d1181b2be54d3dcf2e33d343044ea6dbb0e41 (diff)
downloadmusw-f959555dc653ecf54d75b180fcd018075e652e93.tar.gz
musw-f959555dc653ecf54d75b180fcd018075e652e93.tar.bz2
musw-f959555dc653ecf54d75b180fcd018075e652e93.zip
vmodeled: wrote a man page.
-rw-r--r--musw.man2
-rw-r--r--vmodeled/vmodeled.man54
2 files changed, 56 insertions, 0 deletions
diff --git a/musw.man b/musw.man
index 70d738b..30f21e4 100644
--- a/musw.man
+++ b/musw.man
@@ -25,6 +25,8 @@ the space dogfight simulation game developed by Steve Russell in the 1960s for t
.SH SOURCE
.B /sys/src/games/musw
.SH SEE ALSO
+.IR vmodeled (1)
+.br
https://www.masswerk.at/spacewar/
.br
https://www.masswerk.at/spacewar/SpacewarOrigin.html
diff --git a/vmodeled/vmodeled.man b/vmodeled/vmodeled.man
new file mode 100644
index 0000000..c877d32
--- /dev/null
+++ b/vmodeled/vmodeled.man
@@ -0,0 +1,54 @@
+.TH VMODELED 1
+.SH NAME
+vmodeled \- musw vector model editor
+.SH SYNOPSIS
+.B vmodeled
+.I file
+.SH DESCRIPTION
+.I Vmodeled
+is a vector model—
+.B VModel
+—editor created with the purpose of customizing
+.IR musw (1)
+ships defined in the
+.B vmdl
+file format.
+.PP
+To create a new model you have to point the program to an existing
+.IR file .
+Once the editor comes up, you can begin drawing lines by means of points. One LMB click will place a point, and on every pair you place you will get a line drawn and added to the model format stack. You can also draw curves by pressing
+.BR c ,
+which take three points instead of two. To go back to drawing lines, press
+.BR l .
+.PP
+While you are drawing it's possible you misplace a point, in which case you can scratch the procedure by pressing
+.BR Esc .
+If on the other hand you messed up a primitive, you can press
+.B z
+to pop and discard the latest one from the model format stack. You can also make corrections to any of the primitives by moving their defining points. To do that press
+.BR m ,
+then LMB click over the point you are interested in and hold while you move the mouse, then release to put it at the new location. To get back to drawing press
+.BR d .
+.PP
+There are two other (non-invasive) operations you can do over the model for visualization and ergonomy purposes. The first one is rotation, by pressing the RMB and orbiting around the center of the window. The second one, zooming. To zoom press and hold the MMB, then move up or down to zoom in or out respectively. When rotating the object you'll receive some feedback in the form of a half-circle bevel protractor-like guide. When zooming though, feedback is left to the user.
+.PP
+To save the model into the file, press
+.BR w .
+.br
+To exit the editor, press
+.B q
+or
+.BR Delete .
+.IP
+.I
+Notice that none of them will ask you to save the file before quitting.
+.SH EXAMPLE
+.SH SOURCE
+.B /sys/src/games/musw/vmodeled
+.SH SEE ALSO
+.IR musw (1)
+.SH BUGS
+There's no redo functionality.
+.SH HISTORY
+The zoom procedure was very much stolen from
+.IR galaxy (1) .