Open EtaLoop opened 5 days ago
The relevant code is here, and IIRC the behavior here is mostly refers that of assimp. (However, some of it is specified in the spec.)
We refer to the behavior of assimp because this library was started to replace the use of assimp in our other projects, and it was more convenient to have the same behavior. And the STL parser has a similar behavior.
That said, the OBJ parser, which was added later than these two parsers, does not have this behavior (defaults to None), and in fact, it may make sense to all parsers do the same as the OBJ parser (aside from the default value specified in the spec).
Ok I understand :+1:
If some materials are omitted, there are not set to None in
Scene
. Instead there are Some with default values. I don't know if that's the behavior wanted. If that the case, it would be nice to see that in the documentation ;-)Example :