Thread overview
Geometry and math library feature requests thread
Jun 16, 2021
unDEFER
Jun 17, 2021
parelt
Jun 17, 2021
Guillaume Piolat
Jun 17, 2021
JN
June 16, 2021

Hello, there!
I already have a lot of experience with D. I have written my own game engine for my game (https://sourceforge.net/projects/dizzy-omega/), but implementation of my collision detector is 2D and is ugly without good geometry library.
Now I have even two projects which very need in good geometry math library.
The first one is utility to fix color profile of any printer by print&scan special color test pages. The task which I can't to solve without good library is interpolating 3D-function only some random points of which are known.
The second project is also game project. It will use job done in Dizzy Omega, but game engine must be many improved to understand Collada format, animation engine and more universal collision detector in 3D. This game will open source but commercial which will distributed by "pay later" principle. Anyway I again need here some good geometry math library.

I want in this topic discuss which features must have such library to be universal and useful not only for my projects, but also for any your projects.

Thanks.

June 17, 2021

On Wednesday, 16 June 2021 at 21:48:05 UTC, unDEFER wrote:

>

Hello, there!
I already have a lot of experience with D. I have written my own game engine for my game (https://sourceforge.net/projects/dizzy-omega/), but implementation of my collision detector is 2D and is ugly without good geometry library.
Now I have even two projects which very need in good geometry math library.
The first one is utility to fix color profile of any printer by print&scan special color test pages. The task which I can't to solve without good library is interpolating 3D-function only some random points of which are known.
The second project is also game project. It will use job done in Dizzy Omega, but game engine must be many improved to understand Collada format, animation engine and more universal collision detector in 3D. This game will open source but commercial which will distributed by "pay later" principle. Anyway I again need here some good geometry math library.

[...]

I would like something like: https://github.com/ianmackenzie/elm-geometry
Bonus point: https://package.elm-lang.org/packages/ianmackenzie/elm-units/latest

Pure and functional style.

June 17, 2021

On Wednesday, 16 June 2021 at 21:48:05 UTC, unDEFER wrote:

>

Anyway I again need here some good geometry math library.

I want in this topic discuss which features must have such library to be universal and useful not only for my projects, but also for any your projects.

Thanks.

Godot math is a very nice API.

June 17, 2021

On Wednesday, 16 June 2021 at 21:48:05 UTC, unDEFER wrote:

>

The second project is also game project. It will use job done in Dizzy Omega, but game engine must be many improved to understand Collada format, animation engine and more universal collision detector in 3D. This game will open source but commercial which will distributed by "pay later" principle. Anyway I again need here some good geometry math library.

By the way. I wouldn't recommend Collada. It's nice to have as an option, but because it's all XML, data included, it's very slow to load. You might want to consider GLTF as a modern alternative, which uses a combination of JSON metadata and binary data.