I am studying the c++ code of sofa. I wan to know how to convert the XML information to c++ in the various classes?
At my best knowledge there is no direct way (like a script) generating C++ code from XML file. You can browse the existing topics on how to write a cpp scene on the forum, or read the documentation.
I know XML file can read by c++.But I don not konw where to read the XML information in c++code .Such as how visual model and gravity information is passed to the c++ code by XML.
You must be logged in to reply to this topic.
Get involved in this forum: