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 |
Martin Gerhardy
|
c1d613ab34
|
VOXELFORMAT: use the PaletteLookup helper for qbcl
|
2022-05-18 18:45:34 +02:00 |
Martin Gerhardy
|
8a2dc9d899
|
VOXELFORMAT: debug logging
|
2022-05-18 17:53:07 +02:00 |
Martin Gerhardy
|
3e3081eed5
|
VOXELFORMAT: transfer the loaded palette into the new node for vxr
|
2022-05-18 17:31:30 +02:00 |
Martin Gerhardy
|
db0999ef8c
|
ALL: introduced highp vec types
|
2022-05-17 23:53:30 +02:00 |
Martin Gerhardy
|
ed32502ab8
|
VOXELFORMAT: fixed struct sizes
|
2022-05-17 23:46:38 +02:00 |
Martin Gerhardy
|
d57c4244cc
|
TESTGPUMC: fixed size of the struct
|
2022-05-17 23:42:07 +02:00 |
Martin Gerhardy
|
e068fb701e
|
VOXEL: explicitly make the voxel vertex position highp
and not aligned for sse operations
|
2022-05-17 23:29:25 +02:00 |
Martin Gerhardy
|
fcd1ba859f
|
CORE: ensure that the allocator was initialized successfully
|
2022-05-18 07:12:22 +02:00 |
Martin Gerhardy
|
88f6ca67a5
|
CORE: fixed pool allocator for hashmaps with 1 entry
|
2022-05-18 07:08:51 +02:00 |
Martin Gerhardy
|
1bf62a06dd
|
VOXELFORMAT: todo comment regarding obj voxelization
|
2022-05-17 23:28:16 +02:00 |
Martin Gerhardy
|
40447a70b8
|
VOXELFORMAT: debug logging
|
2022-05-17 21:35:36 +02:00 |
Martin Gerhardy
|
fb0fa829fb
|
CORE: extended assert message
|
2022-05-17 21:34:56 +02:00 |
Martin Gerhardy
|
6200d0a910
|
CORE: increase the size value type for the Map class
|
2022-05-17 21:34:39 +02:00 |
Martin Gerhardy
|
5743000d77
|
VOXFORMAT: debug logging
|
2022-05-17 20:59:46 +02:00 |
Martin Gerhardy
|
9bf04b25b6
|
VOXFORMAT: debug logging
|
2022-05-17 20:53:00 +02:00 |
Martin Gerhardy
|
eceb44d464
|
VOXELFORMAT: replace auto
|
2022-05-16 22:03:51 +02:00 |
Martin Gerhardy
|
4c14ec4a55
|
VOXELFORMAT: save gltf palettes
|
2022-05-16 21:36:44 +02:00 |
Martin Gerhardy
|
4b0b13067e
|
VOXELFORMAT: use node palette
|
2022-05-16 21:27:59 +02:00 |
Martin Gerhardy
|
f48b2be7b3
|
VOXEL: palette::save is const now
|
2022-05-16 21:17:48 +02:00 |
Martin Gerhardy
|
5a9e125874
|
VOXELFORMAT: don't hardcode the material index
|
2022-05-12 00:30:14 +02:00 |
Martin Gerhardy
|
86ad634ad9
|
VOXELFORMAT: extract vxc content to access it
|
2022-05-12 00:18:06 +02:00 |
Martin Gerhardy
|
33f87bafc0
|
VOXELFORMAT: added debug logging
|
2022-05-12 00:15:10 +02:00 |
Martin Gerhardy
|
edbcbfb923
|
VOXELFORMAT: removed file magic for vxc - as the file is compressed
|
2022-05-12 00:00:12 +02:00 |
Martin Gerhardy
|
7764d3b1a2
|
VOXELFORMAT: fixed file extension check for vxc files
|
2022-05-11 23:49:03 +02:00 |
Martin Gerhardy
|
84f5b7be3e
|
VOXELFORMAT: fixed hash map size
|
2022-05-11 23:44:05 +02:00 |
Martin Gerhardy
|
c9a10ec425
|
VOXELFORMAT: use the node palette for the mesh format export, too
|
2022-05-11 23:28:49 +02:00 |
Martin Gerhardy
|
96d7f8a6bb
|
VOXEDIT: todo comment
|
2022-05-11 23:25:26 +02:00 |
Martin Gerhardy
|
a2160532f7
|
LIBS: updated dearimgui
|
2022-05-11 23:23:52 +02:00 |
Martin Gerhardy
|
8d48266d85
|
VOXEDIT: limit the fillplane modifier to the selection
|
2022-05-11 23:18:07 +02:00 |
Martin Gerhardy
|
700abb4a38
|
VOXEDIT: added missing command for fillplane modifier action
|
2022-05-11 22:55:34 +02:00 |
Martin Gerhardy
|
58900fd613
|
UI: fixed filter entries duplication in file dialog
|
2022-05-11 22:51:17 +02:00 |
Martin Gerhardy
|
250f3a9b80
|
VOXEDIT: don't load the last opened file
in case of the file being a mesh type the voxelization can take some time.
|
2022-05-11 22:39:01 +02:00 |
Martin Gerhardy
|
8f8ea6ce4d
|
VOXELFORMAT: improved color selection for voxelization
|
2022-05-11 22:32:40 +02:00 |
Martin Gerhardy
|
82f9cbd54f
|
IMAGE: fixed segfault if image could not get loaded
|
2022-05-11 19:18:24 +02:00 |
Martin Gerhardy
|
3d6b6fbd26
|
VOXEDIT: prepare for different palettes
|
2022-05-10 20:23:36 +02:00 |
Martin Gerhardy
|
1cc6137ac7
|
VOXELFORMAT: use size() to check for empty palette
|
2022-05-10 20:22:13 +02:00 |
Martin Gerhardy
|
822ed46734
|
RENDER: extract to local variable
|
2022-05-10 20:08:54 +02:00 |
Martin Gerhardy
|
0e2c72f4e1
|
VOXFORMAT: don't store invalid palettes in the node
this happens e.g. in qbt format which can use both rgba and palette
for the colors
|
2022-05-10 19:55:38 +02:00 |
Martin Gerhardy
|
bd7e9b29a3
|
VOXELFORMAT: use the palette lookup util for qbt loading
|
2022-05-09 20:30:21 +02:00 |
Martin Gerhardy
|
77ae4023c0
|
VOXELFORMAT: perform sanity check earlier
|
2022-05-09 20:29:21 +02:00 |
Martin Gerhardy
|
01701c2814
|
VOXELFORMAT: preserve the node details when loading a vxt file
|
2022-05-09 20:28:33 +02:00 |
Martin Gerhardy
|
e38e40f3e8
|
VOXELFORMAT: use the palette of the merge for qef saving
|
2022-05-09 20:27:44 +02:00 |
Martin Gerhardy
|
190c9fdf41
|
VOXELFORMAT: use the node palette in qbt saving
|
2022-05-09 20:27:13 +02:00 |
Martin Gerhardy
|
40ed4d0cbc
|
VOXELFORMAT: ensure the new palette is marked as dirty when set into a node
this is updating the hash values and makes the palette comparable to others
|
2022-05-09 20:26:26 +02:00 |
Martin Gerhardy
|
19a8fcee48
|
VOXELFORMAT: use the merged palette
|
2022-05-09 20:25:47 +02:00 |
Martin Gerhardy
|
b4b56aef38
|
VOXELFORMAT: use the node palette for qbcl writing
|
2022-05-09 20:23:49 +02:00 |
Martin Gerhardy
|
c63cb66fd5
|
VOXELFORMAT: use the node palette for gox saving
|
2022-05-09 20:22:42 +02:00 |
Martin Gerhardy
|
90fc488671
|
VOXELFORMAT: use merged palette
|
2022-05-09 20:22:09 +02:00 |
Martin Gerhardy
|
2a8bdf0464
|
CORE: get non const pointer from core::Optional
|
2022-05-09 20:21:23 +02:00 |
Martin Gerhardy
|
d3f5d8aebe
|
VOXELFORMAT: reduced code duplication
|
2022-05-09 20:21:02 +02:00 |
Martin Gerhardy
|
710baa3e8e
|
VOXELFORMAT: mark as unused
|
2022-05-09 18:44:12 +02:00 |
Martin Gerhardy
|
0f4203cc3c
|
VOXELFORMAT: renamed class and added subclasses for the format
|
2022-05-09 18:41:18 +02:00 |
Martin Gerhardy
|
5d0eaad3a6
|
VOXELFORMAT: fixed comment after refactoring
|
2022-05-09 18:24:43 +02:00 |
Martin Gerhardy
|
e41e2a062c
|
VOXELFORMAT: use copyNode util function
|
2022-05-09 18:10:49 +02:00 |
Martin Gerhardy
|
2968a488ed
|
VOXELFORMAT: added copyNode helper function
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
d4aa4b9757
|
VOXELFORMAT: changed SceneGraph::merge return value to also include the palette
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
fa5563c474
|
VOXELFORMAT: copy palette for scene graph nodes
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
d1c60d1758
|
VOXELFORMAT: moved scene graph emplacement
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
5c80ec486e
|
VOXELFORMAT: use PaletteLookup util
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
4e2a3a8271
|
VOXELFORMAT: add palette to scene graph node
|
2022-05-09 18:05:30 +02:00 |
Martin Gerhardy
|
bd70f785d5
|
CORE: added Pair helper
|
2022-05-09 18:05:11 +02:00 |
Martin Gerhardy
|
a7ebd51a86
|
CORE: added new class Optional
|
2022-05-09 18:04:32 +02:00 |
Martin Gerhardy
|
1592b5e4a5
|
PERSISTENCE: don't free the error message
According to https://www.postgresql.org/docs/current/libpq-status.html
this is automatically done when calling PQfinish
|
2022-05-05 20:24:24 +02:00 |
Martin Gerhardy
|
91b7da0c29
|
VOXELGENERATOR: added new lua example script for using noise
|
2022-05-03 22:53:31 +02:00 |
Martin Gerhardy
|
e47be87b97
|
VOXELGENERATOR: added lua helper function
|
2022-05-03 22:53:08 +02:00 |
Martin Gerhardy
|
baf7ea7592
|
VOXELGENERATOR: added region:size()
|
2022-05-03 22:52:50 +02:00 |
Martin Gerhardy
|
abf78f5a1a
|
VOXELGENERATOR: expose more noise types to the lua scripts
|
2022-05-03 18:41:00 +02:00 |
Martin Gerhardy
|
6244561c92
|
VOXELGENERATOR: added new example script
|
2022-05-03 17:36:59 +02:00 |
Martin Gerhardy
|
e820b0deb5
|
VOXELGENERATOR: added volume:crop
|
2022-05-03 17:19:33 +02:00 |
Martin Gerhardy
|
6d31aacee5
|
VOXELGENERATOR: extended volume lua actions
|
2022-05-03 17:16:12 +02:00 |
Martin Gerhardy
|
3173a91d85
|
VOXELUTIL: fixed splitVolume for maxs being negative or located at 0
|
2022-05-02 18:55:11 +02:00 |
Martin Gerhardy
|
ad958893df
|
VOXEDIT: doxygen
|
2022-05-02 18:39:19 +02:00 |
Martin Gerhardy
|
febf449502
|
VOXELGENERATOR: allow to delete voxels via volume:setvoxel(x, y, z, -1)
|
2022-05-02 18:26:45 +02:00 |
Martin Gerhardy
|
d913b116cd
|
UTIL: added missing 'release-button' commands for the unittest
|
2022-05-02 18:14:48 +02:00 |
Martin Gerhardy
|
aabf843ad0
|
VOXEDIT: fixed segfault if the undo volume is currently extracted
|
2022-05-02 18:10:50 +02:00 |
Martin Gerhardy
|
1374f1e563
|
VOXEDIT: added Single flag to FillPlane modifier
|
2022-05-01 22:55:30 +02:00 |
Martin Gerhardy
|
8887798aa6
|
VOXELUTIL: improved fillPlane algorithm
|
2022-05-01 22:44:01 +02:00 |
Martin Gerhardy
|
efc2457e72
|
VOXEDIT: tweaked icons
|
2022-05-01 22:04:54 +02:00 |
Martin Gerhardy
|
88ee7191e6
|
VOXEDIT: added FillPlane modifier
|
2022-05-01 22:08:21 +02:00 |
Martin Gerhardy
|
0422bbddcd
|
VOXELUTIL: added unittest for fillHollow
|
2022-05-01 21:58:30 +02:00 |
Martin Gerhardy
|
879b1143c4
|
VOXEDIT: added single voxel edit mode
|
2022-05-01 21:47:24 +02:00 |
Martin Gerhardy
|
7b31c98407
|
VOXELUTIL: implement a plane filling algorithm
|
2022-05-01 21:28:29 +02:00 |
Martin Gerhardy
|
71c4b24326
|
VOXCONVERT: changed default value for --image-as-volume-both-sides
|
2022-05-01 21:27:48 +02:00 |
Martin Gerhardy
|
745a1ad125
|
VOXEL: fixed mesh extraction for small volumes
introduced in 141e5ebd5a
|
2022-05-01 21:26:44 +02:00 |
Martin Gerhardy
|
f36e3a20e9
|
VOXELFORMAT: fixed segfaul in vox format saving
|
2022-04-29 17:58:37 +02:00 |
Martin Gerhardy
|
1447cb34e9
|
CORE: improved stacktrace output
|
2022-04-29 17:52:16 +02:00 |