Request for new primitives


RE: Request for new primitives
#9
(Yesterday, 15:18)Manfred Schaefer Wrote: Sorry, but I don’t quite understand your answer.
If I need a circular segment ranging from 22.5° to 45°, the only option I can see is to use the primitive that ranges from 0° to 22.5° and rotate it by 22.5°. However, this rotation causes rounding errors, which should be avoided.
What’s more, the number of decimal places should be kept to a minimum, otherwise this can lead to further problems. As is currently the case with flat designs, where the limit is three, if I remember correctly.
This is an example of converting the challenging angles to easier angles.
You'd rotate the prim by 45°.

You are correct in that 3 decimals are usually enough for vertex coordinates. In rotation matrices, however, more decimals (up to 6, sometimes even 7 if motivated properly) can be used to maintain reasonable accuracy of the resulting vertices.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Request for new primitives - by Peter Blomberg - Yesterday, 15:27

Forum Jump:


Users browsing this thread: 3 Guest(s)