forked from casselineau/Tracer
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
executable file
·71 lines (54 loc) · 2.66 KB
/
README
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
Tracer - a Pythonic ray-tracing package with solar energy focus.
About
-----
Tracer is a ray-tracing engine and suite of tools focused on solar energy
applications.
The motivation for writing tracer:
* Current solutions lack programmability and extensibility
* Even if you pay megabucks
* De-facto standard tools of the trade are non-free, so bugfixing
etc. depends on someone else,
* Usability in the solution closest to our budget is poor, and no Linux
port is available.
Tracer is written in Python, using NumPy and SciPy for the math side of things.
Status
------
The code is advanced enough to produce research. It is currently a programming
library. NO GUI yet.
Current capablilities:
- Flat, parabolic, spherical and conical surfaces
- Specular and diffuse reflections with surface slope error
- A bunch of results analysis tools
- Pillbox and Buie sunshape implementations
- Radiosity sytem solver for thermal emissions
- Basic parallel processing
There are no provisions for spectral response or polarization yet, but the
package is designed to make it easy to add them, and also to remove unnecessary
features and plug in speed-improving optical and geometrical models that
utilize problem-specific features.
Open-source python magic happens: if you want to do something, you can do it.
Installation
------------
LINUX:
To install Tracer on your system, run the following from the command line from your downloaded Tracer directory:
python setup.py install
Before installing, make sure that the following dependencies are installed:
- Numpy/Scipy (http://www.scipy.org/scipylib/download.html)
command: sudo apt-get install python-numpy
- Matplotlib (http://matplotlib.org/downloads.html)
command: sudo apt-get install python-matplotlib
- Coin 3D (https://bitbucket.org/Coin3D/coin/downloads)
command: sudo apt-get install python-pivy
- Pathos (https://github.com/uqfoundation)
This one requires you to download the packages from the github repository and run the installs individually using "python setup.py install" in your downloaded directories. All the dependencies (dill, pox, multiprocess and ppft) are on the same github repository and should be installed individually.
WINDOWS:
To run on MS Windows:
- Follow steps on this link to run a Linux distribution on windows: https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Download Tracer packages from here
- Download an X Server for windows in order to render the images: https://sourceforge.net/projects/xming/
- Run the X Server Client
- Run Tracer
Getting Help, Getting Involved
------------------------------
Slightly outdated documentation and reference matereial can be found on
http://yosefm.github.com/tracer/