Tencent Effects SDK V3.0 Version Related API and Material Changes
The Tencent Effect SDK, has released a new version (V3.0). This update optimizes the 3D rendering engine and provides users with an even better performance experience. In addition, some editions have added features such as facial fine-tuning and body modification to further improve usability.
After the upgrade, the new features, API and material changes in V3.0, as well as the possible impact on you, please refer to the following instructions.
New Features
The V3.0 version package involves new features in beautification and body retouch.
New Features | Involved Package |
Beautification : Added features including eye width, eye height, eyebrow angle, eyebrow distance, eyebrow height, eyebrow length, eyebrow thickness, eyebrow peak, lip width, lip position, and smile lips. | |
Body Retouch: Added enlarge chest features. |
API / Framework Change
Platform | Change Details |
Android | Removed the setYTDataListener interface and moved the data previously called back in onYTDataUpdate to AIDataListener as onAIDataUpdated . The content of the callback remains unchanged. |
iOS | Deleted the onYTDataEvent callback and moved the data previously called back in onYTDataEvent to onAIEvent , which will now be accessed using event[@"ai_info"] . The content of the callback remains unchanged.Framework changes include renaming TEFFmpeg.framework to TECodec.framework . |
Material Change
In this SDK upgrade, we optimized the 3D rendering engine and further improved the rendering effect of 3D stickers, but it may cause some existing 3D material stickers to be incompatible. The main impacts are as follows:
Invalid materials: Duck cap, Glasses 2, Magic bow, Flower fairy. These materials cannot be used after the V3.0 version SDK.
Upgraded materials: Glasses, Helmet, Paws, Lamb.These materials need to be re-adapted after the V3.0 version SDK. If you are using these materials, please contact us to obtain the upgraded files.
If you need to upgrade to SDK V3.0 version, please verify that the stickers can be used normally after the upgrade. If there are any issues, you can contact us for assistance.