|
|
"Tom A." wrote:
>
> I was going to put some text on a triangle, and was wondering how to do
> it.
>
> given a triangle with three points (p1, p2, p3) I can get a normal by
> using a cross product of (p2-p1) and (p3-p1).
> Now that I have that, I can't figure out how to use it to rotate my text
> so it is on the plane defined by the three points.
>
> (I can position the text once I have the rotation - I was going to
> translate it to (p1+p2+p3)/3 which puts it in the middle of the
> triangle.)
>
> Any help?
You can for example try uv-mapping or use the 'Reorient_Trans()' macro.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|