vjapi
@vjapi
New Member
Joined: Feb 15, 2024
Topics: 12 / Replies: 13
Reply
RE: Copy material in C++?

Klvnk: Mtl* clonedMat = reinterpret_cast<Mtl*> (originalMat->Clone()); My bad I didn’t noticed that I can cast the return data to a Mtl …

2 years ago
Forum
Topic
Forum
Replies: 2
Views: 39
Reply
RE: C++ equivalent to Maxscript's mouseTrack?

Thank you searching for “moustrak.cpp” (actual name of the file) was not so intuitive

4 years ago
Forum
Topic
Forum
Replies: 2
Views: 8
Topic
Forum
Replies: 3
Views: 13
Reply
RE: Problems reading normals from an edit mesh

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…

6 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

Sure, here we go: EditMeshNormals.max (484 KB)

6 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

Yes I think so, but that’s my code nothing special, about reading the normals MeshNormalSpec *nrm = getSpecifiedNormalsFromMesh(mesh); for (int i = 0…

6 years ago
Forum
Reply
RE: Problems reading normals from an edit mesh

I think that my implementation makes the same thing bool isSetMESH_NORMAL_NORMALS_BUILT = normalSpec->GetFlag(MESH_NORMAL_NORMALS_BUILT); bool is…

6 years ago
Forum
Topic
Forum
Replies: 11
Views: 58
Reply
RE: Detect if a spline is rendereable (not as easy question as it looks!) [c++]

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…

7 years ago
Forum
Reply
RE: Detect if a spline is rendereable (not as easy question as it looks!) [c++]

Yes that’s useless since some mods are rendering mode dependant

7 years ago
Forum
Reply
RE: Detect if a spline is rendereable (not as easy question as it looks!) [c++]

Forget about that, RefEnumProc is the droid you are looking for.

7 years ago
Forum
Page 1 / 2