···
------------------------------------------------------------------------------
The source distribution contains an older version of libtiff, was this
version modified to suit the needs of radiance, or is it replaceable by the
libtiff which is shipped by Debian?
It probably works with the new version. My problem was getting the newer
version to compile on Macs and FreeBSD was proving problematic, and I didn't
need any of its features so I was lazy and just fell back to one that worked.
------------------------------------------------------------------------------
Where's the difference in the build process between using 'makeall' and the
SConstruct file with scons? Except that building fails when it is done by
scons:
gcc -o bin/rhpict src/hd/rhpict.o src/hd/rhpict2.o src/rt/Version.o
src/hd/holofile.o src/hd/holo.o src/hd/viewbeams.o -Lsrc/lib -lrtpic
-lrtio -lrtproc -lrtargs -lrtmath -lrtmem -lrterror -lm
src/lib/librtargs.a(badarg.o): In function `badarg':
badarg.c:(.text+0x63): undefined reference to `isfltd'
badarg.c:(.text+0x98): undefined reference to `isintd'
collect2: ld returned 1 exit status
scons: *** [bin/rhpict] Error 1
scons: building terminated because of errors. </code>
Georg Mischler <schorsch@schorsch.com> is responsible for the SCONS build
system, which is there to make compiling under Windows less painful. I don't
know what its status is, and Schorsch has been pretty difficult to raise these
days.
------------------------------------------------------------------------------
If I'd provide a package with optimized binaries for i386/sse3, which programs
would you recommend to build in an optimized version?
Definitely the renderers, "rpict," "rtrace," and "rvu" built in src/rt. After
that, maybe some of the libraries in src/common, especially the cal*.c routines.
I'd have to think about it after that....
------------------------------------------------------------------------------
- There're some manpages missing:
W: radiance: binary-without-manpage usr/bin/debugcal
W: radiance: binary-without-manpage usr/bin/genambpos
W: radiance: binary-without-manpage usr/bin/genrhgrid
W: radiance: binary-without-manpage usr/bin/glaze
W: radiance: binary-without-manpage usr/bin/mgf2inv
W: radiance: binary-without-manpage usr/bin/mgfilt
W: radiance: binary-without-manpage usr/bin/nff2rad
W: radiance: binary-without-manpage usr/bin/objpict
W: radiance: binary-without-manpage usr/bin/optics2rad
W: radiance: binary-without-manpage usr/bin/pcwarp
W: radiance: binary-without-manpage usr/bin/pdelta
W: radiance: binary-without-manpage usr/bin/pgblur
W: radiance: binary-without-manpage usr/bin/plot4
W: radiance: binary-without-manpage usr/bin/ra_hexbit
W: radiance: binary-without-manpage usr/bin/ra_pfm
W: radiance: binary-without-manpage usr/bin/rlux
W: radiance: binary-without-manpage usr/bin/rview
W: radiance: binary-without-manpage usr/bin/vinfo
W: radiance: binary-without-manpage usr/bin/xyzimage
do you know if there're any manpages for those tools hidden somewhere, or if
somebody else is working on them? If not I'll go and write minimal manpages
for them.
I never wrote man pages for these, as they are specialty programs used by
experts, for the most part. Some aren't used at all, and probably shouldn't be
compiled (like pcwarp and plot4). No one else has written man pages for
anything, as far as I know. You are welcome to give it a go if you have time,
but I don't even have time at the moment to go through them, really.
https://ssl.recluse.de/svn/debian/trunk/packages/radiance/debian/radiance-experttools.sgml
------------------------------------------------------------------------------
there're some wish scripts in src/utils which were written for wish3.6, but
8.4 or so is the actual version - are there any issues I could run into while
shipping them?
I don't think the trad code works anymore, and I haven't had time to update it.
I imagine it would take some effort -- a day or two or three.
(trad is not included in Debian therefore)
------------------------------------------------------------------------------
Could you provide me with a list of tools which shouldn't be
compiled/distributed at all? For all others I'll write minimal manpages
as long as they have some useful output with --help, for all others I'll
write some default manpage.
Actually, we did a build clean-up a while ago and pulled out all the completely
useless programs. The plot4 program actually serves a purpose, which I only
remembered after I sent the e-mail. The pcwarp program is more experimental,
and should probably be pulled.
------------------------------------------------------------------------------
Do you have any font converters,
or was the conversion of helvetica and verdana done manually?
As I recall, Paul Haeberli had a really simple polygonal font format, similar to
my own, and it was a snap to convert. If you have something that already parses
the foreign format, and it's not difficult to add a new output format, the one I
use is quite simple. It's described in:
http://radsite.lbl.gov/radiance/refer/filefmts.pdf
------------------------------------------------------------------------------
in my opinion you want to add
https://ssl.recluse.de/svn/debian/trunk/packages/radiance/debian/patches/rholo-missing-devpath-fix.dpatch
to the next version of radiance to make sure rholo finds its dev files even
when they're not living in a default directory. I'm not 100% sure what happens
if DEVDIR is not set, though, but I guess it will just take the default.
If the DEVDIR is not set, and it usually isn't, rholo searches for its device
drivers in subdirectories named dev/ in each of the executable PATH locations.
In other words, installing the drivers in dev/ under the Radiance executable
directory should always work. I put DEVDIR in there as a precaution for strange
systems that might cause a collision. It's never happened.
according to the FHS such files have to go to /usr/lib, therefore I have to
change those paths. Btw, would it make sense to include rholo in the package
with the sse3 optimized binaries? It seems to be kinda cpu intensive, if I
understand the manpage right. Do you probably have some small example I could
use to test rholo? Unfortunately nobody here ever used it.
The files you're putting in /usr/lib are executables if that makes any
difference -- did you mean /usr/local/lib? It seems odd to install things in
the main system directory. I wouldn't want them there if I were a user
installing a third-party package.
Rholo calls rtrace to do most of the CPU-intensive work, but you can compile it
however you think best.
To test, go to the ray/obj/cabin directory and trun "make nholo." You might
also alter the nholo target to set -n 2 to make sure multi-processing is working
right, and "-o x11" rather than "-o ogl" to try out the quadtree driver.
The ogl driver just produces random weird pixels in linux - but x11 works
fine.
I have another question for you:
Does it make a difference if I build radiance with -ffast-math?
According to the gcc manpage this makes only a difference for programs
which depend on an exact implementation of IEEE or ISO
rules/specifications for math functions. Is this the case for radiance?
I'm sorry but not surprised to hear the OGL driver doesn't work under Linux.
They seem to have a pretty loose idea of this standard. It works under Mac OS
X, but then, that's where I'm able to test and debug it.
As for -ffast-math, there shouldn't be a problem for Radiance. It doesn't rely
on exact trig calculations or the like.
------------------------------------------------------------------------------
The only problem I run into now is that rview is a link to vim these
days, and something I can't overwrite or reuse. Is it a problem if I
remove the rview link, or do I have to patch anything?
The rview program was renamed to rvu just to avoid the conflict with vim. I put
a soft link in for backwards-compatibility, but you can safely remove it if it
causes problems.
https://ssl.recluse.de/svn/debian/trunk/packages/radiance/debian/patches/no-rview-please.dpatch
------------------------------------------------------------------------------
And last but not least:
bzed@hal:~$ wget -q -O - http://www.radiance-online.org/main.html |
grep hemp
<a href="hemp://radsite.lbl.gov" target="_top">LBNL</a>, <a
href="hemp://www.epfl.ch" target="_top">EPFL</a>, then
--
Bernd Zeimetz
<bernd@bzed.de> <http://bzed.de/>