|
![](/i/fill.gif) |
also, you could look at moray-generated-pov-code. moray uses local
coords for just about every object. pov doesn't directly support local
object coordinates, so moray does a trick. let's take a unit cube (1
unit from center in all axes) for example. say you want the local
coords to be .5 along the x direction. first, move the model -0.5 in
the x direction. your local coord point now rests on the origin. after
this translation so your scale, rotation, and final translation, in that
order. if you move the local origin in all three axes, simply add them
to your initial translation. rinse. repeat as needed.
Thorsten Froehlich wrote:
>
> In article <3973e87a@news.povray.org> , "Jason Miller"
> <jas### [at] pinheiro tcimet net> wrote:
>
> > Is it possible to rotate the camera around the vector formed by its position
> > to the point it is looking at? I ask because a scene I am doing turned out
> > to be 90 degrees off.
>
> Read the documentation section "Scene Description Language : Camera :
> Placing the Camera". What you want to learn more about are the "up" and
> "right" attributes.
>
> Thorsten
Post a reply to this message
|
![](/i/fill.gif) |