Skip to content

gmischler/PyRad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyRad

Replacements in Python for some of the shell/Perl scripts included with the Radiance lighting simulation package.

Usually the scripts are drop-in replacements for the originals, but with some additional functionality.

###Design goals

  • usage instructions (-H)
  • progress report (-V)
  • dry-run mode (-N)
  • detailed error diagnostics
  • compatible with Python 2.7 and Python 3.x
  • self contained (all functionality can be combined in one file) using a small utility library added to the Radiance distribution
  • truly cross-platform (no external dependencies other than Python and Radiance)
  • direct process management (no intermediate shell calls)
  • immune to whitespace in file names
  • tamper-proof use of temporary files
  • instrumented for building a single-file *.exe with pyinstaller

###Currently implemented

  • falsecolor.py - Make a false color Radiance picture
  • phisto.py - Compute foveal histogram for picture set
  • rlux.py - Compute illuminance from ray origin and direction
  • pveil.py - Add veiling glare to picture
  • glaze.py - Interactive complex glazing model generator
  • objview.py - view Radiance objects

###Contributions welcome

  • more scripts (implementing the same design goals)
  • systematic test cases (only casually tested so far)
  • Wishlist items (with specification if original is undocumented)

About

Replacements in Python for some of the scripts included with the Radiance lighting simulation package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages