using the Photoshop Extension

Introduction

The Babylon.JS Editor v3.2.0 comes with a new feature: the Photoshop Extension. The goal of this extension is to connect to the current Photoshop instance opened in our computer and send to the editor the file that is being edited in Photoshop. This feature is mainly used to live-texture meshes and see the result in real-time (almost real-time) without reloading the scene.

The Editor's plugin is called a "Generator Plug-in" and works only with Photoshop CC. In other words, the editor will connect to Photoshop and listen for events.

A simple demo video is available here:

Enabling Extensions

First, we have to enable Generators Plug-ins in Photoshop. To enable, just go in preferences -> plug-ins to open the plug-ins options.

OpeningPreferences

The first options are based on Photoshop Generators. We'll have to enable:

  • Generator
  • Remote connections (required as the plug-in is not installed in the Photoshop directory but is embeded by the editor)
  • A password (default is "password")
    Generators

Once done, click "Ok" and Generator Plug-ins are enabled!

Connecting to Photoshop

The last step is to connect to Photoshop. In the editor, in the main toolbar, a Photoshop icon is available and can be clicked.

EditorConnect

This will ask you a password: this is the password you chose for remote connections in the plug-ins preferences. Type your password and then the editor connects to Photoshop:

EditorPassword

Viewing Textures

Once connected, to view textures, just open the Textures Viewer and assign to our meshes we want to live-texture.

EditorPassword

That's all! Now, once a photoshop file changes (painting, new text, etc.) then the texture will be sent to the Editor and will be updated in the Babylon.JS Scene in real-time.