[Radiance-general] Too many questions to fit in the subject

Georg Mischler [email protected]
Thu, 9 May 2002 14:16:30 -0400 (EDT)


Rob Guglielmetti wrote:

>   I struggled with LINUX many
> times, but never got a totally functional system; I was
> rpicting all over the place after a week on OS X.  =8-)

Hi Rob,

I recommend SuSe as an Linux distribution that is relatively easy
to install and configure. Other people seem to get good results
with Mandrake. Don't even think about RedHat if you're not very
familiar with Linux already.


> Philip Thompson, way back in '94, inquired about the
> ability to show surface normal orientation in rview.  Was
> this ever developed?

This may not be exactly what you wanted, but if you use the -bv-
boolean switch, then all faces will become invisible from the
back...

My personal philosophy about this point is (so far anyway), that
this is the task of the modeller you're using. Once you're
running rview (or any similar program), it's really a bit late
to do anything about flipped orientations. The fact that the
orientation doesn't matter at all for most material types in
Radiance has helped me to stick to this position.

Of course, there is the rshow program by Peter, which works on
most unix systems with OpenGL. I don't know if anyone has tried
to port it to OS X though, nor if it can do anything about
surface normals.


> Greg in one of the digests said windows can be modelled
> using a single plane of glass.  (I'm used to Lightscape's
> requirement of two opposite-facing planes, lest you get
> refraction errors in a raytrace.)  Does this hold true for the
> rest of the building?  IOW, a simple room can be modelled
> with a single genbox?  I have been creating an inner
> room and an outer "shell".

Radiance normally does fine with thin boxes. There *may* be light
leaks in low quality simulations when the ambient density is too
loose. But with tougher settings, you will rarely see this.


>   I have seen some
> special sky textures available for mapping to a sphere for
> more realistic environments.  How do these work?  Are
> they transparent placeholders, which merely display a
> picture of the sky but allow the sun & sky luminance to
> "pass through", or do they actually modulate the sky
> luminance as a function of the chromacity of the pixels in
> the sky image?

The latter is the case, as it's a simple colorpict pattern.
You will lose the accountability of the CIE sky model when you
map a picture onto the sky sphere.

Btw: Rayfront has a simple drop-down box in the sky configuration
dialog to select sky maps... ;)


>   It would be great if
> there was a way to substitute autocad blocks for
> instanced rad files!  One could export the blocks as
> separate rad files, but is there a way to take a series of
> insertion point coordinates and build a rad file that
> instances the "block" rad file at those
> coords/orientations?

In theory, this sounds easy. In practise, it would open a
pandora's box of consistency problems, not to mention the
questions about how to assign materials to subentities within
such blocks that are placed on different layers. I have been
pondering those issues for years, and haven't come up with a
practical solution yet.

I think there was some talking about doing this for Desktop
Radiance, but I have no idea if they actually got around to
implement anything of the kind. Since DR never looks back at the
Radiance data it has written, but simply overwrites it when you
change anything within Autocad, it can avoid many (but not all)
of the consistency questions.

If you're feeling adventurous and know some Autolisp, then you
could try to hack my old torad.lsp translator. If you manage to
come up with a fool proof solution, then I'll immediately
integrate it into Radout.


> Along those lines, is there a way to create a grid or really
> any series of points in autocad (via nodes, or blocks or
> whatever) and then have the coordinates of those points
> be fed to rtrace for lighting analysis?  I know you can feed
> rtrace the points, but I'm interested in a way to have
> autocad export the information rather than me figure out
> the points manually.  I like to draw the stuff and have
> CAD keep track of all the math, ya know?

Both DR and Rayfront can do this for you.


> I found a nice collection of materials online (Kevin
> Matthews, Design Workshop).  Some of the cal files are
> missing, but many of the materials are usable.  Does
> anyone else have material & light libraries they are willing
> to share?  I'm also really interested in obtaining
> definitions of translucent materials, such as one would
> find in a light fixture (sandblasted glass, acrylic, etc).

If anyone wants to share their creations, I'd be more than
willing to establish and maintain an online repository.
Of course, if you use materials that others have created and
expect them to be physically meaningful (beyond just looking
nice), then you'll have to run some sanity checks on them
yourself, especially if you're thinking about procedural
definitions.


> Paul Bourke offers some great tree examples.  Again,
> does anyone have other blocks they are willing to share
> (vegetation, furniture, you name it)??  =8-)

If you buy DesignWorkshop, then I think you also get a tree
generator program, which produces data that can be exported to
the Radiance scene file format.


> I tried the first one and my PowerBook G4 550 rendered it
> in 582 secs, which is almost exactly three times as long as
> the render time for a 1.5 GHz P4 (see the site for more
> times).  Is it just coincidence, or is there a fairly direct
> correlation between CPU speed and render time,
> regardless of processor type?

There's something wrong either with your machine, or with the
OS X port of Radiance. There is no direct relation of processing
power and clock speed between different CPU types.  In general,
PowerPC CPUs require about half the cycles for the same results
(ie. your 550 MHz G4 is roughly aequivalent to a 1 GHz P4). If
you get only the same performance per cycle on your G4, then
you're probably running into a system bottleneck of some kind
(disk access, RAM size etc.).

Does your HD go to sleep when it isn't accessed for a few
minutes, or do you have any other power saving features turned
on? Were the Radiance binaries compiled with comparable
optimization flags? It may also be that a laptop simply has a
relatively slow HD installed to preserve energy. If you're low on
RAM, then this could stall a Radiance simulation to some degree.


> Makes Apple's ad copy
> about the "Velocity engine" in the G4 seem like a load of
> bunk (which I suspected in the first place).

No, this must have something to do with your specific system.
The G4s *are* faster than most Pentiums out there.


>   Interestingly, there is a benchmark for a dual 2GHz
> PC, which was only 50% faster than the single 1.5 GHz.
> I'm interested in parallel processing, but this seems to
> make a case against it.  What are your experiences out
> there in the field?

Linux isn't optimized for multi-CPU systems yet, although it's
getting better. It is even more difficult to directly equate
clock speed with processing power on multi-CPU system than it
already is with normal boxes. The overall architecture of the
system (both in hardware and software) can influence the result
up to a factor of 50% or more. If the amount and type of your RAM
or the configuration of your HD isn't carefully balanced against
the CPU specifications, then you'll get quite surprising results.


-schorsch

-- 
Georg Mischler  --  simulations developer  --  schorsch at schorsch.com
+schorsch.com+  --  lighting design tools  --  http://www.schorsch.com/