[Radiance-general] recompiling ambient.c

Carsten Bauer [email protected]
Wed, 25 Sep 2002 10:14:20 +0200


Hi Roland !

What is rpict_random ?? Never heard of it, maybe I missed something.
(probably a normal rpict compiled with -DMC ??)...

For the compiling issue: If you already have the sources, then just
start the normal installation script (follow the README). You will be
asked for a directory, where to put the new executives in. Specify a new
one for that, separate from the one in which your precompiled binaries
are residing. So you won't spoil them no matter what happens during the
compiling of the new ones. Later, you can move them to the place you
want.

Concerning the -Dtracktime=0 switch: You can set this in the rmake
script, as you already know. Just put it among the other -D's at the top
of the file. The ominous rmake resides in the directory where all the
Radiance executives can be found, i.e. the one you specified for putting
the executives in during the installation procedure. During installation
you will be asked if you want to edit the rmake script, this is a good
chance to put in the critical switch, too.

There is one pitfall when you do recompilings later, (without the
installation script): Then the rmake will be searched in the directories
specified by the 'path' environment variable, like every other
executive. So if you gave a 'dummy' directory during installation, you
have to copy the rmake into your ray/radbin_lnx directory, too.

Having done this, you can do recompilngs of just what module you want by 
entering the source subdirectory and typing - example:

(in ray/src/rt:)
$> rmake rpict


Good luck !

Carsten