
2D To 3D Voxelizer (โปรแกรมแปลงรูป 2D Pixel Art ให้เป็นโมเดล 3D) : 2D To 3D Voxelizer เป็นเครื่องมือสำหรับแปลงภาพพิกเซลอาร์ตสองมิติ (2D Pixel Art) ให้กลายเป็นโมเดลสามมิติในรูปแบบว็อกเซล (3D Voxel) หรือบล็อกพิกเซล 3 มิติได้อย่างรวดเร็ว ผลลัพธ์ที่ได้จากโปรแกรมนี้สามารถส่งออก (Export) เป็นไฟล์นามสกุล .obj ซึ่งนำไปใช้งานต่อในโปรแกรมสร้างโมเดล 3 มิติ หรือ เอนจิ้นของเกม (Game Engine) ชื่อดัง เช่น Blender, Unity และ Godot ได้ทันที
ความสามารถหลักของโปรแกรม 2D To 3D Voxelizer คือ การคำนวณ และสร้างมิติความหนาให้กับภาพ 2 มิติ โดยรองรับโหมดการทำงานหลากหลายตามประเภทของภาพต้นฉบับ เช่น หากมีเพียงภาพพิกเซลอาร์ตภาพเดียว สามารถใช้โหมด Single เพื่อดึงภาพขึ้นมาเป็นโมเดล 3 มิติ หรือโหมด Single + Repeated ที่จะนำภาพเดียวนั้นไปซ้ำรอบทั้ง 4 ด้านพร้อมยืดความหนาออกตามที่กำหนด หากเป็นภาพที่มีหลายมุมมอง โปรแกรมมีโหมด Dual สำหรับภาพที่มีมุมด้านหน้า และด้านหลัง รวมถึงโหมด Quad ซึ่งเป็นโหมดขั้นสูงที่ใช้แผ่นสไปรต์ (Sprite Sheet) 4 มุมมอง ได้แก่ ด้านซ้าย, ด้านหน้า, ด้านขวา และด้านหลัง เรียงต่อกันในแนวราบ เพื่อนำมาประมวลผลสร้างโมเดล 3 มิติสมบูรณ์แบบรอบทิศทาง 360 องศา

ในการสร้างความหนาแน่นและรูปทรงของโมเดล ผู้ใช้สามารถควบคุมระดับความลึก (Depth Scaling) ได้สองรูปแบบ รูปแบบแรกคือ ระบบอัตโนมัติที่จะคำนวณความหนาจากเส้นขอบรอบนอกของภาพเพื่อสร้างรูปทรงที่โค้งมนเป็นธรรมชาติ เหมาะกับวัตถุหรือสิ่งมีชีวิต รูปแบบที่สองคือการปรับแบบเจาะจง (Biased Depth Scaling) ที่ช่วยให้ผู้ใช้สามารถปรับแต่งความหนาของโมเดลแยกกันตามส่วนต่าง ๆ ได้ ทั้งส่วนบน, ส่วนกลาง และส่วนล่าง เพื่อให้ได้รูปทรงเรขาคณิตที่แม่นยำตรงตามความต้องการที่สุด
ในเชิงเทคนิค โปรแกรมนี้พัฒนาขึ้นด้วย เฟรมเวิร์ก (Framework) Wails โดยใช้ ภาษา Go ในการประมวลผลฝั่ง หลังบ้าน (Back-End) ร่วมกับ TypeScript, CSS และ HTML ในการสร้างหน้าต่าง ส่วนติดต่อผู้ใช้งานแบบกราฟิก (GUI) ในส่วนของ หน้าบ้าน (Front-End) จึงทำให้ตัวโปรแกรมมีขนาดเบา, ประมวลผลได้รวดเร็ว และสามารถนำไปคอมไพล์เพื่อเปิดใช้งานบน ระบบปฏิบัติการ (OS) ต่าง ๆ ได้ทั้ง วินโดวส์ (Windows), แมคโอเอส (macOS) และ ลีนุกซ์ (Linux)
โปรแกรมรองรับการดึงมิติจากภาพ 2D ได้หลากหลายรูปแบบ ตามลักษณะของภาพที่คุณมี
Single Mode : สำหรับแปลงภาพพิกเซลอาร์ตภาพเดียวแบบมุมตรง ให้กลายเป็นโมเดล 3 มิติโดยทันที
ช่วยให้คุณกำหนดความนูนต่ำหรือความหนาแน่นของโมเดลตามแกน Z ได้อย่างยืดหยุ่น
โปรแกรม 2D To 3D Voxelizer เป็นซอฟต์แวร์ ฟรี (Free) ที่พัฒนาแบบ โอเพ่นซอร์ส (Open-Source) ที่อยู่ภายใต้เงื่อนไขการใช้งานแบบ MIT License ซึ่งหมายความว่าผู้ใช้สามารถใช้งาน, ดัดแปลง, แจกจ่าย และเข้าถึง โค้ดต้นฉบับ (Source Code) ได้อย่างเสรี ภายใต้เงื่อนไขที่กำหนด
หากต้องการค้นหาข้อมูลเพิ่มเติม สามารถติดต่อกับทางผู้พัฒนาโปรแกรมนี้ได้ผ่านทางช่องทางเว็บไซต์ (Website) :https://github.com/GazPrash/2d-to-3d-voxelizer (ภาษาอังกฤษ) ได้เลย
2D To 3D Voxelizer is a tool designed to quickly transform two-dimensional pixel art into three-dimensional voxel models, or 3D pixel blocks. The resulting output can be exported as a .obj file, making it immediately ready for use in popular 3D modeling software or game engines such as Blender, Unity, and Godot.
The core capability of 2D To 3D Voxelizer is calculating and applying depth to 2D images. It supports various operation modes tailored to different types of source art. For instance, if you only have a single pixel art image, you can use Single Mode to extrude it into a 3D model, or Single + Repeated Mode, which repeats that single image across all four sides while stretching it to a specified depth scale. For multi-angle images, the application offers Dual Mode for sprites with front and back views, as well as Quad Mode—an advanced setting that processes a 4-sided sprite sheet featuring left, front, right, and back views aligned horizontally to construct a complete, seamless 360-degree 3D model.
To control the density and shape of the model, users can adjust depth scaling using two distinct methods. The first is an automatic system that calculates thickness from the outer contours of the image to produce smooth, naturally curved shapes, making it ideal for organic objects or creatures. The second method, Biased Depth Scaling, grants manual precision by allowing users to independently fine-tune the thickness across the top, middle, and bottom sections of the model, achieving the exact geometric form desired.
On a technical level, the application is built using the Wails framework. It utilizes Go for backend processing alongside TypeScript, CSS, and HTML for the frontend graphical user interface (GUI). This architecture ensures the software remains lightweight and fast, with the ability to be compiled for multiple operating systems including Windows, macOS, and Linux.
คำสำคัญ