OnWorks favicon

mksource - Online in the Cloud

Run mksource in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mksource that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mksource - compute distant sources for RADIANCE image-based lighting


mksource [ -d nsamps ][ -t thresh ][ -a maxang ] [ octree ]


Mksource produces a RADIANCE scene description of distant illum sources corresponding to
bright, concentrated regions in the given ambient environment. Any local geometry is
ignored in the input octree, which should be derived from a captured light probe and
modeled as a distant hemispherical or spherical glow source. The output sources may then
be combined with this environment to produce a more efficient scene for rendering, faster
and less prone to sampling artifacts.

The -d option may be used to specify the number of ray samples, which defaults to 262,000.
Calculation time is roughly proportional to this setting, and the default is fine enough
to resolve sources the size of the sun (half a degree) or larger.

The -t option may be used to manually set the radiance threshold for sources, in
watts/sr/meter^2. The default uses the top 2 percentile of the environment, which is
usally a good value.

The -a option may be used to specify a maximum source diameter, which defaults to 15
degrees. Mkillum silently enforces a maximum of 180 degrees for this option.

If no input octree is specified, the standard input is read.


To add sources with a maximum size of 20 degrees to the enviornment described in

mksource -a 20 environ.oct > srcs.rad
oconv -i environ.oct srcs.rad > env+srcs.oct

Use mksource online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 2
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    Download KDiff3
  • 3
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 4
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 5
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 6
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands