[Closed] creating a dynamically updating geometry object from file
Hi, I am looking to create a C++ max object plugin that can read a sequence of geometry files from disk. Very similar to Realflow .bin loader, but for .geo and .bgeo files from Houdini. It would be nice to adapt this for obj files too, though I already have a maxscript to read .obj sequences. Its rather slow though, and I’m also wanting to explore converting it to C++ for speed.
I have experience with python and maxscripting, but just starting with C++ and the max sdk.
I have explored and compiled the widget example project, and played around with adding my own geometry based on C++ code. Now I’m wondering, what’s would be the correct concept and workflow for dynamically reading the info of a geometry file from disk? (either plain text or binary) Do I need to write the code for this kind of functionality(reading the file from disk, pipe data into mesh, etc) or are there some more things already built into the sdk or other c++ libraries on the net that would make this straightforward? I only saw importers and exporters, as well as procedural geometry examples, but I didn’t see any examples that really dealt with dynamically loading the geometry like this.
I also have the code libraries for the bgeo format, so it should just be a matter of piping everything into the right place, right?