After some investigation why the .obj files I created in Rhino wont load in vvvv, I noticed that it appears that Mesh(DX11.GeometryAssimp) cant seem to handle OBJ files without texture coordinate indices, even though they are optional.
As texture coordinates are optional, one can define geometry without them, but one must put two slashes after the vertex index before putting the normal index.
The format for the indexes then becomes:
"f v1//vn1 v2//vn2 v3//vn3 ... "
Whereas if vt is specified it would be:
"f v1/vt1/vn1 v2/vt2/vn2 v3/vt3/vn3 ..."
Both .obj files open correctly in any other software.
Attached is a small patch that shows whats happening and the difference in the code.
i guess it’s the shader that can’t handle such a geometry because it doesn’t match the vsInput struct. You can check with the ‘Layout valid’ pin coming out of the shader node
Thanks everyone for your suggestions. I have exported the geometry again from Rhino with texture mapping on. Also had to unweld with an angle of 0 and weld again, to get the polygonal look.
Didnt see the NoTexture method on Gourad, as I only chose that for the example patch here. Actually using Superphysical, which doesnt have the NoTexture method as far as I am aware. But then Superphysical looks better with some textures anyways.