Commit Graph

1733 Commits

Author SHA1 Message Date
Garux
034f06f18d * brushexport plugin: write Kd (diffuse color) and map_Kd (diffuse map) data to .mtl
* brushexport plugin fix: invert Y during YZ swap; invert V of UV coords (correct texturing)
	* brushexport plugin: default to 'Don't collapse' option
q3map2:	* obj export: save in popular 'Y = Up, -Z = Forward' format
	* picomodel::obj: load as popular 'Y = Up, -Z = Forward' format
	* picomodel::obj: fix support of back references in faces
2019-01-10 00:44:27 +03:00
Garux
e7fbe45319 build monitoring: change timeout value back to 25, as 8 results in radiant, taking one cpu thread for some reason
buffered stream is quick enough anyway
2019-01-07 19:26:17 +03:00
Garux
168e085d8e * "BuildMenu" preference: store filename (def. build_menu.xml) instead of absolute path for portability; absolute path is supported too, if set
* fix: load customized build_menu.xml from settings folder on the very first start and with senseless "BuildMenu" value
2018-12-26 16:20:43 +03:00
Garux
5e50ac9ccf q3map2 * allow maps with only point entity@( 0, 0, 0 )
more informative prints
2018-12-26 02:59:12 +03:00
Garux
90d272e0a8 fix commit 9186d18353 , handle 'no vertices selected' case properly 2018-12-25 22:50:18 +03:00
Garux
4dc9b18f70 * fix brush shader names handling by bobtoolz (was writting empty shader name = crash on map save, at least "textures/" is expected)
complain about patch and brush shader names harder
2018-12-24 23:44:57 +03:00
Garux
9186d18353 optimize vertices reselection during vertex manipulations 2018-12-24 00:08:55 +03:00
Garux
ab0f376d4a * lower Winding_Clip ON_EPSILON to play with weird brushes w/o error 2018-12-23 23:46:22 +03:00
Garux
2f867c99d9 * fix crashy assertions on vertices/edges selection (also = during vertex manipulations)
by removing not needed anymore update_move_planepts_vertex code
	* disable points snapping to .125 grid during edge manipulation (already disabled for vertex mode)
