[Radiance-general] Access to outgoing radiance at polyhedra level
Greg Ward
gregoryjward at gmail.com
Tue Nov 12 09:54:49 PST 2013
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 <op5 at st-andrews.ac.uk>
> Date: November 12, 2013 5:36:30 AM PST
>
> Hi 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:op5 at st-andrews.ac.uk
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20131112/ed56b890/attachment-0001.html>
More information about the Radiance-general
mailing list