[Radiance-general] Re: spatial scale in .obj file
Greg Ward
gregoryjward at gmail.com
Sat Dec 5 13:32:49 PST 2009
Hi Bei,
Radiance doesn't have any notion of length units, so they are whatever
was specified when creating them, or whatever units you want them to be.
-Greg
> From: bei.xiao at gmail.com
> Date: December 5, 2009 1:20:14 PM PST
>
> Hi Greg,
> Just to confirm, is the unit of xmin in cm?
>
> Thanks.
>
> Bei
>
> On Sat, Dec 5, 2009 at 9:06 AM, Greg Ward <gregoryjward at gmail.com>
> wrote:
>> Hi Bei,
>>
>> The command:
>>
>> % obj2rad test.obj | getbbox
>>
>> returns:
>> xmin xmax ymin ymax zmin zmax
>> -1.58231 1.51769 18.3588 21.4588 0.949999 4.05
>>
>> From this, you can deduce that the sphere has a radius of 3.1 and is
>> centered at the average of the above coordinates, or (-.0323, 19.9,
>> 2.5).
>> You can also run objview on the output of obj2rad (after adding a
>> material)
>> and look at it.
>>
>> In general, we discourage people from posting attachments to the
>> mailing
>> list, but this one was pretty small so hopefully it won't cause any
>> trouble.
>>
>> Cheers,
>> -Greg
>>
More information about the Radiance-general
mailing list