Hazeron Forums
New Designer Calculates Incorrect Volume - Printable Version

+- Hazeron Forums (https://hazeron.com/mybb)
+-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=17)
+---- Forum: Closed Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=18)
+---- Thread: New Designer Calculates Incorrect Volume (/showthread.php?tid=147)



New Designer Calculates Incorrect Volume - Mr. Mortius - 07-29-2018

A 46.4443393 x 46.4443393 x 46.4443393 meter cube reports as having a volume of 94,569 instead of 100,184 as it should. This occurs for other shapes too, seemingly at random.

Edit:
This occurs for cubes without that degree of precision. A 46.45^3 cube had the same issue.

Edit:
10x10x100 + 2x4x23 prisms still report as 94,569 instead of 100,184 m^3.

This optimized city for a 1,800 meter harsh environment world has 93 m^3 of tolerance out of 1638400 m^3 possible volume, or an allowable error of .0057%. It's difficult to design to that accuracy when the designer doesn't report volumes correctly.


RE: New Designer Calculates Incorrect Volume - Haxus - 08-08-2018

The volume calculation is an approximation. Do not expect a high precision result.

Also, a bug recently fixed caused an error in that approximation, when windows created holes through the model.


RE: New Designer Calculates Incorrect Volume - Mr. Mortius - 08-10-2018

(08-08-2018, 03:15 PM)Haxus Wrote: The volume calculation is an approximation. Do not expect a high precision result.

Also, a bug recently fixed caused an error in that approximation, when windows created holes through the model.

Sure, I understand that for complex shapes. It should probably be capable of calculating the volume of a cube, though.