Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.11 KB

File metadata and controls

28 lines (21 loc) · 1.11 KB

Game-Scripts

Collection of Blender scripts related to game development.

List of Scripts

Script 1: Playcanvas 3d models

📄 View Script

This script allows you to reconstruct a 3d model that is in a Playcanvas game inside of Blender.

How to Use

  1. Find the .json file for the 3d model you want.
  2. In that file find model > vertices > positions > data > 0 and place the contents (example 0.1,1.5,1.3) in the vertices.txt file.
  3. In the same JSON file find model > meshes > 0 > indices and place the contents (example 0,1,2) in the indices.txt file.
  4. Run the script in a blender scene!

Script 2: RenderDoc 3d models

📄 View Script

This script allows you to reconstruct a 3d model that is in a RenderDoc capture inside of Blender.

How to Use

  1. Open a RenderDoc capture.
  2. Select the model you want to recreate.
  3. Dowanload it's data as a .csv.
  4. Run the script in Blender!