Dec 102017
 
Radiosity Raytracer UNIX ported for 386.
File RAD386.ZIP from The Programmer’s Corner in
Category Printer + Display Graphics
Radiosity Raytracer UNIX ported for 386.
File Name File Size Zip Size Zip Type
COPYRIGH 781 379 deflated
DOS4GW.EXE 202376 100699 deflated
MAKEFILE 503 167 deflated
MAKEROOM.BAT 247 187 deflated
RAD.EXE 129427 57580 deflated
RAD2MC.EXE 25396 24706 deflated
RADIOSIT 0 0 stored
DOC 0 0 stored
PREVIEW.1 910 518 deflated
RAD.1 7204 2886 deflated
RADFILTE.1 2137 981 deflated
SCENE 0 0 stored
FILTER 0 0 stored
PREVIEW 0 0 stored
SRC 0 0 stored
MAKEFILE 419 180 deflated
OBJECTS.C 8339 2244 deflated
PREVIEW.C 10558 2749 deflated
README 960 462 deflated
UTILS.C 13372 3982 deflated
X11.C 5641 1941 deflated
SRC 0 0 stored
MAKEFILE 273 166 deflated
PARSE.C 14018 3565 deflated
PARSE.OBJ 16448 9043 deflated
PREVIEW.H 2290 878 deflated
RAD2MC.C 10161 2884 deflated
RAD2MC.DSK 2658 970 deflated
RAD2MC.OBJ 13100 6936 deflated
RAD2MC.PRJ 5281 1166 deflated
ORIGINAL 0 0 stored
CHAIR.RAD 21307 2344 deflated
COFFEE_T.RAD 971 308 deflated
CORNERDE.RAD 18884 2180 deflated
LIGHT.RAD 1494 348 deflated
MIRROR_S.RAD 10256 1426 deflated
ROOM.RAD 1800 360 deflated
ROOM.DAT 91328 7036 deflated
ROOM.DOC 796 358 deflated
SRC 0 0 stored
ANSI2KNR.C 16738 6296 deflated
COLOR.H 3573 1376 deflated
DATA_STR.H 5989 2052 deflated
FOR_RADI.C 3924 1572 deflated
FOR_RLE.C 32732 8991 deflated
GAUSS.C 1595 674 deflated
GGVECLIB.C 10768 2726 deflated
GRAPHICS.H 4211 1509 deflated
INPUT.C 13105 4202 deflated
INTERSEC.C 2773 1093 deflated
MAIN.C 12000 3465 deflated
MAKEFILE.ANS 2052 596 deflated
MAKEFILE.BCC 1888 724 deflated
MAKEFILE.UNI 2288 668 deflated
MAKEFILE.WCC 1634 582 deflated
MATHERR.C 602 355 deflated
OBJECTS.C 29373 6082 deflated
OBJECTS.H 369 206 deflated
POLY.H 1971 871 deflated
POLY_CLI.C 4391 1700 deflated
POLY_SCA.C 4862 1790 deflated
PREPROCE.C 7480 2232 deflated
RAD.BC 189 150 deflated
RAD.CFG 152 109 deflated
RAD.DSK 2518 834 deflated
RAD.LNK 441 152 deflated
RAD.MAK 1888 724 deflated
RAD.PRJ 9331 2130 deflated
RADDECL.H 6881 2023 deflated
RADIOSIT.C 19453 4863 deflated
RASTERFI.H 2315 879 deflated
RAY_BOX.C 2106 907 deflated
RAY_CYLI.C 5151 1474 deflated
RAY_POLY.C 5798 1921 deflated
RAY_SPHE.C 2950 1114 deflated
READ_N_W.C 1643 577 deflated
RENDER.C 12242 3749 deflated
RENDER.H 833 399 deflated
RESOLU.H 1829 827 deflated
RLE.H 15073 3700 deflated
RLE_CODE.H 2163 1024 deflated
RLE_CONF.H 949 421 deflated
RLE_PUT.H 3097 1222 deflated
RLE_RAW.H 3609 1163 deflated
SCAN_CON.C 14322 3562 deflated
TIME.BAT 127 59 deflated
VOX.C 5509 1888 deflated
VOX.H 135 107 deflated
WSTUB.EXE 15108 8919 deflated
README 2450 1100 deflated
README.386 1810 989 deflated
ROOM.DAT 91328 7036 deflated
ROOM.TGA 198171 18834 deflated

Download File RAD386.ZIP Here

Contents of the README file


preview : Radiance Previewer on X11 Terminal
--------------------------------------------

Creates line drawing display of surfaces described in
Radiance input file format. Supports all of the geometric
primitives. However, does not understand a few of the material
properties and all texture, pattern and mixture information.
In a color display, the color of the surfaces are chosen to approximate
their material specification in the input file.
In the absence of a color display the objects are drawn in white.

Additional Feature:
A small command line interface also has been added to help
interactively create a scene.

radfilter : An Input Data Filter
--------------------------------

Converts radiance input file format to the format understood
by "rad".
----------------------------------------------------------------
Suggestions, improvements and bugs may be send to the following address.
------
[email protected]
This distribution has the following directory structure.

distrib -------radiosity (A package to compute global
| illumination by Equilibrium based methods.)
|
-------- bin
|
|
-------- doc
|
-------- src
|
-------- scene --- originals
|
|
--- filter
|
|
src
|
|
preview
(a Radiance
Input file previewer
on X11)
|
|-------- doc
|
-------- src


The package has been developed under UNIX on a SUN-3
workstation. It has been ported to and tested on SUN-4 and DRS-6000
(a SPARC-RISC processor).

'make all' on distrib directory creates the executables.
The executables and their function has been given below.
More detail descriptions
are available in the respective 'doc' directories.
rad : A tool for computation of global illumination for
a 3D scene composed of polygon, sphere,
cylinder, cone and discs with plastic or
mirror surface properties and only diffuse
light sources.
Image formats supported are created in a UTAH-RLE,
Radiance Output Format and SUN-RASTER format.
radfilter: An utility to convert a Radiance Input
scene description to a format suitable for
input to rad. Though 'rad' supports all the
geometric primitives of radiance, it
hardly supports any of the surface properties.
The only ones supported are diffuse without
highlight and mirror. So the filter does a
highly gross approximation of surface information in
radiance input files to one of these two properties.
Example :
All the light sources are assigned diffuse
property.
METAL is assigned mirror reflectance.
Anything else is assigned pure
diffuse reflectance.
preview : A radiance input file previewer on X11 terminal.
Presents a wireframe form of the geometries.
Provides a minimal interface for scene composition.

Execution of 'rad' does not require any additional feature.
However, the execution of 'radfilter' and 'preview' require
that the Radiance utilities are available on the path.
Additionaly 'preview' requires X11 display terminal.

Bugs, suggestions and corrections may be directly send to me
([email protected], [email protected]).
--------
Sumant N. Pattanaik
Graphics & CAD Division
National Centre for Software Technology


 December 10, 2017  Add comments

Leave a Reply