Skip to content

๐ŸŽจ 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:


Getting Started