File: README

package info (click to toggle)
moonlight 0.5.3-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 11,492 kB
  • ctags: 15,064
  • sloc: cpp: 128,563; sh: 4,919; ansic: 2,011; makefile: 1,272; yacc: 77; lex: 71
file content (274 lines) | stat: -rw-r--r-- 11,510 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274

                             Moonlight Creator

                Copyright (C) 1996-1998 By Stephane C.F. Rehel

Email: rehel@kluster.com
WWW  : http://www.cybersociety.com/moonlight/

-----------------------------------------------------------------------------

Moonlight Creator is an environment dedicated to virtual creation.
It is based on OpenGL and does 3D modelling and rendering for now.

Moonlight is distributed under the terms of the GNU General Public License.
It comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under certain conditions.
See the LICENSE file for details.

-----------------------------------------------------------------------------
Options
-----------------------------------------------------------------------------

  Run "moonlight -h" for displaying the options list.

  Interface options are:
    -h                This message
    -v, --verbose     Verbose mode.
    -gamma <gamma>    Specify gamma correction (default is 1)
    -mlrc <file>      Specify ML resource file
    -fs               Run full-screen (default)
    -debug            Don't run full-screen
    -display <server> Run on this X server (default is :0)

  Moonlight is configured for a gamma value of 1.7. If your Xserver
  (or your video driver under Windows) doesn't run with gamma 1.7, you
  can emulate this by specifying the option "-gamma 1.7"

  The "-mlrc" option can be useful for Windows users since they don't have
  the HOME environment variable defined (most of the time).
  See RESOURCE_FILE.


-----------------------------------------------------------------------------
Note for the Windows version users
-----------------------------------------------------------------------------

  Moonlight has been successfully tested under Windows 95. It should run
  under Windows NT as well.

  Example: if you have installed ML in c:/moonlight, and if your video
  driver doesn't gave a gamma correction, you should run ML as:

    moonlight.exe -gamma 1.7 -mlrc /moonlight/moonlightrc

  Use Alt-F9 if you want to iconify the application.

  The required DLLs are:

    CYGWINB19.DLL from Cygnus-Win32 beta-19 DLL
    OPENGL32.DLL  from Microsoft OpenGL 1.1
    GLU32.DLL     from Microsoft OpenGL 1.1

  Careful: Moonlight needs a 3-buttons mouse! You can emulate the middle
  button (the Y coordinate) by pressing SHIFT+CONTROL+(any button). You
  also can buy a 3-buttons mouse.

-----------------------------------------------------------------------------
Note for the Linux version users (running the binary distribution)
-----------------------------------------------------------------------------

  For running Moonlight binary under Linux, you need Mesa 2.6 or later:

    % ldd moonlight
            libMesaGL.so.2 => /usr/lib/libMesaGL.so.2
            libMesaGLU.so.2 => /usr/lib/libMesaGLU.so.2
            libXext.so.6 => /usr/X11R6/lib/libXext.so.6.0
            libX11.so.6 => /usr/X11R6/lib/libX11.so.6.0
            libm.so.5 => /lib/libm.so.5.0.7
            libc.so.5 => /lib/libc.so.5.4.17

  Since version 0.0.2, libpthreads-1.60.4 from libc-5.4.38 is staticaly
  included in the executable.

  Mesa-2.3 has a bug that makes dialogs become black sometimes. Please
  use Mesa-2.4 or later.

  If you use a 16-bbp screen, you can set the MESA_NO_DITHER environment
  variable to speed-up Mesa rendering.

  Example: if you have installed Moonlight in ~/moonlight, and if your
  X server doesn't have a gamma correction, you should run ML as:

    moonlight -gamma 1.7

  Use Alt-F9 if you want to iconify the application. See the note about
  Windows Managers under X-Window.

