๐จ Texture Generation โ Create Visually Rich Textures for 3D Meshes
Generate high-quality textures for 3D meshes using text prompts, supporting both Chinese and English. This allows you to enhance the visual appearance of existing 3D assets for simulation, visualization, or digital twin applications.
โก Command-Line Usage
texture-cli \
--mesh_path "apps/assets/example_texture/meshes/robot_text.obj" \
"apps/assets/example_texture/meshes/horse.obj" \
--prompt "ไธพ็็ๅญ็ๅๅฎ้ฃๆ ผๆบๅจไบบ๏ผๅคง็ผ็๏ผ็ๅญไธๅ็โHelloโ็ๆๅญ" \
"A gray horse head with flying mane and brown eyes" \
--output_root "outputs/texture_gen" \
--seed 0
--mesh_pathโ Path(s) to input 3D mesh files--promptโ Text prompt(s) describing desired texture/style for each mesh--output_rootโ Directory to save textured meshes and related outputs--seedโ Random seed for reproducible texture generation
You will get the following results:
The generated results are organized as follows:
outputs/texture_gen/<mesh_name>
โโโ multi_view # Multi-view intermediates (rgb/normal/position, texture samples)
โโโ texture_mesh
โ โโโ <mesh_name>.obj
โ โโโ <mesh_name>.glb
โ โโโ material_0.png # Baked texture map
โ โโโ material.mtl
โโโ color.mp4 # Turntable preview of the textured mesh
texture_mesh/โ Final textured mesh in OBJ and GLB formats with the baked texturemulti_view/โ Intermediate multi-view generations used for texture bakingcolor.mp4โ Preview video of the textured result
Getting Started
- Try it directly online via our Hugging Face Space โ no installation required.
- Explore EmbodiedGen generated sim-ready Assets Gallery.
- For instructions on using the generated asset in any simulator, see Any Simulators Tutorial.