"Aj" <nomail@nomail> wrote:
> Hello everyone,
> I created a spline object using the following code, but I could not get the
> proper camera position. I was wondering if there is some systematic way to
> figure out the camera position, and angle and look at vectors for a given shape.
Yours might be easier, given that you have the grid locations on axes to guide
Try imagining how the image you posted could be rotated in reverse to straighten
the axes in the camera frustrum, and use those transforms on the object.
The actual camera position might be a bit of trial and error to get exactly
The look_at position might be obtained by extrapolating the x/z grid ticks and
applying that inverse rotate transform.
Maybe Francois LeCoat has a clever solution, as this seems right up his alley,
or TOK has some words/code lines of wisdom to offer.
Post a reply to this message