minipbrt
minipbrt copied to clipboard
Add an optional strict mode for parsing
The current parsing mode in minipbrt could be described as "semi-permissive". It will ignore any parameters that it doesn't recognise, but will return an error in other cases such as if it doesn't recognise a particular shape type.
Strict mode should return with an error if the input file contains any unrecognised or invalid data, instead of ignoring it.