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
Garux
1191f54ef4
add https://github.com/leomccormack/convhull_3d/blob/master/convhull_3d.h
2018-10-22 18:33:40 +03:00
Garux
70254905c8
fix: crash in CSG::BrushDeleteSelected (again(likely-))
2018-10-22 16:09:11 +03:00
Garux
053df17a35
binds... * clipper::enter, shift+enter, doubleclick: merge brushes and components with clipper points, if no cut occured
2018-10-22 13:58:36 +03:00
Garux
07bc303c2d
* arbitrary rotation dialog fix: also handle extra precision of values on execution by button press
2018-10-21 23:01:12 +03:00
Garux
2836989099
binds... * z, backspace (DeleteSelection): also delete selected components (vertices/edges/faces) of brush in a component mode
2018-10-18 20:14:29 +03:00
Garux
0f7af6aaa4
binds... * shift + u: new uniform CSG wrap merge algorithm, merging selected brushes and/or components
2018-10-16 01:20:09 +03:00
Garux
614885f1fb
fix typos
2018-10-07 23:36:13 +03:00
Garux
502cc59eee
fix 64bit compilation
2018-10-07 04:54:32 +03:00
Garux
2a3ca3a44f
binds... * alt + m2 in camera: orbit around clicked point
2018-10-07 02:20:29 +03:00
Garux
9c91f4fa78
binds... * alt + m1 in camera: new resizing mode for brushes, curves and doom3 lights with direct and indirect selection methods
2018-10-06 02:31:05 +03:00
Garux
f99cf57f27
fix some strncpy use
2018-09-29 21:34:03 +03:00
Garux
86904473bb
* picomodel: do some guessings about shader paths to handle more cases out of the box; ones are based on material and diffuse map names:
...
name w/o path: assume textures are in the folder, where model file is
absolute path or with ..: try to cut at "/models/" or "/textures/" (as if leading to game folders); do previous case, if not
strip extensions and turn slashes to forward ones anytime
* picomodel::obj: fix diffuse map paths loading from .mtl
2018-09-29 14:39:10 +03:00
Garux
cf885ea4ea
use OpenGLRenderable to draw camera workzone for proper sorting and smoother states management
2018-09-25 20:50:04 +03:00
Garux
2d35f656f9
* represent grid by 3d camera workzone
2018-09-24 20:35:57 +03:00
Garux
cdd1676a59
minus inclusion, a bit of correctness in FBO_fallback
2018-08-29 00:12:00 +03:00
Garux
e7fec22b52
* rewrite and fix 2d background image feature; fix bug on intels (glPushAttrib)
2018-08-28 23:58:02 +03:00
Garux
1f4143ece2
* render size info in 3d camera
2018-08-28 16:06:47 +03:00
Garux
82ff22882d
* render workzone in 3d camera
2018-08-20 23:33:33 +03:00
Garux
601ca95fbf
simplify XYWnd::PaintSizeInfo slightly
2018-08-19 19:57:02 +03:00
Garux
afdf2a76e0
make Scene_BoundsSelected lazily evaluatable
2018-08-19 16:40:48 +03:00