-----------------------------------------------------------------------------
Note for new users: interface philosophy
-----------------------------------------------------------------------------

  Moonlight is a full-screen application. You should use at least a
  1024x768 screen resolution or higher. It runs with 8 bits displays,
  but 16 bits or higher are preferable.

  How to use it: the Mode-keys
  Clicking on a 3D window does nothing. You have to tell Moonlight to use
  a mode. A mode defines the type of action you want to do. Use the mouse
  to perform the action. You enter a mode by pressing its associated
  mode-key.

  Example: The Select mode-key is Space. For selecting an object:
    + press Space key,
    + select the object with the mouse,
    + release Space.

    Mode-Key   Action-Type
    ~~~~~~~~   ~~~~~~~~~~~
    o          Orbit camera about the focus point
    p          Walk forward of backward
    z          Zoom/Unzoom (Btn2), Pan (Btn1)
    Space      Select object (or area for raytracing)
    Backspace  Delete object
    h          Hide/Unhide object
    i          Get object information
    d          Duplicate an object
    Alt-d      Instantiate an object
    f          Set hierarchy (Select child and then its father)
    x          Scale selection
    Alt-x      Coord. Scaling (Btn1=X,Btn2=Y,Btn3=Z)
    c          Rotate selection (get a headache)
    Alt-c      Coord. Rotation (Btn1=X,Btn2=Y,Btn3=Z)
    v          Translate selection
    Alt-v      Coord. Translation (Btn1=X,Btn2=Y,Btn3=Z)
    u          Undo (Btn1=undo,Btn3=redo)
    r          Refresh screen (no mouse action)
    C          Orient Z axis of an object (Btn1=-Z,Btn3=+Z)
               (still doesn't work very well...)
    t          Tag vertices (Btn1=toggle,Btn2=select,Btn3=unselect)
               and go to VERtex modelling.
    g          Tag polygon by ray-casting and go to POLygon modelling.
               (Btn1=toggle,Btn2=select,Btn3=unselect)
    a          Edit object material
    ESC        Escape current mode if any.

  Careful: you can work on different modelling components:
           the object (OBJ), the vertex (VTX) or the polygon (POL).

-----------------------------------------------------------------------------
Under X-Window: Moonlight and window-managers
-----------------------------------------------------------------------------

  I suggest you to put Alt-F9 as the iconify'ing key in your window manager
  settings. If you're running fvwm or compatible, add to your .fvwmrc,
  .fvwm2rc, .fvwm2rc95, .steprc:

    Key F9 WISFT12 M Iconify

  Since Moonlight is a full screen application, this binding is usefull
  when ML freezes in infinite loop or in a heavy computation.

  About Enlightenment: this window manager seems not to allow fullscreen
  application. To be followed after the next release of this
  great environment (May 28 1998).

  Don't forget that Moonlight removes key auto-repeat on your X server.
  If it is abnormally killed, use:

    xset r

  for setting key auto-repeat again.

  Windows users: this key is internaly handled by Moonlight.

-----------------------------------------------------------------------------
Moonlight databases
-----------------------------------------------------------------------------

  See DATABASES file.

-----------------------------------------------------------------------------
About the converter
-----------------------------------------------------------------------------

  Moonlight executable also includes a command-line converter.
  To use it, use:

     "moonlight -convert [options] <infile_to_convert_from>"

  Converter options are:
     -db <database_path>  Specify a custom database to write in (optional)
     -v                   Verbose mode
     -rv                  Reverse polygons
     -dxfl2o              Convert DXF layers to objects
     -nw                  Don't write. For testing.

  Moonlight converter is able to read the following formats:
     OFF      : extension .off
     DXF      : extension .dxf
     3DS ascii: extension .asc

  This converter is only usable in command line for stability issues.

-----------------------------------------------------------------------------
Development
-----------------------------------------------------------------------------

  Moonlight Creator is developed under Linux with Mesa.

  Windows version has been compiled with Cygnus-Win32 tools Beta-19.1,
  Microsoft OpenGL 1.1, and Windows-95.

  About 180K lines of C++, >600 classes.

-----------------------------------------------------------------------------
COPYRIGHTS
-----------------------------------------------------------------------------
- TIFF LIBRARY v3.4beta037 COPYRIGHT
-
- Copyright (c) 1988-1995 Sam Leffler
- Copyright (c) 1991-1995 Silicon Graphics, Inc.
-
- Permission to use, copy, modify, distribute, and sell this software and
- its documentation for any purpose is hereby granted without fee, provided
- that (i) the above copyright notices and this permission notice appear in
- all copies of the software and related documentation, and (ii) the names of
- Sam Leffler and Silicon Graphics may not be used in any advertising or
- publicity relating to the software without the specific, prior written
- permission of Sam Leffler and Silicon Graphics.
-----------------------------------------------------------------------------
- JPEG LIBRARY v6a COPYRIGHT
-
- This software is copyright (C) 1991-1996, Thomas G. Lane.
-
- Permission is hereby granted to use, copy, modify, and distribute this
- software (or portions thereof) for any purpose, without fee, subject to
- these conditions:
- (1) If any part of the source code for this software is distributed, then
-     this README file must be included, with this copyright and no-warranty
-     notice unaltered; and any additions, deletions, or changes to the
-     original files must be clearly indicated in accompanying documentation.
- (2) If only executable code is distributed, then the accompanying
-     documentation must state that "this software is based in part on the
-     work of the Independent JPEG Group".
- (3) Permission for use of this software is granted only if the user accepts
-     full responsibility for any undesirable consequences; the authors
-     accept NO LIABILITY for damages of any kind.
-----------------------------------------------------------------------------
- PNM WRITER LIBRARY COPYRIGHT, from ImageMagick-3.8.6
-
- Copyright 1997 E. I. du Pont de Nemours and Company
-
- Permission to use, copy, modify, distribute, and sell this
- software and its documentation for any purpose is hereby
- granted without fee, provided that the above copyright notice
- appear in all copies and that both that copyright notice and
- this permission notice appear in supporting documentation, and
- that the name of E. I. du Pont de Nemours and Company not be
- used in advertising or publicity pertaining to distribution of
- the software without specific, written prior permission.  E.
- I. du Pont de Nemours and Company makes no representations
- about the suitability of this software for any purpose.  It is
- provided "as is" without express or implied warranty.
-
- E. I. du Pont de Nemours and Company disclaims all warranties
- with regard to this software, including all implied warranties
- of merchantability and fitness, in no event shall E. I. du
- Pont de Nemours and Company be liable for any special,
- indirect or consequential damages or any damages whatsoever
- resulting from loss of use, data or profits, whether in an
- action of contract, negligence or other tortious action,
- arising out of or in connection with the use or performance of
- this software.
-----------------------------------------------------------------------------