Magicavoxel tutorial light source8/14/2023 Just so you know, Taichi Voxel Challenge 2022 is getting heated. If you wish to create your own voxel world, start by using our template repo If you wish to try out the autumn theme for yourself and view the complete source code (91 lines of Python code in total), you can clone my repo at. If you are using an ultimate GPU like RTX 3090, it will definitely run much more smoothly. It runs fine on my Macbook (20 FPS) except for some noises, and the noises subside quickly after you pause. The source code is in Python and compatible with almost all platforms. When finishing reading this post, you will be able to create your own 3D voxel world. Program in Python and indulge in the 3D voxel world If you are unfamiliar with Taichi Lang, read this. Taichi Lang is a parallel programming language embedded in Python, allowing your program to be accelerated by your GPU. Note: So long as you have basic Python programming knowledge, you will be able to follow the rest of this post. It must be very interesting to reproduce a tranquil autumn theme with voxels and use ray tracing to render it! Then I found from online the following picture: a quiet forest in the autumn air. Forest is a common theme in many great voxel artworks. The themeįinding a beautiful theme is half success. I'm not a mighty Minecraft developer, but, thankfully, I can program to batch process the voxels. Considering the huge amount of work involved in developing the UI, if we could only edit voxels one by one, it would take ages to get the intended results! When finishing off the program, we became aware of something more serious: It is much easier for an experienced graphics developer to code a path tracing renderer than to come up with a scene setting for a beautiful image. With Taichi Lang, one can easily create such a renderer ( ) in around 300 lines of code. As far as I know, apart from Taichi Lang, there's no such tooling in the Python ecosystem for generating GPU path tracing voxel renders. Taichi Lang is embedded in Python and it runs on any operating system and can easily interact with Python. Soon, before we were back home, we had our prototype: Since we happened to mention Minecraft and MagicaVoxel, we decided to do a Hackathon, where we use Taichi Lang to create a GPU path tracing voxel renderer. On a Sunday afternoon about a couple of months ago, when Ye and I were on our way back from a long week of travel, we decided to do something to relax on the train ( to kill time).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |