Rounding Errors in primitives?

RE: Rounding Errors in primitives?
#3
(2021-03-25, 18:42)Tery Hamer Wrote: For Rings, Cones the vector points for higher values of radii are a multiple of the cos/sin values of the segment angles times the radius. However, it would appear that the rounding is carried out on the cos/sin for the base radius (1, as used for Circle, Disc, etc), and <then> multiplied. That would be a No-No.  For the base and lower radii, the error may be only 0.0001 in a few cases.  But for the higher radii, these rounding errors mount up and impact the third decimal position.
Hi Teri,
Welcome here!
Very good observation... and actually, this is intended. For historical reasons, rings and cones are not normalized. Rounding is done this way for ring and cones (ok, seems weird at first sight!!!) so their vertices match exactly those of scaled normalized primitives (edges, cylis, discs and so on...)
« Next Oldest | Next Newest »

 Messages In This Thread Rounding Errors in primitives? - by Tery Hamer - 2021-03-25, 18:42 RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-03-25, 19:43 RE: Rounding Errors in primitives? - by Philippe Hurbain - 2021-03-25, 19:45 RE: Rounding Errors in primitives? - by Tery Hamer - 2021-03-25, 23:34 RE: Rounding Errors in primitives? - by Chris Dee - 2021-03-26, 12:17 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-04-29, 19:59 RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-04-29, 20:14 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-04-29, 20:43 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-04-29, 20:48 RE: Rounding Errors in primitives? - by Magnus Forsberg - 2021-04-29, 20:54 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-04-29, 21:44 RE: Rounding Errors in primitives? - by Magnus Forsberg - 2021-05-02, 19:45 RE: Rounding Errors in primitives? - by Magnus Forsberg - 2021-05-03, 15:57 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-05-05, 8:33 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-05-05, 8:50 RE: Rounding Errors in primitives? - by Magnus Forsberg - 2021-05-05, 15:29 RE: Rounding Errors in primitives? - by Orion Pobursky - 2021-05-06, 18:58 RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-05-06, 18:48 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-06-06, 11:49 RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-06-06, 23:16 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-06-10, 17:42 RE: Rounding Errors in primitives? - by Orion Pobursky - 2021-06-10, 17:59 RE: Rounding Errors in primitives? - by Lasse Deleuran - 2021-06-11, 8:02 RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-04-29, 21:58

Forum Jump:

Users browsing this thread: 1 Guest(s)