Difference between revisions of "Content Dev:PSD to CTA Scene Conversion"

From Reallusion Wiki!
Jump to: navigation, search
m (Main Folder)
m (Compound Prop with Pivot)
Line 70: Line 70:
  
 
[[File:Cta_psd_to_scene_11.png]]
 
[[File:Cta_psd_to_scene_11.png]]
 +
 +
*Expand '''RL_Pivot''' and '''RL_Image''' Group.
 +
*'''RL_Pivot''' is the center point location of the object, so the name in '''RL_Image''' is the same as the one in '''RL_Pivot'''.
  
 
[[File:Cta_psd_to_scene_12.png]]
 
[[File:Cta_psd_to_scene_12.png]]
 +
 +
*A hierarchical relationship can be established on the RL_Pivot Layer, with the same rules as Free Bone (see Chapter 8.2)
 +
*Select the '''Windmill''' and enter the '''Composer''' mode.
  
 
[[File:Cta_psd_to_scene_13.png]]
 
[[File:Cta_psd_to_scene_13.png]]
 +
 +
In '''Composer''', rotate the '''Vane''' and '''Tower''' and observe how they move differently.  This is due to different pivot positioning causing the rotation axis to differ.
  
 
[[File:Cta_psd_to_scene_14.png]]
 
[[File:Cta_psd_to_scene_14.png]]

Revision as of 20:23, 24 October 2019

Introduction

PSD to Scene functionality allows you to create a layered data inside CTA by importing a *.psd file right into CTA. Once imported the Scene Manger will maintain the original layers and groups of the PSD file making it convenient to perform subsequent editing in CTA, such as animation production and 3D camera adjustments.

The following sections will describe the PSD to Scene workflow and explain how the PSD data structure is interpreted inside CTA.

PSD to CTA Scene Workflow

There are two ways to import a CTA file (ex: Farm.psd)

Method 1: You can drag the PSD file directly into the stage.

Cta psd to scene 01.png

Method 2: Open the PSD file by clicking on the Create Media button and select the Scene type.

Cta psd to scene 02.png

Once the file is imported then the elements of the PSD file are deployed into the stage.

Cta psd to scene 03.png

Correspondence between CTA Object and PSD Data Structure

Use any PSD tool to open the Farm.psd example file and examine the structure in the layer panel to the right. The types that make up different structures can be divided into four categories: Scene Root, Single Layer, Compound Prop, and Compound Prop with Pivot. The following will compare the format conversions of these four structures corresponding to CTA.

Cta psd to scene 04.png

Main Folder

A standard structure of the Scene PSD file must have a Group: RL_Scene, all objects to be entered into the CTA must be built under this group level.

Cta psd to scene 05.png

  • Open CTA's Scene Manager.
  • Import type will be automatically designated to Scene because we have been defined the PSD file’s root as RL_Scene.

Cta psd to scene 06.png

Individual Objects for Animation

  • CTA will convert all the layers under the RL_Scene single layer (without Folder) into individual objects.
  • Since this type of object does not define a pivot, the pivot point will be set to the center of the image by default.

Cta psd to scene 07.png

Compound Objects with Multiple Sprites

  • Expand “House” folder in Photoshop and compare with “House” Object in CTA’s Stage.
  • CTA will collect the folder under the RL_Scene as an object.

Cta psd to scene 08.png

From the PSD layer, there are three objects in the House group; We can enter Composer to find these three objects.

Cta psd to scene 09.png

Turning on the Scene Manager in Composer, one can be observe that CTA still has a layered object structure under the folder. Therefore, you can define the size and position of individual objects in Composer if needed.

Cta psd to scene 10.png

Compound Prop with Pivot

CTA Scene Template provides a definition of Compound Prop with Pivot in PSD.

Cta psd to scene 11.png

  • Expand RL_Pivot and RL_Image Group.
  • RL_Pivot is the center point location of the object, so the name in RL_Image is the same as the one in RL_Pivot.

Cta psd to scene 12.png

  • A hierarchical relationship can be established on the RL_Pivot Layer, with the same rules as Free Bone (see Chapter 8.2)
  • Select the Windmill and enter the Composer mode.

Cta psd to scene 13.png

In Composer, rotate the Vane and Tower and observe how they move differently. This is due to different pivot positioning causing the rotation axis to differ.

Cta psd to scene 14.png

Cta psd to scene 15.png

Cta psd to scene 16.png

Cta psd to scene 17.png

Cta psd to scene 18.png