Skip to content
Jolly Joe edited this page May 21, 2024 · 10 revisions

Welcome to the CSV_Import_Blender wiki!

How to import csv files:

(This is not a one size fits all but it seems to work for anything I can export from RenderDoc.)

  1. First we are going to need to capture a frame to use in RenderDoc and export the csv file of the mesh we want.
  2. Export (Save as) the VS Input csv file. [you can right click on over the VS input area and save as csv] (DON'T use the VS Output this is the perspective view)
  3. Open Blender > Edit > Preferences > Install > find and select "CSV_Import_Blender-main.zip"
  4. Check the box to apply the changes. Now you are ready to use it!
  5. File > Import > CSV Mesh
  6. The Addon Layout:

AScreenshot 2023-08-28 152204 BScreenshot 2023-08-28 152240 CScreenshot 2023-08-28 152339

DScreenshot 2023-08-28 152315

A-C from the top to bottom in addon:

Scale lets you scale the mesh beforehand 0.01 - 10.0.

CSV Format Offers 3 preset different algorithm to connect the points. (B) Stubbs the Zombie Bioshock 1 & 2 + WHF + Bioshock INF + Other

Obj Name lets you name the mesh before importing it.

Connection Method Always keep on Faces unless debugging.

Clean Up Loose Geometry performs a selecting non attached edges and points and removes them.

Shade Smooth performs a auto-smooth shade

Center Object centers the mesh when imported (if unchecked it will place it where it was in scene from in-game)

  • CSV Combo: Is a python tool to combine multiple csv files into one before importing to Blender.

This is useful since during loading models everything doesn't get loaded at once, if you export multiple csv files of everything you want i.e. hands, head, hair, legs, are cut up in chunks. So I made this tool to aid in combining the parts. After that using the CSV Blender Add-on you can import the whole model. (⚠ please note that the bigger the models are the longer it takes to combine the file.)

Before use make sure you have the current Python and PyQt5 installed. Navigate to the folder and run

pip install -r requirements.txt

How to use this CSV Combiner application:

  • Select Files:

Click on the "Select Files" button to open a file dialog. Navigate to the directory containing your CSV files. Select one or more CSV files by holding down the CTRL key and clicking on the desired files. Click "Open" to confirm your selection. Combine Files:

  • After selecting your files, click on the "Combine Files" button. The application will start combining the selected CSV files. A progress bar will appear to indicate the progress of the combination process. View Combined Data:

  • Once the combination process is complete, the combined data will be displayed in a table below the buttons. Each row represents a line from the combined CSV files, and columns represent the individual values separated by commas. Export Combined Data:

  • Click on the "Export CSV" button to save the combined data as a single CSV file. A file dialog will appear to choose the location and name of the exported CSV file. Click "Save" to export the data. Additional Information:

  • You can toggle additional information about the application by clicking the question mark button ("❔"). This information provides steps on how to use the application and what each button does. Clear Data:

  • To start over, click on the "Clear" button. This will reset the selected files, combined data, and clear the table display.