tencent cloud

Tencent Effect SDK

Release Notes and Announcements
Release Notes
Tencent Effect SDK V3.5 Version Released
Tencent Effects SDK V3.0 Version Related API and Material Changes
Product Introduction
Overview
Features
Basic Concepts
Strengths
Use Cases
Purchase Guide
Pricing Overview
Purchase Guide
Payment Overdue and Refund
Tutorial
Demos
Free Trial License
Licenses
Adding and Renewing a License (Mobile)
Adding and Renewing a License (Desktop)
Adding and Renewing a License (Web)
FAQs
SDK Download
Features
SDK Download
Version History
SDK Integration Guide(No UI)
General Integration of Tencent Effect
Integrating Capabilities
SDK Integration Guide(Including UI)
General Integration of Tencent Effect
Integrating Tencent Effect into MLVB SDK
Integrating Tencent Effect into TRTC SDK
Integrating Tencent Effect into UGSV SDK
Virtual Avatars
API Documentation
iOS
Android
Flutter
Web
Feature Guide
Reducing SDK Size
SDK Integration Issue Troubleshooting
Performance Fine-Tuning
Effect Fine-Tuning
Material Usage
Effect Parameters
Recommended Parameters in Beautification Scenarios
UGSV Enterprise Edition Migration Guide
Integrating Tencent Effect for Third-Party Publishers (Flutter)
Integrating Beauty AR Web into Mini Programs
Tencent Effect Studio Usage
Beauty AR Web
Overview
Quick Start
SDK Integration
Parameters and APIs
Console Guide
Demos
Preset Effect List
Practical Tutorial
FAQs
FAQs
General
Technical
License
Legacy Documentation
Recommended Parameters in Beautification Scenarios
Beauty Parameters Table
One-Minute Integration of TRTC
One-Minute Integration of Live Streaming
TE SDK Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us

3D Effects

PDF
Focus Mode
Font Size
Last updated: 2022-12-01 17:32:04
The SDK has supported 3D effects since v0.3.0. Please check your SDK version before using this capability.
Based on our standard head model, you can create more realistic 3D models using software such as Blender or 3ds Max and upload them to the console.

Limits

To produce more applicable and realistic effects, we recommend you make 3D models based on our standard head model.
Type
Limit
Format
GLB file or GLTF folder
Size
Keep the size of a model within 5 MB; otherwise it may take a long time to load.
Polygons
Keep the polygon count of a model within 100,000; otherwise the output file may be too large.
Texture maps
Use square textures in PNG format and keep the size of each map within 1024 x 1024. Commonly used dimensions include 256, 512, and 1024.
Keep the size as small as possible without compromising the quality.
Materials
Make sure you use Principled BSDF materials for the surfaces; otherwise a rendering error will occur.

Directions

Step 1. Create a material

Download our standard head model and import it into your software (Blender is used as an example in this document). Create a material based on the model and export it in GLB or GLTF format.
Note:
To ensure that the materials created fit the user’s view, please do not modify the model’s transform options such as location and scale.
To keep the size of the output file small and the loading time short, we recommend you generate your model in GLB format.

Step 2. Import the model into the console

1. Go to the material customization page of the console. A built-in 2D effect model is displayed by default. Click 3D effects at the top to switch to a 3D model, which is the same as the standard head model mentioned above.
2. Click Import model on the right and select a model format (GLB is selected in this example).
Note:
You can edit only one 3D effect scenario at a time. To import multiple 3D models, click + on the left.
During editing, you can switch among different models by clicking them in the list on the left.

Step 3. Modify parameters

Normally, because your 3D model is already built based on our standard head model, it should be ready to use after being imported into the console. If you need to modify the parameters of your model, select an editing mode at the top and drag elements in the editing area to change the settings or directly modify the parameters on the right.
Note:
If your model is not created based on our standard head model, you can adjust the tracking points to better track your model. For example, you can set nose bridge as the tracking point for a glass model and set philtrum as the tracking point for a mustache model.

Step 4. Preview the material

You can preview your material on the built-in model. You can also switch to camera to view the effect in videos captured by the camera.

Step 5. Export the material

Click Export in the top right corner. In the pop-up window, select a thumbnail and enter information such as the effect name, and click Publish. You can view published materials on the Manage materials page.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback