From af6bc680a483c8f52e6ad1eecea38efe71e219df Mon Sep 17 00:00:00 2001 From: "xinjie.wang" Date: Thu, 6 Nov 2025 17:49:05 +0800 Subject: [PATCH 1/2] update --- docs/js/model_viewer.js | 34 ++++++++++++++++++++++ docs/services/image_to_3d.md | 32 -------------------- docs/services/text_to_3d.md | 32 -------------------- docs/services/texture_edit.md | 32 -------------------- docs/tutorials/any_simulators.md | 2 +- docs/tutorials/digital_twin.md | 2 +- docs/tutorials/gym_env.md | 4 +-- docs/tutorials/image_to_3d.md | 31 -------------------- docs/tutorials/index.md | 50 ++++++-------------------------- docs/tutorials/layout_gen.md | 19 +++++++----- docs/tutorials/scene_gen.md | 2 +- docs/tutorials/text_to_3d.md | 32 -------------------- docs/tutorials/texture_edit.md | 32 -------------------- mkdocs.yml | 8 +++++ 14 files changed, 67 insertions(+), 245 deletions(-) create mode 100644 docs/js/model_viewer.js diff --git a/docs/js/model_viewer.js b/docs/js/model_viewer.js new file mode 100644 index 0000000..12b86d8 --- /dev/null +++ b/docs/js/model_viewer.js @@ -0,0 +1,34 @@ +document.addEventListener('DOMContentLoaded', function () { + + const swiperElement = document.querySelector('.swiper1'); + + if (swiperElement) { + const swiper = new Swiper('.swiper1', { + loop: true, + slidesPerView: 3, + spaceBetween: 20, + navigation: { + nextEl: '.swiper-button-next', + prevEl: '.swiper-button-prev', + }, + centeredSlides: false, + noSwiping: true, + noSwipingClass: 'swiper-no-swiping', + watchSlidesProgress: true, + }); + + const modelViewers = swiperElement.querySelectorAll('model-viewer'); + + if (modelViewers.length > 0) { + let loadedCount = 0; + modelViewers.forEach(mv => { + mv.addEventListener('load', () => { + loadedCount++; + if (loadedCount === modelViewers.length) { + swiper.update(); + } + }); + }); + } + } +}); \ No newline at end of file diff --git a/docs/services/image_to_3d.md b/docs/services/image_to_3d.md index 10da09b..4e1a1c8 100644 --- a/docs/services/image_to_3d.md +++ b/docs/services/image_to_3d.md @@ -1,35 +1,3 @@ - - - - - - # πŸ–ΌοΈ Image-to-3D Service [![πŸ€— Hugging Face](https://img.shields.io/badge/πŸ€—-Image_to_3D_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Image-to-3D) diff --git a/docs/services/text_to_3d.md b/docs/services/text_to_3d.md index a86bd31..4d590f5 100644 --- a/docs/services/text_to_3d.md +++ b/docs/services/text_to_3d.md @@ -1,35 +1,3 @@ - - - - - - # πŸ“ Text-to-3D Service [![πŸ€— Hugging Face](https://img.shields.io/badge/πŸ€—-Text_to_3D_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Text-to-3D) diff --git a/docs/services/texture_edit.md b/docs/services/texture_edit.md index 4898044..8a1c935 100644 --- a/docs/services/texture_edit.md +++ b/docs/services/texture_edit.md @@ -1,35 +1,3 @@ - - - - - - # 🎨 Texture Generation Service [![πŸ€— Hugging Face](https://img.shields.io/badge/πŸ€—-Texture_Gen_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Texture-Gen) diff --git a/docs/tutorials/any_simulators.md b/docs/tutorials/any_simulators.md index f8182b7..3c2d83e 100644 --- a/docs/tutorials/any_simulators.md +++ b/docs/tutorials/any_simulators.md @@ -58,6 +58,6 @@ dst_asset_path = cvt_embodiedgen_asset_to_anysim( ) ``` -simulators_collision +simulators_collision Collision and visualization mesh across simulators, showing consistent geometry and material fidelity. diff --git a/docs/tutorials/digital_twin.md b/docs/tutorials/digital_twin.md index e9fef46..85a7315 100644 --- a/docs/tutorials/digital_twin.md +++ b/docs/tutorials/digital_twin.md @@ -1,3 +1,3 @@ # Real-to-Sim Digital Twin Creation -real2sim_mujoco +real2sim_mujoco diff --git a/docs/tutorials/gym_env.md b/docs/tutorials/gym_env.md index 885917e..8696966 100644 --- a/docs/tutorials/gym_env.md +++ b/docs/tutorials/gym_env.md @@ -14,9 +14,9 @@ python embodied_gen/scripts/parallel_sim.py \ ```
- parallel_sim1 - parallel_sim2
diff --git a/docs/tutorials/image_to_3d.md b/docs/tutorials/image_to_3d.md index d63dae1..2f7178a 100644 --- a/docs/tutorials/image_to_3d.md +++ b/docs/tutorials/image_to_3d.md @@ -1,34 +1,3 @@ - - - - - # πŸ–ΌοΈ Image-to-3D: Physically Plausible 3D Asset Generation Generate **physically plausible 3D assets** from a single input image, supporting **digital twin** and **simulation environments**. diff --git a/docs/tutorials/index.md b/docs/tutorials/index.md index 014e67d..b1569d6 100644 --- a/docs/tutorials/index.md +++ b/docs/tutorials/index.md @@ -1,35 +1,3 @@ - - - - - - # Tutorials & Interface Usage Welcome to the tutorials for `EmbodiedGen`. `EmbodiedGen` is a powerful toolset for generating 3D assets, textures, scenes, and interactive layouts ready for simulators and digital twin environments. @@ -161,7 +129,7 @@ Generate **high-quality textures** for 3D meshes using **text prompts**, support Generate **physically consistent and visually coherent 3D environments** from text prompts. Typically used as **background** 3DGS scenes in simulators for efficient and photo-realistic rendering. - + --- @@ -170,10 +138,10 @@ Generate **physically consistent and visually coherent 3D environments** from te Generate diverse, physically realistic, and scalable **interactive 3D scenes** from natural language task descriptions, while also modeling the robot and manipulable objects.
- layout1 - layout2 - layout3 - layout4 + layout1 + layout2 + layout3 + layout4
@@ -184,9 +152,9 @@ Generate diverse, physically realistic, and scalable **interactive 3D scenes** f Generate multiple **parallel simulation environments** with `gym.make` and record sensor and trajectory data.
- parallel_sim1 - parallel_sim2
@@ -198,11 +166,11 @@ Generate multiple **parallel simulation environments** with `gym.make` and recor Seamlessly use EmbodiedGen-generated assets in major simulators like **IsaacSim**, **MuJoCo**, **Genesis**, **PyBullet**, **IsaacGym**, and **SAPIEN**, featuring **accurate physical collisions** and **consistent visual appearance**.
- simulators_collision + simulators_collision
## [πŸ”§ Real-to-Sim Digital Twin Creation](digital_twin.md)
- real2sim_mujoco + real2sim_mujoco
diff --git a/docs/tutorials/layout_gen.md b/docs/tutorials/layout_gen.md index 7af14b4..3109ff1 100644 --- a/docs/tutorials/layout_gen.md +++ b/docs/tutorials/layout_gen.md @@ -3,10 +3,10 @@ Layout Generation enables the generation of diverse, physically realistic, and scalable **interactive 3D scenes** directly from natural language task descriptions, while also modeling the robot's pose and relationships with manipulable objects. Target objects are randomly placed within the robot's reachable range, making the scenes readily usable for downstream simulation and reinforcement learning tasks in any mainstream simulator.
- layout1 - layout2 - layout3 - layout4 + layout1 + layout2 + layout3 + layout4
!!! note "Model Requirement" @@ -26,7 +26,7 @@ Each scene takes approximately **30 minutes** to generate. For efficiency, we re hf download xinjjj/scene3d-bg --repo-type dataset --local-dir outputs # Option 2: Download a larger background set (~14 GB) -hf download xinjjj/EmbodiedGenRLv2-BG --repo-type dataset --local-dir outputs +hf download xinjjj..RLv2-BG --repo-type dataset --local-dir outputs ``` ## Generate Interactive Layout Scenes @@ -43,12 +43,15 @@ layout-cli \ ``` You will get the following results: -
- Iscene_demo1 - Iscene_demo2 +
+ Iscene_demo1 + Iscene_demo2
+ ### Batch Generation You can also run multiple tasks via a task list file in the backend. diff --git a/docs/tutorials/scene_gen.md b/docs/tutorials/scene_gen.md index b7029a2..15c5a14 100644 --- a/docs/tutorials/scene_gen.md +++ b/docs/tutorials/scene_gen.md @@ -4,7 +4,7 @@ Generate **physically consistent and visually coherent 3D environments** from te --- - + --- diff --git a/docs/tutorials/text_to_3d.md b/docs/tutorials/text_to_3d.md index bef2f24..3a81366 100644 --- a/docs/tutorials/text_to_3d.md +++ b/docs/tutorials/text_to_3d.md @@ -1,35 +1,3 @@ - - - - - - # πŸ“ Text-to-3D: Generate 3D Assets from Text Create **physically plausible 3D assets** from **text descriptions**, supporting a wide range of geometry, style, and material details. diff --git a/docs/tutorials/texture_edit.md b/docs/tutorials/texture_edit.md index 8a03ec7..480d81c 100644 --- a/docs/tutorials/texture_edit.md +++ b/docs/tutorials/texture_edit.md @@ -1,35 +1,3 @@ - - - - - - # 🎨 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. diff --git a/mkdocs.yml b/mkdocs.yml index a280926..d55214c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,6 +3,7 @@ site_url: https://horizonrobotics.github.io/EmbodiedGen/ repo_name: "EmbodiedGen" repo_url: https://github.com/HorizonRobotics/EmbodiedGen copyright: "Copyright (c) 2025 Horizon Robotics" +use_directory_urls: false nav: - 🏠 Home: index.md @@ -102,6 +103,13 @@ plugins: extra_css: - stylesheets/extra.css + - https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css + +extra_javascript: + - https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js + - path: https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js + type: module + - js/model_viewer.js markdown_extensions: - pymdownx.highlight From dc005ecd95b82b8138f31085f231f5b1a605c06d Mon Sep 17 00:00:00 2001 From: "xinjie.wang" Date: Thu, 6 Nov 2025 19:22:21 +0800 Subject: [PATCH 2/2] update --- README.md | 1 + docs/index.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 3e4b4c4..7e3fddb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # *EmbodiedGen*: Towards a Generative 3D World Engine for Embodied Intelligence [![πŸ“– Documentation](https://img.shields.io/badge/πŸ“–-Documentation-blue)](https://horizonrobotics.github.io/EmbodiedGen/) +[![GitHub](https://img.shields.io/badge/GitHub-EmbodiedGen-black?logo=github)](https://github.com/HorizonRobotics/EmbodiedGen) [![πŸ“„ arXiv](https://img.shields.io/badge/πŸ“„-arXiv-b31b1b)](https://arxiv.org/abs/2506.10600) [![πŸŽ₯ Video](https://img.shields.io/badge/πŸŽ₯-Video-red)](https://www.youtube.com/watch?v=rG4odybuJRk) [![中文介绍](https://img.shields.io/badge/中文介绍-07C160?logo=wechat&logoColor=white)](https://mp.weixin.qq.com/s/HH1cPBhK2xcDbyCK4BBTbw) diff --git a/docs/index.md b/docs/index.md index e191f96..2a777c6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,6 +6,7 @@ hide: # πŸ‘‹ Welcome to EmbodiedGen [![πŸ“– Documentation](https://img.shields.io/badge/πŸ“–-Documentation-blue)](https://horizonrobotics.github.io/EmbodiedGen/) +[![GitHub](https://img.shields.io/badge/GitHub-EmbodiedGen-black?logo=github)](https://github.com/HorizonRobotics/EmbodiedGen) [![πŸ“„ arXiv](https://img.shields.io/badge/πŸ“„-arXiv-b31b1b)](https://arxiv.org/abs/2506.10600) [![πŸŽ₯ Video](https://img.shields.io/badge/πŸŽ₯-Video-red)](https://www.youtube.com/watch?v=rG4odybuJRk) [![中文介绍](https://img.shields.io/badge/中文介绍-07C160?logo=wechat&logoColor=white)](https://mp.weixin.qq.com/s/HH1cPBhK2xcDbyCK4BBTbw)