2018-12-23 23:44:13 +03:00
Garux
048b4a50f2 q3map2 * model autoclip: handle 'triangle points almost on line' case 2018-12-22 13:03:22 +03:00
Garux
674eacf842 q3map2: * fix map region -light compilation: load lights from .reg, not .map 2018-12-21 14:52:47 +03:00
Garux
45a0c71543 fix typo 2018-12-21 11:53:02 +03:00
Garux
13481405ac improve workaround of slow fontconfig start 2018-12-21 11:48:34 +03:00
Garux
07e2a65a93 install-dlls-msys2-mingw.sh: also copy new external gdk-pixbuf stuff
fixes #17
2018-12-21 11:05:30 +03:00
Garux
0a91aaef32 fix compilation in Ubuntu 2018-12-16 14:18:46 +03:00
Garux
43f6e8977a upper the README.md case 2018-12-13 21:29:42 +03:00
Garux
a7d09ee22e update README.md 2018-12-13 21:19:16 +03:00
Garux
bcbbde0b35 remove debug prints 2018-12-13 19:31:23 +03:00
Garux
9eff327c70 refactor brush transform evaluation code to reduce amount of unneeded evaluations to 0
improvable: don't evaluateBRep on shader changed, perhaps more
fix: brush vertex manip: no vertexModeFree() after identity transform (mouse forth and back / rotate dialog 0 / insertion w/o move) = selects vertices on undo
fix: brush vertex manip: tex vertex lock: broken for 220
use brush::vertexmode code to delete selected brush components
2018-12-13 19:13:26 +03:00
Garux
868ff8fe50 * insert brush vertices in vertex mode by clicking with no ones selected 2018-12-11 13:19:07 +03:00
Garux
9a2886e624 add build tool skeleton; does nothing, button is hidden 2018-12-10 23:01:09 +03:00
Garux
907c0b1265 minus Brush_textureChanged(); call, faces are getting deselected anyway 2018-12-10 21:08:52 +03:00
Garux
51c798fd9c * Snap to grid in a component mode: snap whole objects, if no components selected
* Snap brush/its vertices to grid: rebuild brush from snapped vertices with optional texture vertex lock
2018-12-10 21:00:33 +03:00
Garux
3f3230ed2a remove debug prints 2018-12-10 17:51:41 +03:00
Garux
435c41b73b * new vertex editing mode, preserving non modified vertices (=adding/removing faces automatically)
with debug prints
2018-12-10 17:50:40 +03:00
Garux
6b8b568fd2 C++11 candy 2018-12-08 16:44:08 +03:00
Garux
389030e05d fix cached brush face centroid tracking 2018-12-05 15:19:12 +03:00
Garux
70167de13b switch CSG_build_hull to https://github.com/akuukka/quickhull lib, feels robust enough
use -std=c++11
2018-12-01 15:43:26 +03:00
Garux
058ae2697e use original brush for CSG_DeleteComponents result and try to for CSG_WrapMerge to preserve selection on undo 2018-11-24 01:49:58 +03:00
Garux
adc6adf50e delete duplicate code, enable search in find/replace dialog in selected in component mode 2018-11-23 16:50:27 +03:00
Garux
7b28489554 Merge pull request #19 from NeonKnightOA/master
Fixing some lines which cause compile errors in some systems.
2018-11-15 07:30:57 +03:00
Neon_Knight
e378a87134 It fixes compilation errors in some systems. 2018-11-14 20:59:37 -03:00
Garux
1ae93ef20c also merge clipper points on CSGWrapMerge command 2018-11-15 01:02:37 +03:00
NeonKnightOA
fd3cd64c35 Merge pull request #2 from Garux/master
Updating the repo.
2018-11-14 18:44:37 -03:00
Garux
a88202f6c1 CSG_build_hull: use bruteforce, when is reasonable (double facehoof) 2018-11-15 00:16:39 +03:00
Garux
d83d5977b7 * fix: update component modes toolbar buttons on entering clipper mode 2018-11-14 22:38:00 +03:00
Garux
1afd6126fd Merge pull request #16 from neogeographica/joel-dialogs
small improvements for MeshTex plugin About/Help dialogs
2018-11-06 12:18:56 +03:00
Joel Baxter
c2501bb551 add URL to Help dialog
Link to a sort-of-useful online doc.
2018-11-05 15:47:36 -08:00
Joel Baxter
dc165777ea remove word "commit" from the About dialog
(since the commit hash itself has already been removed)
2018-11-05 15:46:46 -08:00
Garux
c611be157a * also filter "textures/common/donotenter" by Botclips filter 2018-11-01 02:24:12 +03:00
Garux
12c00a60ef Merge pull request #13 from zturtleman/picomodel-obj-surface-vertexes
Fix over allocating vertexes for OBJ models with multiple surfaces
2018-10-31 11:31:22 +03:00
Garux
29998d8e8f * improve rotation manipulations consistency in camera 2018-10-31 11:23:08 +03:00
Zack Middleton
9aa9620d4d Fix over allocating vertexes for OBJ models with multiple surfaces
Loading Wavefront OBJ models in picomodel (used by radiant and q3map2)
did not reset the surface vertex index when starting a new surface. This
caused there to be unused vertexes, equal to the number of vertexes in
all previous surfaces, at the beginning of each surface. Exponential OBJ
vertex memory usage as number of surfaces increases. It did not affect
displaying or processing the surface faces.
2018-10-30 20:27:44 -05:00
Garux
c49be81280 use TranslateFreeXY_Z in 2d in DragManipulator & ClipManipulator 2018-10-30 13:29:12 +03:00
Garux
8508ee720e * XY + Z style of transform manipulator translations 2018-10-30 12:31:04 +03:00
Garux
74f2f5a5b4 * improve skew manipulation consistency in camera 2018-10-30 11:32:32 +03:00
Garux
b6fd6e803f * 3d camera clipper: move points in XY + Z style with shift, ctrl, alt; snap to grid with ctrl 2018-10-30 01:04:34 +03:00
Garux
d716c4d0b9 tweak new miniz 2018-10-23 19:43:04 +03:00
Garux
2384269177 update miniz to recent version https://github.com/richgel999/miniz 2018-10-23 19:32:18 +03:00
Garux
736f89026f use convhull_3d for quicker hull calculation 2018-10-22 18:36:38 +03:00