ivanisavich
@ivanisavich
New Member
Joined: Feb 15, 2024
Topics: 63 / Replies: 313
Reply
RE: SDK tutorial

Open the .vcproj created by the wizard and edit the path within to match wherever that file is installed on your machine. A vcproj file is just an XML…

7 years ago
Forum
Reply
RE: SDK tutorial

Fair enough. Regarding your second question there, in case you weren’t aware, there is a pretty complete SDK documentation online provided by Autodesk…

7 years ago
Forum
Reply
RE: SDK tutorial

Creating all those files and setups from scratch is not necessary. Just install and run the plugin wizard, as explained in the SDK docs, and go from …

7 years ago
Forum
Reply
RE: create objects with default properties

Looking at the source code for the point helper object, I can see the ADesk developer who wrote it did not add the P_RESET_DEFAULT flag to its paramet…

7 years ago
Forum
Reply
RE: Array with negative index

Nope, maxscript arrays must start at 1, and c++ arrays must start at 0. If you need a negative index to reference an array value, just transform the …

7 years ago
Forum
Reply
RE: Getting vertex pos using normals, for distance

I don’t really understand the question…a mesh’s vertex normal array corresponds 1:1 to the vertex array itself. Ie, ‘getNormal mesh i’ gets the i’th v…

7 years ago
Forum
Reply
RE: multi-threading c++ sdk discussion no code

Hmm, that’s an odd thing for them to say…maybe you misunderstood what they meant? There are tons of 3rd party plugins that are multithreaded. VRay, T…

7 years ago
Forum
Reply
RE: multi-threading c++ sdk discussion no code

Multi-threading in an SDK plugin is pretty easy to do. You can use STL threads, OpenMP, TBB, or whatever MT library you prefer. Many CORE functions ca…

7 years ago
Forum
Reply
RE: [SOLVED] Clicking "Convert" button in V-Ray scene converter, possible bug

You’re calling “ClickConvert” after the Vray dialog pops up, so the dialog monitor is not catching the new window event. Always disable the dialogm…

7 years ago
Forum
Reply
RE: SDK: Disable notifications for a particular parameter block entry?

Only one plugin is mine. My plugin generates geometry that I’m using to scatter particles over with particle flow. If I made both plugins I could prob…

7 years ago
Forum
Reply
RE: is there a material count limit for single mesh?

Meshes in 3dsmax store materialIDs as unsigned short values, which means the most number of theoretical materials applied to a mesh is 65536. What fi…

7 years ago
Forum
Reply
RE: [SDK] Very simple morpher – update problem

Could be caused by a variety of factors, most likely related to your modifier’s validity interval. Are you setting that properly and returning it in y…

7 years ago
Forum
Topic
Forum
Replies: 4
Views: 68
Reply
RE: SDK Question: How to add vertex weights support and enable weights ?

It’s the same for both meshes and mnmeshes: mesh.SupportVSelectionWeights(); float *vWeights = mesh.getVSelectionWeights(); for (int i = 0; i <…

8 years ago
Forum
Page 5 / 26