man/man1/ltview.1
author Axel Jacobs <axel@jaloxa.eu>
Tue, 08 Apr 2014 22:55:23 +0100
changeset 64 5fb0b190e5ef
parent 59 626ea3bad930
child 67 cb1224fcd2c2
permissions -rw-r--r--
hgignore: add new sent dir
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     1
.\" 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     2
.TH "LTVIEW" "1" "11/03/14" "RADIANCE" ""
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     3
.SH "NAME"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     4
ltview \- view a light source
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     5
.SH "SYNOPSIS"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     6
.B ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     7
[
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     8
.B \-i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
     9
][
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    10
.B "\-r roomsize"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    11
][
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    12
.B "\-o output device"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    13
]
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    14
input
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    15
.SH "DESCRIPTION"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    16
.I ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    17
renders a Radiance luminiare or IES photometry interactively using
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    18
.I rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    19
.  This program is merely a shell script that calls
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    20
.I rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    21
to make an octree and view the scene interactively.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    22
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    23
.I ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    24
accepts exactly one Radiance object or IES photometry
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    25
file as input.  No input is taken from STDIN.  The
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    26
.I \-i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    27
option tells it that the file name given is 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    28
an IES photometry file rather then a Radiance description of a 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    29
luminiare.  In this case, Radiance's
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    30
.I ies2rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    31
is called with its default settings to convert the IES file into a 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    32
Radiance object.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    33
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    34
Unlike
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    35
.I objpict(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    36
or
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    37
.I objview(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    38
, no additional light sources are added to the scene, since it is
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    39
assumed that the object is a luminaire.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    40
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    41
.I ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    42
relies on Radiance's
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    43
.I rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    44
command to compile an octree and to call
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    45
.I rvu(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    46
to display an interactive preview of the luminaire.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    47
The default behaviour for
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    48
.I ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    49
is to scale the luminaire or output from 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    50
.I ies2rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    51
so that the largest dimension of the fitting is unity, centered at the origin.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    52
This scaled representation of the original fitting is then placed inside a 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    53
square box 10 units in size.  The \-y face of the box is left open so that 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    54
the camera can look inside, facing +y.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    55
If it is desirable to keep the original luminaire in both its original size,
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    56
and its original location, the
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    57
.I "\-r roomsize"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    58
option may be used to fix the room size to a certain
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    59
.I roomsize.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    60
In this case, the size and location of the fitting is not adjusted, and
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    61
it is up to the user to decide on appropriate room dimensions.  Note that
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    62
when
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    63
.I \-r
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    64
and
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    65
.I \-i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    66
are combined, then the dimensions of the luminaire and intesity of its 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    67
output are determined by
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    68
.I ies2rad(1)'s
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    69
default settings.  If this is not acceptable, then it is best to run
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    70
.I ies2rad(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    71
manually, and to feed
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    72
.I ltview
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    73
the hand\-crafted fitting, rather than the IES photometry.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    74
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    75
The default
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    76
.I rvu(1)
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    77
output device is
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    78
.I x11
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    79
on all platforms except for Windows, where it is set to
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    80
.I qt.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    81
This may be overwritten with the
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    82
.I "\-o output"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    83
option.
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    84
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    85
.SH "EXAMPLES"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    86
To query available output devices
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    87
.IP "" .2i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    88
rvu \-devices
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    89
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    90
To visualise an IES file with the qt driver
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    91
.IP "" .2i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    92
ltview \-o qt ABC123.ies
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    93
.PP 
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    94
To look at a typical T5 fluorescent fitting that is modelled in millimeters
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    95
.IP "" .2i
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    96
ltview \-r 5000 XYZ_batten.rad
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    97
.SH "AUTHOR"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    98
Axel Jacobs
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
    99
.SH "SEE ALSO"
626ea3bad930 man pages for ltpict and ltview
Axel Jacobs <axel@jaloxa.eu>
parents:
diff changeset
   100
ltpict(1), ies2rad(1), oconv(1), rad(1), rvu(1)