Hi Olivier,
The simplest method is to use rtrace. You can separate your polygons by name with:
vwrays [resolution & view options] | rtrace -h -osv scene.oct | sort > surfaces.txt
You should get a selection of radiance values for each surface based on the selected view. If you want orthonormal values for _every_ polygon, not just those visible from one perspective, more sophisticated methods are needed. You would have to read in the scene file and generate a custom view for each polygon. It can be done, but it might require some scripting/programming to accomplish it.
-Greg
P.S. If you want irradiance/illuminance values rather than radiance/luminance, use the rtrace -i option.
···
From: Olivier Penacchio <[email protected]>
Date: November 12, 2013 5:36:30 AM PSTHi Everyone,
I am using Radiance to render objects using realistic lighting conditions.
The objects I use are represented as triangulated polyhedra. Currently I'm accessing
the radiance outgoing from the objects in a scene using rendered images (rpict and then pfilt)
of the scene (with no information anymore on each single triangle).I am wondering whether it is possible to have access to the
radiance outgoing from each triangle directly (as a list of values, one for each triangle
for example)?I'm running minGW radiance in windows (with a Matlab wrapper), but could
switch to Linux if required.Best wishes,
Olivier---Dr Olivier Penacchio---
School of Psychology & Neuroscience
St Mary's Quad
South Street
St Andrews
Fife
KY16 9JP
Scotland, United Kingdom
Tel: +44 (0) 1334 462099
Fax:+44 (0) 1334 463042
Email:[email protected]_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general