Hi Michael, I thought .lwo tag were more 'complex' than that.
No I don't "need" anything persistent between modelling session, but a way to get the individual surface id's from the Nurbs model without having to use the unweld export option.
Here's a filleted cube example. If we talk about smoothing group, there isn't any right ? (I don't see any need of splitting vertex normals in this example).
The way I create this data is by using a 'tag by connectivity' in Houdini, using the unweld feature in the MoI export options.
This allows me to iterate on every surface form the Nurbs model individually. The data is visualized here with random colors.
Houdini 'tag by connectivity' simply add an unique integer attribute for every polygon that are connected (and thus belongs to the same Nurbs surface).
The issue here by using unwelded models is that I can't really refuse the vertex in case surfaces are overlapping (like an perfect array of cubes, all the shared surfaces will be merge together).
I have also attached the result .fbx from Houdini with the data stored under the name "id" (could be any name). However at this point I'm not really sure if .FBX can actually store custom attribute or if it's an Houdini shenanigans.
This data is exported and reloaded properly only by using binary .FBX format (ASCII export discard it).
|