AltaArts / Gimp_Integration--Prism-Plugin

4 stars 1 forks source link

Gimp Integration for Prism Pipeline 2

A Gimp integration to be used with version 2 of Prism Pipeline

Prism automates and simplifies the workflow of animation and VFX projects.

You can find more information on the website:

https://prism-pipeline.com/

Notes

Installation

This plugin is for Windows only, as Prism2 only supports Windows at this time.

You can either download the latest stable release version from: Latest Release

or download the current code zipfile from the green "Code" button above or on Github

Copy the directory named "Gimp" to a directory of your choice, or a Prism2 plugin directory.

It is suggested to have the Gimp plugin with the other DCC plugins in: {drive}\ProgramData\Prism2\plugins

Prism's default plugin directories are: {installation path}\Plugins\Apps and {installation Path}\Plugins\Custom.

You can add the additional plugin search paths in Prism2 settings. Go to Settings->Plugins and click the gear icon. This opens a dialogue and you may add additional search paths at the bottom.

Once added, select the "Add existing plugin" (plus icon) and navigate to where you saved the Gimp folder.

Add Existing Plugin

Select Plugin Folder

Afterwards, you can select the Plugin autoload as desired:

AutoLoad

To add the integration, go to the "DCC Apps" -> "Gimp" tab. Then click the "add" button and navigate to the folder containing the Gimp executable - ie "Gimp-2.10.exe". If there is more than one version of Gimp installed, it is advisable to set the executable in the "Override" box in the DCC settings.

Intergration


Usage

Menu

Prism functions are accessed through the Prism menu in the top bar of Gimp's UI. The communication server must be started before Prism functions may be executed. This opens a socket port between Prism and the Gimp integration only, and there is no data communicated outside the local computer. You can change the port number in Settings->DCCs->Gimp if needed.

Prism Menu


Messages / Logging

Messages can be displayed several ways, with several levels of detail. Gimp displays messages through the status bar at the bottom, and the "Error Console".

Gimp Error Console

There are three level of message display, but all messages will always be saved in the log. With "Log Only", no messages will be displayed in the Gimp UI. "Minimal" will display some messages that may be useful to the user such as "Starting Server". "All" will display all messages in the UI.

Log Menu

Keep in mind that having "All" messages displayed will show many messages and slightly slow the interface, thus it is suggested to have the message level at "Minimal". If the Error Console is docked in a widow with other tabs, new messages will move the focus to the Error Console so it is suggested to have the Error Console docked into its own window.

Suggested UI

The Gimp log may be viewed by opening the directory with the "open Log" button in Settings->DCCs->Gimp. The log will update until it reaches the max size limit set in settings, and then will be renamed to "_OLD" with a maximum of those two files. By default, the logs are saved in the Gimp plugin directory and you can change the save location in the settings.

Exporting

To export (save) images we use the StateManager via a custom Gimp_Render state. Various output image formats are supported, with more being added. The current image's details will be displayed along with format-specific settings for each state. A user has the option to scale the resulting image, or change the color mode and bit depth of the resulting export. These changes will not alter the scenefile.

Gimp Render

If the lowest layer of the scenefile image has an alpha channel, and the export format is not an alpha format (not RGBA or GRAYA), then an option will be displayed to select the desired background to be used.

AlphaFill

A user may export to .psd using the StateManager. By default the resulting .psd will be saved in the selected Identifier in Media tab. There is also and option to export the .psd as a scenefile under the Scenefiles tab.

SM psd

This will export the .psd next to the .xcf using the same version number and details.

PSD Version



Issues / Suggestions

For any bug reports or suggestions, please add to the GitHub repo.