Clarification on commercial usage regarding NVIDIA library dependencies (nvdiffrast/nvdiffrec)
Hi,
Thank you for releasing TRELLIS.2. The performance and quality are truly impressive.
I have a question regarding the licensing and commercial use of this project. While the TRELLIS.2 repository itself is licensed under the MIT License, nvdiffrast and nvdiffrec as dependencies.
As far as I understand, those NVIDIA libraries are under the "Nvidia Source Code License (1-Way Commercial)," which restricts usage to non-commercial research and evaluation purposes only.
Could you clarify the following points?
Commercial status of the current implementation: Does the dependency on these NVIDIA libraries effectively mean that the current version of TRELLIS.2 cannot be used for commercial purposes (e.g., in a commercial service or for generating commercial assets)?
Potential for commercial-friendly alternatives: Are there any plans to provide an implementation that uses commercial-friendly alternatives (such as PyTorch3D or other MIT/Apache-licensed rasterizers) to replace the NVIDIA-specific dependencies?
I would appreciate your guidance on this, as many developers are interested in using this technology in practical, commercial applications.
Best regards,
DRTK can replace the nvdiffrast
add to that https://huggingface.co/briaai/RMBG-2.0 license and https://huggingface.co/facebook/dinov3-vitl16-pretrain-lvd1689m those are used i have not bothered reading them ...
Thanks for the info. I’ll give DRTK a try to replace nvdiffrast. However, replacing nvdiffrec looks quite challenging, as switching to PyTorch3D would require significant effort. As for the others, DinoV3 looks fine for commercial use, and for RMBG-2.0 (CC BY-NC 4.0), I’ll look for other alternatives. Thanks again!
Thanks for the info. I’ll give DRTK a try to replace nvdiffrast. However, replacing nvdiffrec looks quite challenging, as switching to PyTorch3D would require significant effort. As for the others, DinoV3 looks fine for commercial use, and for RMBG-2.0 (CC BY-NC 4.0), I’ll look for other alternatives. Thanks again!
The usage of DRTK is similar to that of nvdiffrast, so it should not be very hard.
nvdiffrec and nvdiffrast are used only for visualization. If you only need the 3D model, you can safely omit them.
DINOv3 is a mandatory dependency, so you will need to check its license. You may also choose any background removal model you prefer to replace the default one.
nvdiffrecandnvdiffrastare used only for visualization. If you only need the 3D model, you can safely omit them.DINOv3is a mandatory dependency, so you will need to check its license. You may also choose any background removal model you prefer to replace the default one.
Thanks @JeffreyXiang — appreciate the clarification. Just to make sure there’s no ambiguity: when you say “nvdiffrec and nvdiffrast are used only for visualization” and can be omitted if we only need the 3D model, do you mean mesh-only geometry (vertices/faces), without texture baking? In our case we need a GLB with mesh + baked PBR textures. In this repository, the GLB export path calls o_voxel.postprocess.to_glb(), which appears to use nvdiffrast (RasterizeCudaContext, dr.rasterize, dr.interpolate) to rasterize in UV space and bake the texture maps.
-
Can you confirm whether textured GLB export currently depends on nvdiffrast?
-
If yes: is there an official/recommended way to export textured GLB without nvdiffrast (e.g., alternative rasterizer such as PyTorch3D), or is textured GLB only supported with the NVIDIA dependencies for now?
Thank you very much
https://github.com/kg-git-dev/trellis-refactored There was a version stripped of all the non commercial libs for trellis1. Can someone just look how it was done there and apply for trellis2? Or better yet, just apply new model to the existing repo?
nvdiffrecandnvdiffrastare used only for visualization. If you only need the 3D model, you can safely omit them.DINOv3is a mandatory dependency, so you will need to check its license. You may also choose any background removal model you prefer to replace the default one.
Sorry for the late reply — I just noticed the collaborator’s comment. Thanks for the clarification.
I have the same concern as otachies: does exporting a textured GLB currently require nvdiffrast and/or nvdiffrec? If yes, is there a recommended way to export textured GLB without those NVIDIA dependencies?
Thanks for the earlier clarification. Two questions from a team that would like to use TRELLIS.2 output in a commercial game:
- The repository and model weights are MIT-licensed, but the project page says the materials are provided "solely for academic and research purposes". Could you confirm that 3D assets generated with the released TRELLIS.2 weights may be used commercially (e.g. shipped in a game)? Is the project-page wording just a general disclaimer?
- As raised above, textured GLB export (
o_voxel.postprocess.to_glb) appears to rely on nvdiffrast. Is there an officially supported, nvdiffrast-free path for textured GLB export (the default background-removal model RMBG-2.0 is also CC BY-NC)? Or is the free Hugging Face Space the recommended way for commercial users who only need the output?
Thank you.