Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

3d max 17 net programming

3d max 17 net programming

sehindel_19
Participant Participant
1,111 Views
4 Replies
Message 1 of 5

3d max 17 net programming

sehindel_19
Participant
Participant

since the doc about max net plugin its pretty poor, i have been tinkering testing in vb ,and after 2 weeks of errors issues, not know what the heck im was doing i managed to implement 4 plugins in net 🙂 shader(mtl),renderer,utility and menu. using both adapter thingy and max dll.

 

and il bet more people wanna know how to do stuff (net plugins), and trust me been googling my brains out without finding anything net related to max, only c++ stuff.

so i explored myself.

and id like to share the net knowledge here for others about max 2017 net api.

the plugin goes in bin/assembly folder.

its far from ready but it roughly atleast shows how to do it ,adapter way and  3d max dll way 🙂

 

project is here

https://github.com/nexustheru/3d-max-17-net-vb-plugins

 

if u need csharp just convert it online with telerik http://converter.telerik.com/

 

for simplicity i named it all  with *my*  like =myshader   myrender mymenu my utility.. etc  

i hope this will help someone  😆

 

oh il attach the project to if ure in someway allergic to github :x

0 Likes
1,112 Views
4 Replies
Replies (4)
Message 2 of 5

istan
Advisor
Advisor

Cool work! But as pure C++ developer I understand nothing - may be a little doc might be helpful for ppl like me.

 

What is the advantage in using VB and dotNet instead of C++? Yes I know, memory leaks - ok - but there exist tools - but what else? Is for instance VB development also supporting "Edit & Continue" in the middle of a DLL debug session?

 

0 Likes
Message 3 of 5

sehindel_19
Participant
Participant

well im also mainly c++ developer but but the net part of max is quite unexplored ,well atleast for me.

but when i started to code i started with vb many years go ,and knowledge vampire as i am i wanted to grasp the net max aswell.

 

but altho the net api misses somestuff on the parameter type (example bitmap,filedialog, etc )so il prolly stick to c++ as of now , .

theres also alot netdevelopers that dont have the c++ programming yet learned so its quite refreshing that point of view that they also now can do plugins 🙂

 

someway net is cleaner but c++ has alot more options =P

0 Likes
Message 4 of 5

istan
Advisor
Advisor

Thanks for clarification. I cannot even imagine to develop something for 3ds Max w/o STL, OpenMP and pointers.. 😉

I use VB script only for batch files..

0 Likes
Message 5 of 5

sehindel_19
Participant
Participant

haha np 🙂 well  as developer u get comfortable with one language after some time, i had to sneak peak vb abit... forgot simple stuff :x 

0 Likes