Giter Site home page Giter Site logo

jollyshmo / csv_import_blender Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 710 KB

Import a csv file into Blender from an exported file from RenderDoc. This will recreate the 3d mesh from the points in the csv file.

License: MIT License

Python 100.00%
3d-modeling blender-addon modding-tools renderdoc

csv_import_blender's Introduction

click to download Blender addon ๐Ÿ’พ๐Ÿ”ป

Updated 1/31/2024

download

This Blender addon allows you to import a CSV file and it will auto create a 3d mesh by connected points, edges and faces. It's particularly useful for visualizing point data captured using tools like 'RenderDoc' to export the CSV file as a 3D Mesh. Works for a number of games including Bioshock Series, We Happy Few, and more.

RenderDoc Blender
Image 1 Image 2
Export the VS Input csv file Import the csv file into Blender

Features

๐Ÿ—ƒ Import vertex plot points from a CSV file as a 3d mesh object.

๐Ÿ“ Creates the mesh by connecting edges and faces based on the settings.

โ› Automatically remove duplicate vertices and edges with Clean Up Loose Geometry.

๐Ÿ˜‡ Corrects the normals to face outside for you on import.

๐Ÿ–‡ Option Other to select what column from the csv files for the verts for (POSITION.x, POSITION.y, POSITION.z) plus an option for 2 additional verts (TEXTURE.x, TEXTURE.y).

Programs Used:

Blender 4.0
๐ŸŒ Blender website
๐Ÿ’พ Download Blender The open-source 3D creation suite used to run the addon.
RenderDoc 1.31
๐ŸŒ RenderDoc website
๐Ÿ’พ Download RenderDoc x64 A versitile graphics debugger, which can also be used to export the CSV files.

Install Addon and Usage

  1. Download the addon by clicking the header CSV Mesh Importer v4.2.1 picutre.
  2. In Blender, Edit > Preferences > Add-ons > Install
  3. Click the 'Install' button and choose the downloaded csv_mesh_importer.zip file.
  4. Check the box to have it apply the changes โ˜‘.
  5. Now, you can import CSV files containing vertex data by going to File > Import' > 'CSV Mesh (.csv).

Settings

โš™ Addon Options
Title Discription
Scale Factor Scale the imported mesh. (0.01 - 10.00)
Connection Method Choose between connecting vertices with edges or faces.
Format Choose between game sets or other. (Stubbs the Zombie, Bioshock 1 & 2 + WHF +, Bioshock INF +, Other)
Name Obj Name the mesh on import. (default "Object")
Auto-Smooth(checkbox) Have it use the default auto-smooth shading on import.
Center Object(checkbox) This will center the object base on origin (middle of mesh usually) if unchecked it will be the verts from the RenderDoc capture location.
UV smart Unwrapping(checkbox) just does a smart unwrap (only for Stubbs The Zombie atm)

Formats

๐ŸคฏBioshock 1 & 2 + WHF +

โœ” Main Choice

Title Recommended Setting
Scale: 0.01 - 1.0
Connection Method: Faces
Format: Bioshock 1 & 2 + WHF +
Name Obj: optional default "Object"
Clean Up Loose Geometry: Required to work as intended only uncheck to debug
Auto-Smooth: optional auto-smooth shading 30ยฐ
Center Object: optional mesh to 3d curser
๐ŸงŸโ€โ™‚๏ธStubbs the Zombie

โš  Stubbs The Zombie Game Only

Title Recommended Setting
Scale: 10.0
Connection Method: Faces
Format: Stubbs The Zombie
Name Obj: optional default "Object"
Clean Up Loose Geometry: Required to work as intended only uncheck to debug
Auto-Smooth: optional auto-smooth shading 30ยฐ
Center Object: optional
Beta: UV Unwrapping: โš  optional smart uv unwraps
๐ŸฆบBioshock INF +

โš  work in progress

Scale: 0.01 - 1.0 Connection Method: Faces Format: Bioshock INF + Name Obj optional default "Object" Clean Up Loose Geometry Required to work as intended only uncheck to debug Auto-Smooth: optional auto-smooth shading 30ยฐ Center Object: optional mesh to 3d curser

Credits

Author: Jolly Joe
Stable Version: 4.2.1
Blender Compatibility: 2.93 or later
Category: Import
Compatibility Game List: ๐Ÿ’ฟ Game List

โš  More Info:

notes:

This addon creates a mesh with connected edges or faces based on the imported points. It's important to review the results and refine the mesh as needed after import.

โš  This is optimized for games that work with RenderDoc and the csv files it can export.

  • Custom Imports: [Bioshock 1 & 2 + WHF +] should be the default when trying a new game not listed. You can also use [Other].

  • [Bioshock INF +] is only last resort. It is better to use Other in some cases.

  • (TEXTURE.x, TEXTURE.y) currently only works under [Other]!

csv_import_blender's People

Contributors

jollyshmo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

hengle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.