trellis
R2026bDescription
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
The trellis object uses the Trellis model to generate 3D assets
from single-view images, multi-view images, or natural language text descriptions, and modify
existing 3D assets by using natural language text instructions [1].
Note
This feature requires Deep Learning Toolbox™ and a GPU with at least 16 GB of memory and a CUDA® compute capability 7.0 or higher.
Creation
Description
creates a
trellisObj = trellistrellis object, trellisObj, for generating and
modifying 3D assets.
specifies whether to display the progress bar during object creation.trellisObj = trellis(ShowProgressBar=showProgressBar)
Input Arguments
Output Arguments
Object Functions
generateFromImage | Generate 3D asset from one or more images |
generateFromText | Generate 3D asset from text prompt |
modify | Modify existing 3D asset using text prompt |
releaseGPUMemory | Move models to CPU and free GPU memory |
Examples
Limitations
macOS does not support generating 3D mesh assets from images or text prompts.
References
[1] Xiang, Jianfeng, Zelong Lv, Sicheng Xu, et al. “Structured 3D Latents for Scalable and Versatile 3D Generation.” Preprint, arXiv, 2024. https://doi.org/10.48550/ARXIV.2412.01506.
Version History
Introduced in R2026b





