Subject:
|
Re: Batch .pov file creation?
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sat, 29 Sep 2001 13:07:13 GMT
|
Viewed:
|
771 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
"Jake McKee" <sink@countersinkdg.com> writes:
> One question though, when my rectangular object rotates, it tends
> get cut off on some frames. The center of the object is not
> rotating around the center point of the rendering window. Instead
> the rotation point seems to be pushed towards the end of the
> rectangular object. Any ideas on how to fix this?
If the object you want to rotate around is not in the centre, you may
want to try to centre it. If you're using output from L3P, you should
look for the last "object" definition. It would typically look like
this:
object { model #if (version >= 3.1) material #else texture #end { Color4 } }
Add a "translate" statement to the end to try to centre the object:
object { model #if (version >= 3.1) material
#else texture #end { Color4 }
translate <X, 0, Z>
}
Put some values in the X and Z fields to specify where to move the
object.
You can also try to offset the camera, something like this:
camera {
[...]
location <0, -50, -100>
look_at <0, -50, 0>
rotate <0, 30*clock, 0>
translate <X, 0, Z>
}
Note that the order of the rotate and translate statements is
significant! I haven't tried this method, so I don't know if there
are any wierd side effects.
Fredrik
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Batch .pov file creation?
|
| (...) This worked like a champ! Thanks! One question though, when my rectangular object rotates, it tends get cut off on some frames. The center of the object is not rotating around the center point of the rendering window. Instead the rotation (...) (23 years ago, 29-Sep-01, to lugnet.cad.ray)
|
12 Messages in This Thread: ![Batch .pov file creation? -Jake McKee (28-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: Batch .pov file creation? -Jeremy H. Sproat (28-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: Batch .pov file creation? -Jake McKee (28-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: Batch .pov file creation? -Lothar Teichert (29-Sep-01 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Batch .pov file creation? -Fredrik Glöckner (29-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: Batch .pov file creation? -Jake McKee (29-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Batch .pov file creation? -Michael Horvath (30-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![LDA2001 and batch .pov file creation -Tore Eriksson (30-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: LDA2001 and batch .pov file creation -Lars C. Hassing (30-Sep-01 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: LDA2001 and batch .pov file creation -Tore Eriksson (30-Sep-01 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: LDA2001 and batch .pov file creation -Tore Eriksson (24-Oct-01 to lugnet.cad.ray)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|