[Radiance-general] Radiance Utility to Identify Geometry Identifier Name

Andrew McNeil amcneil at lbl.gov
Wed May 27 10:59:01 PDT 2015


I'm always amazed when Greg brings out these little gems that have always
existed, but nobody really knew about. I honestly don't think looked at the
man page for ximage before today.

Andy

On Wed, May 27, 2015 at 10:44 AM, Greg Ward <gward at lmi.net> wrote:

> If you have X11, you can pipe the output of ximage into rtrace and use the
> 't' key to retrace individual rays.  You need to give rtrace the scene
> octree and set its -o option to report the information you need, like
> "-oms" to report the intersected surface's modifier and name:
>
>        ximage render.hdr | rtrace -h -oms scene.oct
>
> Cheers,
> -Greg
>
> Sent from my iPad
>
> > On May 27, 2015, at 6:33 PM, Guglielmetti, Robert <
> Robert.Guglielmetti at nrel.gov> wrote:
> >
> > You could just use the "trace" command in rvu too; it will return the
> coordinates of the surface, and then the modifier. But I think Andrei wants
> specifically to query the output HDR, not the octree. (?)
> >
> > - Rob
> >
> > On 5/27/15, 10:24 AM, "Thomas Bleicher" <tbleicher at gmail.com<mailto:
> tbleicher at gmail.com>> wrote:
> >
> > Andrei
> >
> > Greg has developed just such a tool. rvu has a command line option that
> allows you to query the surface under the cursor. I don't have a Radiance
> installation around but you should find it in the man page.
> >
> > It was either that or a cunning pipe between the output of rvu (view
> direction) and rtrace to report the modifier.
> >
> > On Wed, May 27, 2015 at 10:53 AM, Kolomenski, Andrei (JSC-SF311)[WYLE
> INTEG. SCI. & ENG.] <andrei.kolomenski at nasa.gov<mailto:
> andrei.kolomenski at nasa.gov>> wrote:
> > Hello Dear Radiance Community,
> >
> > I'm curious if it is possible to identify a specific geometry primitive
> identifier name in a .rad file given an .hdr image of the octree that uses
> this geometry .rad file? I have a .rad geometry file that contains numerous
> polygons and it would be helpful to be able to identify a specific polygon
> identifier name by simply clicking on its surface within an .hdr image.
> This is useful for debugging purposes, where the geometry consists of a
> large number of geometry primitives.
> >
> > If anybody has developed a Radiance utility that performs this task, I
> would greatly appreciate it you could share it or give some insight into
> the procedure.
> >
> > Best Regards,
> > Andrei Kolomenski
>
> _______________________________________________
> 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/20150527/cee1f8d3/attachment.html>


More information about the Radiance-general mailing list