AntonioND / nitro-engine

3D engine for the Nintendo DS
154 stars 12 forks source link

Support color commands when converting OBJ models #14

Closed AntonioND closed 1 year ago

AntonioND commented 1 year ago

http://paulbourke.net/dataformats/obj/colour.html

It will be needed to add an option to enable or disable color commands as opposed to normals because only the last color or normal command is used, and they override the previous one. Both can't be used at the same time.

AntonioND commented 1 year ago

This should be supported from this commit: https://github.com/AntonioND/nitro-engine/commit/207feca7fca50be8139a451572fd32ceeb4a068c

An example can be found here: https://github.com/AntonioND/nitro-engine/commit/7c614177f78598bcaa8934ea5460ae0a648baa78