Martin Gerhardy
c1120a7510
UTIL: SDL_isalnum is not available in all supported sdl versions
2022-05-23 20:12:35 +02:00
Martin Gerhardy
eff8806e2f
VOXELFORMAT: store the palette images base64 encoded
2022-05-23 16:51:56 +02:00
Martin Gerhardy
3b86c3b632
UTIL: added base64 util classes
2022-05-22 23:49:05 +02:00
Martin Gerhardy
e3a1d42aff
VOXELFORMAT: texcoord index
2022-05-22 23:41:20 +02:00
Martin Gerhardy
de861f670b
VOXELFORMAT: Revert "save the palette image data as base64" for now
...
This reverts commit e7856fd1463#196878f802a4d5887a9c899a7d4f0.
2022-05-23 13:34:57 +02:00
Janis Taranda
6531158648
VOXELFORMAT: fixed GLTF min & max vertices params
...
FLT_MIN is the positive minimum
2022-05-23 13:14:14 +02:00
Martin Gerhardy
e7856fd146
VOXELFORMAT: save the palette image data as base64
2022-05-22 23:38:37 +02:00
Martin Gerhardy
18350dc9a2
VOXEL: allow to save the palette glow color to png
2022-05-22 23:19:33 +02:00
Martin Gerhardy
62e1fe1c5a
VOXELFORMAT: ensure that the palette was loaded
2022-05-22 23:08:39 +02:00
Martin Gerhardy
62bc102e2e
VOXELFORMAT: fixed color writing for vxm
2022-05-22 23:05:26 +02:00
Martin Gerhardy
bbaaab8afc
VOXELFORMAT: print warning if you merge nodes with different palettes
2022-05-22 21:13:50 +02:00
Martin Gerhardy
55ccf069de
VOXELFORMAT: fixed subdiv test
2022-05-22 21:07:59 +02:00
Martin Gerhardy
1389c4bde4
VOXELFORMAT: todo comment about the emissive texture
2022-05-22 21:03:44 +02:00
Martin Gerhardy
e39ac73ffd
VOXELFORMAT: use glm for the epsilon comparison
2022-05-22 20:58:34 +02:00
Martin Gerhardy
39eae6ec3f
VOXELFORMAT: fixed using negative scale values
2022-05-22 20:44:55 +02:00
Martin Gerhardy
12a75469f5
ALL: changed default gamma to 1.0
2022-05-22 20:38:14 +02:00
Martin Gerhardy
5465676fd2
VOXEDIT: set default ambient color value to white
2022-05-22 20:36:03 +02:00
Martin Gerhardy
a8d842715f
VOXEL: leave a comment about writing the full buffer
2022-05-22 19:00:24 +02:00
Martin Gerhardy
ad0e30841a
VOXELFORMAT: hopefully fixed uv coordinates for palettes that don't have 256 colors
2022-05-22 18:37:20 +02:00
Martin Gerhardy
d0fa8a41f7
VOXELFORMAT: disable test for now
2022-05-21 19:59:46 +02:00
Martin Gerhardy
aba673fdf8
VOXELFORMAT: added new meshformat test
2022-05-21 19:57:20 +02:00
Martin Gerhardy
2a6042adc4
VOXELFORMAT: debug logging
2022-05-21 18:45:20 +02:00
Martin Gerhardy
6ed39e0e54
VOXELFORMAT: fixed loading vxm palette
2022-05-21 18:43:13 +02:00
Martin Gerhardy
037950a584
VOXELFORMAT: disable test for now
2022-05-21 18:03:07 +02:00
Martin Gerhardy
a20e9c168b
VOXELFORMAT: fixed tests
2022-05-21 17:59:00 +02:00
Martin Gerhardy
15879844d7
VOXELFORMAT: skip the color tests here
...
qb stores the values as rgba, and thus we use a different palette to perform a conversion
this ends in a result that is not directly comparable. We would have to quantize a palette
from the rgba values of a qubicle file and would have to use that one
2022-05-21 17:57:22 +02:00
Martin Gerhardy
3a100a8afb
VOXELFORMAT: allow non-const access to the palette
2022-05-21 17:56:15 +02:00
Martin Gerhardy
311b3b3a73
VOXELFORMAT: vxm can have multiple volumes as layers
...
which we transform into scene graph nodes
2022-05-21 17:56:02 +02:00
Martin Gerhardy
4796cd25f4
VOXELFORMAT: fixed vxm path while saving vxr
2022-05-21 17:55:00 +02:00
Martin Gerhardy
537ad7ef9a
VOXELFORMAT: save vxm 12
2022-05-21 17:54:26 +02:00
Martin Gerhardy
3da520ce3f
VOXELFORMAT: save vxm 11
2022-05-21 14:37:14 +02:00
Martin Gerhardy
ee263f2cb3
VOXELFORMAT: save vxm 10
2022-05-21 14:19:18 +02:00
Martin Gerhardy
4db3b861ca
VOXELFORMAT: save vxm version 9
2022-05-21 14:14:31 +02:00
Martin Gerhardy
1d830a1058
VOXELFORMAT: save vxm version 8
2022-05-21 14:10:31 +02:00
Martin Gerhardy
aab26f30dd
VOXELFORMAT: relax color matching threshold for some tests
2022-05-21 14:08:34 +02:00
Martin Gerhardy
7dc863af57
VOXELFORMAT: save vxm, version 7
2022-05-21 14:08:14 +02:00
Martin Gerhardy
13a056a156
VOXELFORMAT: print the colors to the console if they differ
2022-05-21 13:37:04 +02:00
Martin Gerhardy
95809b6ebb
CORE: allow to print the color to the console with ansi color codes
2022-05-21 10:22:16 +02:00
Martin Gerhardy
fb5549aa05
VOXEL: added new built-in palette for nippon
2022-05-20 20:37:40 +02:00
Martin Gerhardy
db1cc28364
VOXELFORMAT: removed manual memory management for volumes
2022-05-20 20:29:46 +02:00
Martin Gerhardy
5b87dd6f58
VOXELFORMAT: use core::ScopedPtr
2022-05-20 20:18:21 +02:00
Martin Gerhardy
4fb083cd96
CORE: fixed toHex
2022-05-20 19:27:49 +02:00
Martin Gerhardy
464098270f
VOXELFORMAT: fixed some palette related issues
2022-05-20 19:27:23 +02:00
Martin Gerhardy
0a45bbb41e
VOXELFORMAT: reduced code duplication
2022-05-20 18:36:32 +02:00
Martin Gerhardy
e835a52fe3
VOXELFORMAT: reduced code duplication
2022-05-19 20:17:16 +02:00
Martin Gerhardy
051ed06deb
VOXELFORMAT: removed comparison operator for volumes
2022-05-19 19:58:34 +02:00
Martin Gerhardy
8806f7bae4
VOXELFORMAT: removed Format::load
2022-05-19 19:47:36 +02:00
Martin Gerhardy
7beda6d3fc
VOXEL: more work on putting one palette into each node
2022-05-19 19:43:25 +02:00
Martin Gerhardy
d447100a23
VOXELFORMAT: use PaletteMaxColors
2022-05-18 19:30:33 +02:00
Martin Gerhardy
7d73a9f9ca
VOXELFORMAT: fixed endless loop in subdivideTri
2022-05-18 19:30:05 +02:00