-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.TXT
More file actions
43 lines (29 loc) · 2.17 KB
/
README.TXT
File metadata and controls
43 lines (29 loc) · 2.17 KB
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
This is a Java port of the minimal global illumination renderer MiniLight (http://www.hxa.name/minilight). This version was done by Tom Eklöf (tom.eklof gmail com).
I have strayed from MiniLight's goal of simplicity just for the sake of teaching myself how to do things like threading in Java.
USAGE
java -jar MiniLight.jar [options] modelfile
will produce a .ppm file named modelfile.ppm
Some models are provided in the models/ subdirectory
The currently implemented options are:
Option Description
------ -----------
--help Prints usage information
--image Alternate name for image file.
(Defaults to model name + ".ppm")
--luminance <Float> Sets the display luminance to be used
when saving images. The lower the
number, the brighter the image.
(default: 200.0)
--override <Integer> Overrides the number of iterations
specified in the model file.
--period <Integer> Set the save period (in seconds).
Currently only works in single-
threaded mode. (default: 360)
--seed <Long> Set random seed (default: 42)
--threads <Integer> Number of threads to use. 1 naturally
means no multithreading, and this is
the default (default: 1)
All options can be abbreviated, so --luminance can be written as -l
TROUBLESHOOTING
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionException:
- Make sure that the jopt-simple-3.2.jar is either in the lib/ subdirectory or somewhere else in your CLASSPATH