Page 1 of 1
Noesis python API
Posted: Tue Feb 11, 2020 10:48 pm
I am looking for documentation on noesis python api
In particular, how to add a third UV channel to NoeMesh?
first - .uvs
the second is .lmUVs
Re: Noesis python API
Posted: Mon Feb 17, 2020 8:40 am
Sadly, Noesis supports only 2 UV sets (viz `rpgBindUV1BufferSafe`, `rpgBindUV2BufferSafe`).
You could try to store third UV (and possibly 4th set) as a vertex color (RG channels). For example, 3ds max loads vertex color as an uv set with index 0 (vertex alpha as -2, but only Alpha channel). Noesis stores vertex colors as a float, so I don't see any problem here, fbx should export them as float too.
However I do not recommend this, since it's not standardized, but it's a way to achieve what you want.
From my experience, I haven't seen much things with a 3rd UV set, surely I've seen ones with 4th set, but it was only for some cases (for certain materials, where you could switch uv sets for different textures, etc.) I could only imagine 3 UV sets for models, where first 2UV sets are texture coords, and 3rd is used for Lightmap, but never seen such.