[Radiance-general] Re: spatial scale in .obj file

bei.xiao at gmail.com bei.xiao at gmail.com
Sat Dec 5 12:42:01 PST 2009


thank you so much! Sorry about the attachment.

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
>
>> From: bei.xiao at gmail.com
>> Date: December 4, 2009 6:31:34 PM PST
>>
>> Hi,
>>  Does anyone know how to recover the spatial scale in an .obj file?
>> For example, I have an .obj file of a sphere, without any more
>> information, can I recover its radius in cm?  Also, is the number in
>> .obj or .rad file specified in cm? Attached please find the .obj file
>> of the sphere.
>>
>> Thank you very much.
>>
>> Bei
>>
>> --
>> Daily quote:
>>
>> "Real generosity toward the future lies in giving all to the present. "
>>
>> -Albert Camus
>>
>> Bei Xiao, PhD
>> Postdoctoral Scientist
>> The Smith-Kettlewell Eye Institute
>> 2318 Fillmore Street
>> San Francisco, CA 94115
>> (415) 3452149
>> flickr:www.flickr.com/photos/slowtempo
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>



-- 
Daily quote:

"Real generosity toward the future lies in giving all to the present. "

-Albert Camus

Bei Xiao, PhD
Postdoctoral Scientist
The Smith-Kettlewell Eye Institute
2318 Fillmore Street
San Francisco, CA 94115
(415) 3452149
flickr:www.flickr.com/photos/slowtempo



More information about the Radiance-general mailing list