u,v barycentric coordinates vs. map coords


philippe.groarke@...
 

Hello OSL gurus,
 
Currently, there seems to be a mismatch between DCCs' interpretation of the u, v global variables. For example, Blender seems to output the current triangle barycentric coordinates vs. 3ds Max outputs the uvmap1 coordinates.
 
Are the u, v variables supposed to be barycentric coords or map coords?
 
If the answer is map coords, can we get barycentric globals? They are quite useful.
 
Thanks,
Philippe

Join osl-dev@lists.aswf.io to automatically receive all group messages.