OnWorks favicon

genklemsamp - Online in the Cloud

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

This is the command genklemsamp 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



genklemsamp - generate ray samples over surfaces using Klems BSDF basis


genklemsamp [ -c N ][ -f{a|f|d} ] [ view opts ] [ geom.rad .. ]


Genklemsamp generates ray origins and directions to sample planar surfaces needed to
determine incident radiances or daylight coefficients. This command is typically used in
conjunction with rtcontrib(1) to analyze exterior daylight coefficients for an annual

The view options are needed to specify (at minimum) the view direction, which corresponds
to the orientation of the surfaces, and the view up vector, which corresponds to the
azimuth=90-degree position on the Klems sampling hemisphere. The view fore clipping
distance is also quite useful, as it provides a means to pass through some thickness in a
fenestration system before samples are sent out. Other view options such as the view type
and aft clipping distance are overridden or ignored.

If no Radiance scene files are provided, then the specified parallel view defines the
width, height, center, and orientation of the window or facade of interest. If one or
more scene files are given, they are presumed to contain planar surfaces over which
genklemsamp will originate samples. The sampled surface normals must correspond to the
specified view direction, and unaligned surfaces are silently ignored.

The -c option specifies the number of rays to sample per Klems direction. These samples
will be distributed evenly over the surface(s). The default setting is 1000.

The -ff option specifies that output rays should be generated as 32-bit IEEE binary float
values. This may be more efficient if passed directly to rtcontrib or rtrace(1) with the
same option. Likewise, the -fd option specifies 64-bit IEEE binary double values. The
default setting of -fa produces ASCII floating point values.


To generate 500 samples per direction over a set of south-facing windows and pass to
rtcontrib to compute daylight coefficients in a matrix:

genklemsamp -c 500 -vd 0 -1 0 -vu 0 0 1 south_windows.rad | rtcontrib -c 500 -e MF:1 -f
reinhart.cal -b rbin -bn Nrbins exterior.oct > Dsouth.dat

Use genklemsamp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands