Needed Source Code

Dear Group

Does anyone here have any C source code toobtain either the Y-X dimensions or the aspect ratio from a Radiance *.pic file ? Also, does anyone here know if there are any tools available to reorient (i.e. change surface normal direction) of a polygon primitive in Radiance.

Thanks

Marcus D. Jacobs

···

_________________________________________________________________
<b>MSN 8:</b> Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup

Marcus Jacobs wrote:

Does anyone here have any C source code toobtain either the Y-X dimensions
or the aspect ratio from a Radiance *.pic file ?

Why not use the original?

  http://radiance-online.org/cgi-bin/viewcvs.cgi/ray/src/util/getinfo.c?rev=HEAD&content-type=text/vnd.viewcvs-markup

Also, does anyone here know
if there are any tools available to reorient (i.e. change surface normal
direction) of a polygon primitive in Radiance.

I'm not aware of anything simple that's freely available.

-schorsch

···

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

As Schorch points out, getinfo -d will give you the image dimensions. You can change the surface normals of all surfaces in a file using xform -I.

-Greg

···

From: "Marcus Jacobs" <[email protected]>
Date: Tue Aug 19, 2003 12:06:43 PM US/Pacific

Dear Group

Does anyone here have any C source code toobtain either the Y-X dimensions or the aspect ratio from a Radiance *.pic file ? Also, does anyone here know if there are any tools available to reorient (i.e. change surface normal direction) of a polygon primitive in Radiance.

Thanks

Marcus D. Jacobs