[Radiance-general] How to parse room dimensions from .rad model ?
Greg Ward
gregoryjward at gmail.com
Wed Feb 12 14:18:57 PST 2014
The size returned by "getinfo -d octree" is the cube side length, which is of course the same in all three dimensions.
-Greg
> From: Vaib <vaibhavjain.co at gmail.com>
> Date: February 12, 2014 2:08:22 PM PST
>
> getbbox will solve the issue at hand. Rooms/scenes are mostly right rectangular prism; and also they are normally kept aligned with principal axes, only the sky (if with sun) is rotated to change the North. I guess, to rotate the sky instead of the scene must be preferred for modeling architectural scenes in Radiance.
>
> Further, just out of curiosity: getinfo -d foo.oct gives [Xmin, Ymin, Zmin, Size] of the bounding cube (I guess cuboid too?). I couldn't figure what does Size mean? Is it Xmax or Y/Zmax?
>
> Thank you for your time!
>
> Best regards,
> Vaib
>
>
> On 7 February 2014 18:47, Greg Ward <gregoryjward at gmail.com> wrote:
> Yes, let's keep this on the general mailing list. The dev list is primarily for development/debugging issues.
>
> The getbbox command will give you a tight box (right rectangular prism) on the entire scene, whereas oconv will report an enclosing cube. However, this won't help you much if your space is non-rectangular or not axis-aligned.
>
> A general tool for extracting the walls from a room is technically the 3-D convex hull problem. There are programs out there to compute this, but I haven't played with them.
>
> Best,
> -Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140212/2dc82095/attachment.html>
More information about the Radiance-general
mailing list