The mesh captured by renderdoc can be exported to fbx with one click of the plug-in

I just had time during the holidays, so I made this tool when I had nothing to do.

I was moved by a sentence from a colleague, and later saw many solutions, but almost all of them need to export the mesh csv from renderdoc first, and then rebuild the data into fbx in other software, such as unity, It didn't feel very smooth, and then I had an idea, why can't I export fbx directly from renderdoc? ? ?

The specific implementation idea is very simple. Use renderdoc to support python extension, and you can call the features of the qt framework on the c++ side, pull out a simple ui, and realize the export of csv files, and then write it through the fbx sdk provided by autodesk c++ console program, complete the steps of reading csv and generating fbx.

After patching things together, this tool is completed.

Don't ask me why I don't just change the source code of renderdoc. Let's not mention that c++ code is extremely difficult to write. If the author of renderdoc makes a big revision someday, it's hard to say whether the code can still be used. It exists in the form of a plug-in, which is the safest ~

Project repository:

GitHub - rrtt2323/RenderdocResourceExporter: The main feature is to export mesh.Because I don't want to switch between other software to do this.So I wrote this thing.

installation method:

Double-click install.bat directly, I don’t care about uninstalling, just delete the directory yourself.

Instructions:

Switch to Mesh Viewer, see the little yellow dot, use it to start the python extension.

Guess you like

Origin blog.csdn.net/WPAPA/article/details/126147520