assimpjs icon indicating copy to clipboard operation
assimpjs copied to clipboard

How does the material system work ?

Open FacoBackup opened this issue 2 years ago • 1 comments

Hi, I've been trying to understand for the past couple of days how the material system works in this port. Yes, the resulting JSON has a material property, but it is basically unusable due to the lack of information around it.

It would be very helpful if there was some pathway to understanding it.

Thanks in advance.

FacoBackup avatar Oct 19 '22 23:10 FacoBackup

The resulting JSON is exactly the same what assimp writes as JSON output. Basically it's the JSON representation of the internal model format. This doc can be a good starting point to understand it: https://assimp-docs.readthedocs.io/en/latest/usage/use_the_lib.html#materials.

kovacsv avatar Oct 20 '22 17:10 kovacsv