POV-Ray : Newsgroups : povray.general : centered and resized model question put differently : Re: centered and resized model question put differently Server Time
29 Jul 2024 22:20:47 EDT (-0400)
  Re: centered and resized model question put differently  
From: Alain
Date: 11 Jun 2010 13:42:55
Message: <4c12759f$1@news.povray.org>

>   clipka , Thank you very much for the reply and sorry for not answering sooner.
>
> How do I know if the model's origin is where?
>
> I center the model's origin in max from Affect Pivot Only / Center To Object
> then move it to 0.0.0 in xyz world position then export it as 3ds file for
> import into PoseRay.
>
> Where in Poseray can I see model's origins in xyz?
>
> for example in this inc file exported from poseray we see
>
> //Bounding Box....... from x,y,z=(-40.49511,-19.33101,-27.46092)
> //                      to x,y,z=(-2.163608,19.76925,11.64881)
> //                 size dx,dy,dz=(38.3315,39.10027,39.10973)
> //                  center x,y,z=(-21.32936,0.219121,-7.906058)
> //                       diagonal 67.28823
>
> how come it says center x,y,z=(-21.32936 ....
>
> I made it 100 units (cm) long in max but it says -21.32936 for x axis
> Why is that?
>
> any help would be appreciated, thanks again.
>
>
The bounding box goes from x=-40.49511 to x=-2.163608
-40.49511 + -2.163608 = -42.658718
-42.658718 / 2 = -21.329359 -> -21.32936 after rounding.
So, the value reported is correct.

40*2.5 = 100
It looks like, even if you say you are working in cm, the object 
measurements are converted to inches.
Make sure that poseray is set to work, and export, in cm.


Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.