Closed stephen-hqxu closed 1 year ago
May need to refactor STPTextureDefinitionLanguage and rip the lexer out into a separate class, like a general-purpose lexer that allows application to define tokens and identifiers.
The command line parser is implemented in the algorithm host package as STPCommandLineParser
.
The issue
The limitation
Most options and settings are passed via INI in the demo application. Whereas some settings like initial rendering resolution and viewing distance are hardcoded. Changing to them frequently via INI or re-compiling the source code is inconvenient during developmeng testing.
The solution
Allow
SuperDemo+
to take certain frequently changed settings from the command line.The additional
Implement a general purpose command line parser in
SuperAlgorithm+Host
so it can handle arbitary command line format, allowing me to add more options in the future.