Klvnk: Mtl* clonedMat = reinterpret_cast<Mtl*> (originalMat->Clone()); My bad I didn’t noticed that I can cast the return data to a Mtl …
Thank you searching for “moustrak.cpp” (actual name of the file) was not so intuitive
It seems that the problem is creating the normals not reading them, it also fails in a really simple code snippet: void BuildMesh(Mesh &mesh, fl…
Sure, here we go: EditMeshNormals.max (484 KB)
Yes I think so, but that’s my code nothing special, about reading the normals MeshNormalSpec *nrm = getSpecifiedNormalsFromMesh(mesh); for (int i = 0…
I think that my implementation makes the same thing bool isSetMESH_NORMAL_NORMALS_BUILT = normalSpec->GetFlag(MESH_NORMAL_NORMALS_BUILT); bool is…
Yes, gettihg the modifiers is easy but they still could give you wrong values if they are dependant on the rendering call. With RefEnumProc you can f…
Yes that’s useless since some mods are rendering mode dependant
Forget about that, RefEnumProc is the droid you are looking for.