Adamdad / threestudio-extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threestudio

Welcome to the repository for threestudio-extensions. This repository serves as a central hub where you can explore all the currently supported extensions for threestudio in this url.

How to register your extensions into threestudio-extensions

Add your extension to threestudio-extensions-list.json which is located in the roof of this project, then submit a pull request.

How to write extensions for threestudio

  • First, under the original threestudio project, create a new folder within the 'custom' directory and name it, for example my_extension.

  • Inside this my_extension folder, you can implement your extension. It's important to note that any module or class you wish to import as a plugin must be registered with a unique class name to avoid conflicts with other extensions. This is done using the @threestudio.register("my_modules") decorator.

  • Finally, create an __init__.py file within your `my_extension`` folder. In this file, import the Python files that are part of your extension.

Acknowledgement

This project was inspired by Comfyui-Manager. We are very grateful for their open-source project.

About


Languages

Language:HTML 78.0%Language:Python 22.0%