home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Color Clip Art
/
3D_Color_Clip_Art.bin
/
3d-progs
/
rad386
/
radfilte.1
< prev
next >
Wrap
Text File
|
1996-11-15
|
2KB
|
63 lines
.TH RADFILTER(1)
.SH NAME
radfilter - a filter to convert
.I Radiance
input scene to the scene description understood by
.I Rad.
.SH SYNOPSIS
.B "radfilter \[ options \]"
ex: radfilter -n 1000 < room.rad > room.dat
.SH DESCRIPTION
.I radfilter
reads-in a
.I Radiance
scene description file from standard input and writes to
standard output
a scene description in
.I rad
input format.
.SH OPTIONS
.BI "\-n patches."
This option specifies the total number of patches the scene
description will have. No actual breakup of primitive surfaces
is done. Instead a n x n grid structure is specified with each
surface where n represents the number of subdivisions of along
u and v surface parametric space of the surface. The number n
is arrived at by a very simple computation.
The total surface area of the all the
geometric primitives is computed. The approximate area of a
patch is computed by dividing the total area by the number of
patches. Each geometric primitive is assigned a breakup number
by the area of the primitive per approximate area of the
patch.
.BI "\-s."
This option forces the filter to create the output file with special
view parameters. Default view parameters are simple perspective
parameters. For more detail see 'input.format.doc' in the directory
distrib/radiosity/doc.
.PP
.I Note :
It must be kept in mind that
.I Rad
supports a very limited number of surface properties, such as
diffuse and mirror surfaces for reflection and diffuse
surfaces for emission. So all the
.I Radiance
surface properties are approximated to one of
these few and hence the scene generated by the filter may be
completely different as far as the surface properties are
concerned.
However, all the surface geometries are supported.
It can be understood from the earlier description that for
subdivision purpose each primitive is assumed to be a
parametric surface. As it is difficult to find a precise
parametric definition of an arbitrary polygon all polygons
with more than four edges are left undivided, that means, an
1 x 1 grid structure is specified for such surfaces.
.SH AUTHOR
Sumant N. Pattanaik
.SH "SEE ALSO"
rad(1)