Photoshop Path To 3D Mesh (OBJ export)

Overview

Over the last week I have been working on a proof of concept script that exports Photoshop paths to polygonal meshes directly. The script can export paths directly or it can generate them automatically from the transparent areas of a layer. This script has only been tested with Photoshop CC thus far.

Uses

  • Creating planar meshes with complex curves / shapes.
  • Automatically creating optimised mesh shapes which match the shape of a sprite texture.
  • Demo

    Download or Contribute

    The script is in an alpha stage. If you would like to give it a try, or if you would like to contribute it is available here:

    Usage Instructions (exporting a path)

  • Create a vector path, making sure the paths exist on the Work Path layer
  • Save your document as a PSD (required step)
  • Download the javascript file in the link above
  • Click File -> Scripts -> Browse. Load up the script available at the link above
  • Adjust settings accordingly. Be sure to disable “Auto Generate” to export the path created.
  • Sample rate determines the amount of vertices to place. Padding Radius does nothing in this mode.
  • Usage Instructions (auto generating from a transparent layer)

  • Select a transparent layer
  • Save your document as a PSD (required step)
  • Download the javascript file in the link above
  • Click File -> Scripts -> Browse. Load up the script available at the link above
  • Adjust settings accordingly.
  • Sample rate determines the amount of vertices to place. Padding Radius expand the selection areas about the object on the layer.
  • Tags: , , , , , , , , ,

    Photoshop Path To 3D Mesh (OBJ export)

    2 Responses

    1. This could come in handy! I’ll definitely give it a try. Thanks!

      Chévon February 26, 2014 at 1:49 pm #
    Trackbacks/Pingbacks
    1. Export Photoshop Paths as Polygon Meshes | LESTERBANKS - February 24, 2014

      […] can find more information on the Photoshop Paths to 3D OBJ script over at Shane’ site here. You can also find the script for download over at the repository […]

    Leave a Reply

    css.php