Commit Graph

11568 Commits (master)

Author SHA1 Message Date
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 310f51891a DOCS: updated changelog 2022-05-03 22:55:02 +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 0544ba371f DOCS: updated changelog 2022-05-03 18:46:02 +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 a23d2ec9e9 DOCS: mention the -1 for volume:setVoxel 2022-05-03 16:54:02 +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 13998ee299 DOCS: updated lua script docs 2022-05-02 18:57:04 +02:00
Martin Gerhardy ad958893df VOXEDIT: doxygen 2022-05-02 18:39:19 +02:00