tencent cloud

Feedback

Process Panel Tutorial

Last updated: 2024-03-22 18:45:44

    Introduction

    Process control, that is, according to the set process, let events develop as we want. For example, when a nodding action occurs, a hat appears on the head.
    In the process control of Tencent Effect, there are five major sections:
    Trigger conditions
    Logical operations
    Trigger results
    Data processing
    Trigger result
    Each section contains different triggers, which can be used in combination to achieve the desired playback effect.

    Basic Usage

    1. Facial Expression Trigger

    Facial expression trigger refers to triggering the next node when the specified expression is detected to appear/disappear.
    Basic usage:
    (1) Import resources.
    
    
    
    (2) Add a foreground sticker in the Object Panel.
    
    
    
    (3) Select an image file for the foreground sticker.
    
    
    
    (4) Adjust the position of the image file.
    (5) Switch the Scene Panel to the Process Panel and add a Workflow,
    
    
    
    
    
    
    
    
    
    Must have the word run
    (6) Right-click on the Process Panel, select Add node, and add Display/Hide.
    
    
    
    (7) Add an object to the Display/Hide added in (6).
    
    
    
    
    
    
    
    
    
    (8) Right-click on the Process Panel, select Add node, and add Expression detection.
    
    
    
    (9) Right-click on the Process Panel, select Add node, and add Display/hide.
    
    
    
    (10) Add an object to the Display/Hide added in (9).
    (11) Connect nodes: At the beginning, the foreground sticker is not displayed. When the mouth-opening action occurs, the foreground sticker
    appears.
    
    
    
    (12) Preview: Click the play button to preview the effect.
    
    
    

    2. Trigger Carousel

    Trigger carousel is applied to expressions/actions and other triggers, which can be played in a loop, switching materials with each action.
    Basic Usage
    (1) Follow steps (1) to (11) of the facial expression trigger tutorial, create a project, import two image files, add a foreground sticker and a face
    tracking sticker, add two "Display/Hide" nodes and an "expression detection" node, and finally connect them as shown in the figure below:
    
    
    
    (2) Add a "Trigger period" node (The trigger cycle is to prevent the user from nodding for too long and causing a second trigger, so a trigger
    throttling is generally required here, and a time of 0.5-0.8s can be set).
    
    
    
    (3) Double-click to change the trigger time to once every 0.5 seconds.
    
    
    
    (4) Add a "Display objects one by one" node.
    
    
    
    (5) Add carousel objects: Add the foreground sticker and face tracking sticker objects separately.
    
    
    
    
    
    
    (6) Connect all nodes as shown in the figure below:
    
    
    
    (7) Preview.
    
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support