Sean Barrett
c1cb414bc6
stb_voxel_render.h version 0.82
ago%!(EXTRA string=10 years)
Sean Barrett
4ea7744980
fix incorrect tex_overlay2 handling
ago%!(EXTRA string=10 years)
Chris Friesen
9f23eb30be
Adds up and down checks to voxel render input.geometry
ago%!(EXTRA string=10 years)
Sean Barrett
aa89970d6b
stb_image.h: fix *comp value when loading PSDs
...
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
ago%!(EXTRA string=10 years)
Sean Barrett
7b72651134
add stb_voxel_render to standard compilation tests
ago%!(EXTRA string=10 years)
Sean Barrett
9534eb2e08
added input.packed_compact for storing most of the major 2/3-bit values in one byte
ago%!(EXTRA string=10 years)
Sean Barrett
75f69ce5ed
clarify what "largest memory usage" case of vheight is
ago%!(EXTRA string=10 years)
Sean Barrett
6685256560
change STBVOX_MAKE_LIGHTING to STBVOX_MAKE_LIGHTING_EXT so header file
...
doesn't have to see the config variables (although this way is actually
more bug prone since you can now use the wrong macro)
ago%!(EXTRA string=10 years)
Sean Barrett
e2b645e4d7
Add vheight documentation;
...
Add a missing vheight case;
Add STBVOX_CONFIG_VHEIGHT_IN_LIGHTING;
Fix broken STBVOX_CONFIG_ROTATION_IN_LIGHTING that was broken when I incompletely refactored the #define
ago%!(EXTRA string=10 years)
Sean Barrett
5c4ce8fdf7
add missing types to allow compiling as C++, and use less cache
ago%!(EXTRA string=10 years)
Thomas Frase
fbdaca8d2c
Added some missing ints to make the code compile as C++ with GCC.
...
Added a few missing consts to remove GCC warnings about deprecated
conversion from string constant to 'char*'
ago%!(EXTRA string=10 years)
Sean Barrett
cd1d05b389
voxel render 0.78; compile as C++, fix bad #else
ago%!(EXTRA string=10 years)
Sean Barrett
abf217de52
stb_voxel_render version 0.77
ago%!(EXTRA string=10 years)
Sean Barrett
fd62364d96
rename static-implementation define to STB_VOXEL_RENDER_STATIC for consistency
ago%!(EXTRA string=10 years)
Sean Barrett
26a342ba2e
documentation tweaks
ago%!(EXTRA string=10 years)
Sean Barrett
70eaad4a88
improve config macro documentation
...
clarify which config macros are required and which are optional
ago%!(EXTRA string=10 years)
Sean Barrett
081fd6945c
comment tweaks
ago%!(EXTRA string=10 years)
Sean Barrett
2cbeaa3001
bump to version 0.76; documentation, minor changes to texlerp, other input tweaks
ago%!(EXTRA string=10 years)
Jesus Fernandez
ebb3b475d7
Build fix
...
x, y, z members not found because stbvox_default_normals contains arrays not structs.
ago%!(EXTRA string=10 years)
Miguel Lechón
0ef28d6bb5
I like the word 'implementation'.
ago%!(EXTRA string=10 years)
Sean Barrett
0f52f6accc
note documentation failure; update README.md
ago%!(EXTRA string=10 years)
Sean Barrett
92de5ecbb2
youtube link
ago%!(EXTRA string=10 years)
Sean Barrett
3bb829574d
mostly documented
ago%!(EXTRA string=10 years)
Sean Barrett
9e5e19f5a3
various fixes
ago%!(EXTRA string=10 years)
Sean Barrett
28630fb253
various fixes
ago%!(EXTRA string=10 years)
Sean Barrett
0f8e471f7b
various voxel/caveview improvements
ago%!(EXTRA string=10 years)
Sean Barrett
0669a6659a
fixes for premultiplied alpha
ago%!(EXTRA string=10 years)
Sean Barrett
ba49d37e6a
premultiplied alpha support
ago%!(EXTRA string=10 years)
Sean Barrett
f49c90c03d
beginnings of mode support;
...
reconstruct full table of bit allocations per mode
ago%!(EXTRA string=10 years)
Sean Barrett
c588d29e95
switch shader variation from runtime-with-tags to dynamic with #ifdefs;
...
support making all definitions static so you can have multiple copies of file (with different #ifdefs);
move all tables to end of file (this will have to be undone later because IIRC it's not compatible with C++ or with some compilers or something, but it'll make my life easier in the interim);
ago%!(EXTRA string=10 years)
Sean Barrett
3a2c54d4a0
check off todo-list item for previous check-in
ago%!(EXTRA string=10 years)
Sean Barrett
00810b7d11
correct normals for vheight floors
ago%!(EXTRA string=10 years)
Sean Barrett
c10b3fefae
correct normals for upwards slope (and dummy lighting to test it)
ago%!(EXTRA string=10 years)
Sean Barrett
5a8064bad2
fix texture coords to not be reflected on north & south walls
ago%!(EXTRA string=10 years)
Sean Barrett
c2ee843df3
update todo for previous checkin
ago%!(EXTRA string=10 years)
Sean Barrett
f02b0d700f
if vertex buffer is full, mesh builder stops gracefully and remembers where to continue
ago%!(EXTRA string=10 years)
Sean Barrett
efcd76c9ab
support texture rotation; better interaction of mouse centering & VC6 debugger; fix in-place conversion when mca blocks are written in different order
ago%!(EXTRA string=10 years)
Sean Barrett
3d4f545fd7
remove unused gl_fragColor support
ago%!(EXTRA string=10 years)
Sean Barrett
f9c24c20fc
various cleanup; vheight works (only one path tested)
ago%!(EXTRA string=10 years)
Sean Barrett
cd17050ca4
split render.c into cave_mesher.c and cave_render.c
ago%!(EXTRA string=10 years)
Sean Barrett
2770c92148
initial stb_voxel_render version with working minecraft viewer
ago%!(EXTRA string=10 years)