using the Photoshop Extension
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: http://blogs.adobe.com/photoshop/2013/09/introducing-adobe-generator-for-photoshop-cc.html. In other words, the editor will connect to Photoshop and listen events.
A simple demo video is available here:
First, we have to enable Generators Plug-ins in Photoshop. To enable, just go in preferences -> plug-ins to open the plug-ins options.
The first options are based on Photoshop Generators. We'll have to enable:
- 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")
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.
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:
Once connected, to view textures, just open the Textures Viewer and assign to our meshes we want to live-texture.
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.