|
|
>>This seems to work...
>>
>>In case it way be of use to anybod else...
>
>
> Could you provide an example of use? I can't get it to work in the test
> scene below. Granted, it doesn't use a parallelogram, but it looks like it
> is meant to handle other coplanar points too. Besides, doesn't work with a
> parallelogram either. If you really need it for parallelograms only, then I
> can think of a simpler solution that uses a box instead of a prism.
It *is* supposed to work for any polygone. Apparently it doesn't...
Please rip out the line at the end of DrawPoly() that says
Reorient_Trans(y, Norm)
and replace it with
Shear_Trans(V3, V1, V2)
Let me know if that fixes the problem...
Post a reply to this message
|
|