Sketchup to Radiance for win users?

Hello everybody,
I am trying to find a workflow tutorial of radiance after a sketchup export
on windows...
Do you have any idea?
Someone could give me the main steps?



Valère Paupelin-Huchard

If this is about Radiance in general buy the book

     'Rendering with Radiance' by Ward/Shakespeare

or see here:

If this is about my script to export from Sketchup, here's the idea:

The script creates a common file structure of Radiance scene files
where you have at the top level

   - a materials.rad file with all material definitions
   - a <scenename>.rad file with references to the geometry files
   - a <scenename>.rif file as input for 'rad'
   - the 'objects/' directory with the actual geometry
   - the 'skies/' directory with the sky definition
   - the 'views/' directory with one file per exported perspective
   - a bunch of other directories

Because the script is incomplete the first thing you have to do
is to replace all the material definitions in the 'materials.rad'
file with actual physical materials. You can find a number of
materials in the Radiance distribution or on the internet. It's
worth to reduce the number of materials in the model before exporting.

The next thing you may want to do is to add some keywords to the
<scenename>.rif file. There are some standard options which I forgot
to add. You can use the free Radiance Control Panel to view and
change the settings in a GUI:

If you want to do actual daylight analysis check also the parameters
of the sky description. In particular the meridian and skytype are
more or less guesswork.

If you have checked all the above, go to the directory of the '.rif'
and '.rad' file. All references in the '.rad' file assume that your
working directory is this directory when you start Radiance apps.

To start an interactive preview with rvu (not available on Windows)

     rad -o x11 <scenename>.rif

To render one perspective (as listed in the '.rif' file) type

     rad -v <viewname> <scenename>.rif

To render all pictures type

     rad <scenename>.rif

All these commands will work on Linux/OS X. I have not used Radiance
on Windows yet (as cygwin or mingw) but I think the commands should
behave similarly to the Unix versions.

Once you have rendered the images you can download the Radiance image
viewer from Square1 to view and analyse your images:

The viewer that comes as part of Radzilla should also work on Windows.
Everyone else uses ximage.

One feature I have not mentioned yet is the feature to export points
on a working plane for calculation with rtrace. You have to create
a layer called 'numeric' in your SketchUp scene. All the polygons on
this layer will be exported as a grid of points with 0.25m distance.
The files will be exported to the 'numeric/' folder with a filename
based on the group or scene name.


You have created a room with windows etc. Copy the 'floor' of the room,
move it 0.75m up (Z-axis) and create an offset of 0.4m from the edge.
You have now a plane floating in space. Move this plane to the layer
'numeric' and create a group out of the plane only or the plane and
the room geometry (recommended because you can move or copy the whole
ensemble at once). Give the group a name (say 'room1' and when you
export the scene make sure the 'numeric/' level is visible.

This will create the file 'numeric/room1.fld' with one line for each
point in the form 'x y z 0 0 1'. This format can easily be piped to
rtrace for calculation:

     rtrace -ab 3 -ov <scenename>.oct < numeric/room1.fld > numeric/room1.irr

(provided that there is already a <scenename>.oct). Don't forget to
check/edit the material for your window. It's very likely that your
glass material is not at all transparent.

If you modify this a bit and use '-oodv' as the output format you can
use the 'Plugins/Radiance/numeric input' menu entry to create a 3D surface
from the calculated values.
... perhaps. This is highly experimental. Use at your own risk.

Have fun and report errors,


On 31 Oct 2007, at 14:24, Valère Paupelin-Huchard wrote:

Hello everybody,
I am trying to find a workflow tutorial of radiance after a
sketchup export on windows...
Do you have any idea?
Someone could give me the main steps?

When I'm old I want to be a wiki page at
      -- anonymous email