|
| 1 | +--- |
| 2 | +title: "GSoC ’25 Week 01 Update by Aditya Kumar Singh" |
| 3 | +excerpt: "Refining human anatomy models and improving Sugarizer’s 3D Human Activity" |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-05-28" |
| 6 | +slug: "gsoc-25-AdityaKrSingh26-week01" |
| 7 | +author: "Aditya Kumar Singh" |
| 8 | +description: "Maintainer and GSoC'25 Contributor at SugarLabs" |
| 9 | +tags: "gsoc25,sugarlabs,week01,AdityaKrSingh26" |
| 10 | +image: "assets/Images/GSOC.png" |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- markdownlint-disable --> |
| 14 | + |
| 15 | +# Week 01 Progress Report by Aditya Kumar Singh |
| 16 | + |
| 17 | +**Project:** [Sugarizer](https://github.com/llaske/sugarizer) |
| 18 | +**Mentors:** [Lionel Laské](https://github.com/llaske) |
| 19 | +**Assisting Mentors:** [Samarth Bagga](https://github.com/SamarthBagga) |
| 20 | +**Reporting Period:** 2025-05-12 - 2025-05-18 |
| 21 | + |
| 22 | +--- |
| 23 | + |
| 24 | +## Goals for This Week |
| 25 | + |
| 26 | +- **Goal 1:** Identify missing human body assets in the current execution. |
| 27 | +- **Goal 2:** Simplify models and increase spacing between organs. |
| 28 | +- **Goal 3:** Remove redundant code from the current codebase and improve structure. |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +## This Week’s Achievements |
| 33 | + |
| 34 | +1. **Identify missing human body assets in the current execution** |
| 35 | + - Reviewed current assets and mapped out missing organs and systems (e.g., stomach, intestines, food pipe, kidneys, liver, eyes, brain, etc). |
| 36 | + - This helps ensure educational completeness and anatomical accuracy for users. |
| 37 | + |
| 38 | +2. **Simplify Z-Anatomy models and increase spacing between organs** |
| 39 | + - Removed mesh clutter and enhanced spacing between vital organs like heart, lungs, liver to improve visibility and user interaction. |
| 40 | + - This change is aimed at improving user experience, especially on touch devices. |
| 41 | +  |
| 42 | +  |
| 43 | + |
| 44 | + |
| 45 | +3. **Remove redundant code from the current codebase and improve structure** |
| 46 | + - Removed redundant or deprecated functions, improved file modularity, and standardized naming across `activities\HumanBody.activity\js\activity.js`. |
| 47 | + - Resolved duplicate `loader.load()` usage: Consolidated the skeleton model loading logic into a reusable function and invoked it from both `env.getEnvironment` and `onNetworkDataReceived`, removing redundancy. |
| 48 | + - Optimized `env.getEnvironment` call: Now invoked only once and the result is reused where needed |
| 49 | + - Unified zoom functions: Replaced `zoomInFunction`, `zoomOutFunction`, `zoomEqualFunction`, and `zoomToFunction` with a single parameterized `zoomCamera(type, targetFOV)` function to streamline logic. |
| 50 | + - Links : PR [#1794](https://github.com/llaske/sugarizer/pull/1794). |
| 51 | + |
| 52 | +--- |
| 53 | + |
| 54 | +## Challenges & How I Overcame Them |
| 55 | + |
| 56 | +- **Challenge:** Code duplication across multiple model load functions and zoom handlers. |
| 57 | + **Solution:** Abstracted the model loading into one reusable function to reduce maintenance overhead. Similarly, created a generalized zoom function with parameters for FOV and zoom type to replace multiple similar methods. |
| 58 | + |
| 59 | +- **Challenge:** Finding suitable 3D models with the right level of mesh detail. |
| 60 | + **Solution:** Spent time evaluating and testing various anatomy models and 3D datasets. Balanced between model quality and performance ensuring the mesh was detailed enough for educational use but light enough for smooth rendering in Sugarizer’s environment. |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## Key Learnings |
| 65 | + |
| 66 | +- Got hands-on with **3D modeling tools like Blender** for optimization and export for web use. |
| 67 | +- Understood modular design and best practices for maintaining scalable code in large open-source projects. |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +## Next Week’s Roadmap |
| 72 | + |
| 73 | +- Refine the 3D models ,remove and merge unecessary parts. |
| 74 | +- Integrate Organs 3D models for the basic paint activity. |
| 75 | +- Import and test Human Body model for visual alignment. |
| 76 | + |
| 77 | +--- |
| 78 | + |
| 79 | + |
| 80 | +## Resources & References |
| 81 | + |
| 82 | +- **Repository:** [github.com/AdityaKrSingh26/sugarizer](https://github.com/AdityaKrSingh26/sugarizer) |
| 83 | +- **3D models used:** |
| 84 | + - "Human" (https://skfb.ly/6Z8LI) by aaron.kalvin, |
| 85 | + - "Realistic Human Lungs" (https://skfb.ly/oBDWI) by neshallads, |
| 86 | + - "Human heart, realistic anatomical model" (https://skfb.ly/oXBxZ) by 3d Eye Catcher, |
| 87 | + - "human-brain" (https://skfb.ly/6YqDO) by Yash_Dandavate, |
| 88 | + - Organs by Z-Anatomy (https://github.com/LluisV/Z-Anatomy) |
| 89 | + |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | + |
| 94 | +## Acknowledgments |
| 95 | + |
| 96 | +Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support. |
| 97 | + |
| 98 | +--- |
| 99 | + |
| 100 | +## Connect with Me |
| 101 | + |
| 102 | +- GitHub: [@AdityaKrSingh26](https://github.com/AdityaKrSingh26) |
| 103 | + |
| 104 | +- LinkedIn: [Aditya Kumar Singh](https://www.linkedin.com/in/adityakrsingh26/) |
| 105 | +- Twitter: [@AdityaKrSingh26](https://x.com/AdityaKrSingh26) |
| 106 | + |
| 107 | +--- |
0 commit comments