#loryruta's voxelizer (3d Model to Octree)

22 messages ยท Page 1 of 1 (latest)

raven raft
#

Hello!
Many many years ago I found myself struggling with 3d Conservative Rasterization in order to create a tool that converted a 3d Model to a Minecraft schematic (subsection of the Minecraft world). After years I've not (completely) accomplished the task but I found out there were much useful code that I could modularize. This is a piece of it: a 3d Conservative Rasterizer + Octree Construction/Traversal algorithms written in modern OpenGL. Shaders are embedded within the executable using shinji, a CMake utility of mine.
(link to shinji => https://github.com/loryruta/shinji)

arctic kestrel
#

no screenshots smh ๐Ÿ˜„

raven raft
raven raft
arctic kestrel
#

its very possible that i'm blind ๐Ÿ˜ฎ

raven raft
#

I've lost 10 minutes with illustrator to make the graphics

#

XD

#

oh okay ahah

arctic kestrel
#

the readme has none

raven raft
arctic kestrel
#

oh

raven raft
#

the other one is a CMake utility, yeah it's confusing linking two github repos

arctic kestrel
#

my bad ๐Ÿ™‚

#

i like

raven raft
#

as you can see I'm currently dealing with rgba textures ๐Ÿ˜…

#

but yeah, it still gives the idea

arctic kestrel
#

slowly but steady

raven raft
#

loryruta's voxelizer (3d Model to Octree)

lone furnace
#

I am trying out voxelization too currently and I think you can preserve detail with those small triangle areas by using conservative rasterization. It's pretty easy to do in geometry shader

raven raft
lone furnace
#

That's not conservative rasterization. I meant this thing. #opengl message.
For example currently if a triangle is smaller than a pixel it will not generate any fragments/voxels which will be fixed by "enabling" conservative raster. And the missing voxels in the screenshot I sent should be filled too.