huxingyi / dust3d

Dust3D is a cross-platform 3D modeling software that makes it easy to create low poly 3D models for video games, 3D printing, and more.
https://dust3d.org/
MIT License
2.98k stars 222 forks source link

Feature Request: Command Line Interface / Benchmark? #59

Closed michaellarabel closed 1 year ago

michaellarabel commented 4 years ago

Hi, nice program. I was wondering whether there are any plans to incorporate a command-line interface to the program or any official "benchmark" test for that matter? Mostly for evaluating the Dust3D performance on different CPUs/systems.

Thanks, Michael

huxingyi commented 4 years ago

There are undocumented command line options to use for generating and exporting result without messing with GUI, please see here as example: https://github.com/huxingyi/dust3d/blob/fa3b07763494ff1defbb8528ccb08b4d642a5b52/appveyor.yml#L118

But it's not good for benchmark, currently, there is no official benchmark api, but you can get the rough time use from the debug window. Try to find something like this:

— DEBUG: The mesh generation took 348 milliseconds - src\meshgenerator.cpp:1591

You can open the same ds3 file on different CPUs/systems to compare.

Thanks!

huxingyi commented 1 year ago

Closed as not relevant to the latest release anymore, thanks and feel free to reopen it.