INFO
Name: stb_voxel_render-devel
Version: 0.89-0.57.20260313git904aa67.el8
Arch: ppc64le
Summary: Helps render large-scale “voxel” worlds for games
License: MIT OR Unlicense
Vendor: Fedora Project
Build Host: buildvm-ppc64le-32.rdu3.fedoraproject.org
Build Date: Thu Apr 9 13:37:46 2026
Size: 163828
URL: https://github.com/nothings/stb
Description: This library helps render large-scale “voxel” worlds for games, in this case,
one with blocks that can have textures and that can also be a few shapes other
than cubes.
Video introduction:
http://www.youtube.com/watch?v=2vnTtiLrV1w
Minecraft-viewer sample app (not very simple though):
http://github.com/nothings/stb/tree/master/tests/caveview
It works by creating triangle meshes. The library includes
- converter from dense 3D arrays of block info to vertex mesh
- vertex & fragment shaders for the vertex mesh
- assistance in setting up shader state
For portability, none of the library code actually accesses the 3D graphics
API. (At the moment, it’s not actually portable since the shaders are GLSL
only, but patches are welcome.)
You have to do all the caching and tracking of vertex buffers yourself.
However, you could also try making a game with a small enough world that it’s
fully loaded rather than streaming. Currently the preferred vertex format is 20
bytes per quad. There are designs to allow much more compact formats with a
slight reduction in shader features, but no roadmap for actually implementing
them.
FILES
/usr/include/stb
/usr/include/stb/stb_voxel_render.h
/usr/include/stb_voxel_render.h
/usr/share/licenses/stb_voxel_render-devel
/usr/share/licenses/stb_voxel_render-devel/LICENSE
REQUIRES
rpmlib(CompressedFileNames) 3.0.4-1
rpmlib(FileDigests) 4.6.0-1
rpmlib(PayloadFilesHavePrefix) 4.0-1
rpmlib(PayloadIsXz) 5.2-1
PROVIDES
stb_voxel_render-devel 0.89-0.57.20260313git904aa67.el8
stb_voxel_render-devel(ppc-64) 0.89-0.57.20260313git904aa67.el8
stb_voxel_render-static 0.89-0.57.20260313git904aa67.el8
CONFIG FILES
/usr/include/stb
/usr/include/stb/stb_voxel_render.h
/usr/include/stb_voxel_render.h
/usr/share/licenses/stb_voxel_render-devel
/usr/share/licenses/stb_voxel_render-devel/LICENSE l
LICENSE FILES
MIT OR Unlicense
|