Christian Froeschlin <chr### [at] chrfrde> wrote:
> Note this is not a well-defined problem since there is freedom
> of rotation along the axis between the two points. This can make
> it harder to find the desired solution since attempts to solve
> the generic case with math breaks down without further input.
Correct. I have a plan for my end scene, where I can probably extract normals
from those endpoints and so orient the boxes so a flat side is out.
I figured the rotation around that final axis may be object-specific depending
on what a user might want to orient and why. But the first step was to get the
bounding box moved so that the face centers were coincident with the desired
endpoints.
Post a reply to this message
|