Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
169 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Learning based 2D Irregular Shape Packing (2309.10329v1)

Published 19 Sep 2023 in cs.GR, cs.AI, and cs.CV

Abstract: 2D irregular shape packing is a necessary step to arrange UV patches of a 3D model within a texture atlas for memory-efficient appearance rendering in computer graphics. Being a joint, combinatorial decision-making problem involving all patch positions and orientations, this problem has well-known NP-hard complexity. Prior solutions either assume a heuristic packing order or modify the upstream mesh cut and UV mapping to simplify the problem, which either limits the packing ratio or incurs robustness or generality issues. Instead, we introduce a learning-assisted 2D irregular shape packing method that achieves a high packing quality with minimal requirements from the input. Our method iteratively selects and groups subsets of UV patches into near-rectangular super patches, essentially reducing the problem to bin-packing, based on which a joint optimization is employed to further improve the packing ratio. In order to efficiently deal with large problem instances with hundreds of patches, we train deep neural policies to predict nearly rectangular patch subsets and determine their relative poses, leading to linear time scaling with the number of patches. We demonstrate the effectiveness of our method on three datasets for UV packing, where our method achieves a higher packing ratio over several widely used baselines with competitive computational speed.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (49)
  1. Alpha shapes: definition and software. In Proceedings of the 1st international computational geometry software workshop, Vol. 63.
  2. Marco Attene. 2015. Shapes in a box: Disassembling 3D objects for efficient packing and fabrication. In Computer Graphics Forum, Vol. 34. Wiley Online Library, 64–76.
  3. Bin Packing in Multiple Dimensions: Inapproximability Results and Approximation Schemes. Math. Oper. Res. 31, 1 (feb 2006), 31–49. https://doi.org/10.1287/moor.1050.0168
  4. Machine learning for combinatorial optimization: a methodological tour d’horizon. European Journal of Operational Research 290, 2 (2021), 405–421.
  5. Julia A Bennell and Xiang Song. 2008. A comprehensive and robust procedure for obtaining the nofit polygon using Minkowski sums. Computers & Operations Research 35, 1 (2008), 267–281.
  6. A new bottom-left-fill heuristic algorithm for the two-dimensional irregular packing problem. Operations Research 54, 3 (2006), 587–601.
  7. Floorplanning for 3-D VLSI design. In Proceedings of the 2005 Asia and South Pacific Design Automation Conference. 405–411.
  8. Learning a similarity metric discriminatively, with application to face verification. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), Vol. 1. IEEE, 539–546.
  9. TS2PACK: A two-level tabu search for the three-dimensional bin packing problem. European Journal of Operational Research 195, 3 (2009), 744–760.
  10. trimesh. https://trimsh.org/
  11. Andreas Fabri and Sylvain Pion. 2009. CGAL: The computational geometry algorithms library. In Proceedings of the 17th ACM SIGSPATIAL international conference on advances in geographic information systems. 538–539.
  12. A Hybrid Reinforcement Learning Algorithm for 2D Irregular Packing Problems. Mathematics 11, 2 (2023), 327.
  13. A Miguel Gomes and José F Oliveira. 2006. Solving irregular strip packing problems by hybridising simulated annealing and linear programming. European Journal of Operational Research 171, 3 (2006), 811–829.
  14. Ankit Goyal and Jia Deng. 2020. Packit: A virtual environment for geometric planning. In International Conference on Machine Learning. PMLR, 3700–3710.
  15. Two-dimensional irregular packing problems: A review. Frontiers in Mechanical Engineering 8 (2022). https://doi.org/10.3389/fmech.2022.966691
  16. Juris Hartmanis. 1982. Computers and intractability: a guide to the theory of np-completeness (michael r. garey and david s. johnson). Siam Review 24, 1 (1982), 90.
  17. Tap-net: transport-and-pack using reinforcement learning. ACM Transactions on Graphics (TOG) 39, 6 (2020), 1–15.
  18. Efficient overlap detection and construction algorithms for the bitmap shape packing problem. Journal of the Operations Research Society of Japan 61, 1 (2018), 132–150.
  19. Learning to solve 3-D bin packing problem via deep reinforcement learning and constraint programming. IEEE transactions on cybernetics (2021).
  20. Simplicial complex augmentation framework for bijective maps. ACM Transactions on Graphics 36, 6 (2017).
  21. Electric vehicle battery disassembly sequence planning based on frame-subgroup structure combined with genetic algorithm. Frontiers in Mechanical Engineering 6 (2020), 576642.
  22. Least squares conformal maps for automatic texture atlas generation. ACM transactions on graphics (TOG) 21, 3 (2002), 362–371.
  23. Box cutter: atlas refinement for efficient packing via void elimination. ACM Trans. Graph. 37, 4 (2018), 153–1.
  24. Atlas Refinement with Bounded Packing Efficiency. ACM Transactions on Graphics (SIGGRAPH) 38, 4 (2019), 33:1–33:13.
  25. Hu-yao Liu and Yuan-jun He. 2006. Algorithm for 2D irregular-shaped nesting problem based on the NFP algorithm and lowest-gravity-center principle. Journal of Zhejiang University-Science A 7, 4 (2006), 570–576.
  26. Tobias Nöll and D Strieker. 2011. Efficient packing of arbitrary shaped charts for automatic texture atlas generation. In Computer Graphics Forum, Vol. 30. Wiley Online Library, 1309–1317.
  27. A particle swarm optimization algorithm for the multiple-level warehouse layout design problem. Computers & Industrial Engineering 54, 4 (2008), 783–799.
  28. Automatic differentiation in pytorch. (2017).
  29. Autocuts: simultaneous distortion and cut optimization for UV mapping. ACM Transactions on Graphics (TOG) 36, 6 (2017), 1–11.
  30. Scalable locally injective mappings. ACM Transactions on Graphics (TOG) 36, 4 (2017), 1.
  31. A revision of recent approaches for two-dimensional strip-packing problems. Engineering Applications of Artificial Intelligence 22, 4-5 (2009), 823–827.
  32. Texture mapping progressive meshes. In Proceedings of the 28th annual conference on Computer graphics and interactive techniques. 409–416.
  33. Multi-chart geometry images. (2003).
  34. Generalized motorcycle graphs for imperfect quad-dominant meshes. ACM Transactions on Graphics 37, 4 (2018).
  35. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 (2017).
  36. Jason Smith and Scott Schaefer. 2015. Bijective parameterization with free boundaries. ACM Transactions on Graphics (TOG) 34, 4 (2015), 1–9.
  37. Bounded-distortion piecewise mesh parameterization. In IEEE Visualization, 2002. VIS 2002. IEEE, 355–362.
  38. A texture-mapping approach for the compression of colored 3D triangulations. The Visual Computer 12 (1996), 503–514.
  39. Richard S Sutton and Andrew G Barto. 2018. Reinforcement learning: An introduction. MIT press.
  40. Deep reinforcement learning with double q-learning. Proceedings of the AAAI Conference on Artificial Intelligence 30, 1 (2016).
  41. Graph attention networks. stat 1050, 20 (2017), 10–48550.
  42. Deep Graph Library: A Graph-Centric, Highly-Performant Package for Graph Neural Networks. arXiv preprint arXiv:1909.01315 (2019).
  43. 3D mesh cutting for high quality atlas packing. Computer Aided Geometric Design 99 (2022), 102149.
  44. Heuristics Integrated Deep Reinforcement Learning for Online 3D Bin Packing. IEEE Transactions on Automation Science and Engineering 0, 0 (2023), 1–12. https://doi.org/10.1109/TASE.2023.3235742
  45. Jonathan Young. 2023. Xatlas. Retrieved May, 2023 from https://github.com/jpcy/xatlas
  46. Robust atlas generation via angle-based segmentation. Computer Aided Geometric Design 79 (2020), 101854.
  47. Learning efficient online 3d bin packing on packing configuration trees. In International Conference on Learning Representations. 0–0.
  48. Learning practically feasible policies for online 3D bin packing. Science China Information Sciences 65, 1 (2022), 112105.
  49. Qingnan Zhou and Alec Jacobson. 2016. Thingi10k: A dataset of 10,000 3d-printing models.
Citations (2)

Summary

We haven't generated a summary for this paper yet.