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
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
1ae93ef20c
also merge clipper points on CSGWrapMerge command
2018-11-15 01:02: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
c611be157a
* also filter "textures/common/donotenter" by Botclips filter
2018-11-01 02:24:12 +03:00
Garux
29998d8e8f
* improve rotation manipulations consistency in camera
2018-10-31 11:23:08 +03: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
736f89026f
use convhull_3d for quicker hull calculation
2018-10-22 18:36:38 +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
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
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
Garux
c5f2279f4a
* render direction arrow for group entities, having angle/angles key set or having angle/angles/direction attribute in .ent
...
draw condition relies on entity.getKeyValue, which also provides default values; thus removed default "0" for all group entities in .def loader
mind to add entity.getOnlySpecifiedKeyValue func or perform by visitor?
2018-08-16 20:00:58 +03:00
Garux
3706e1131a
binds...
...
* m3: copy texture name, alignment +new: color, light power, color
* alt + m3/drag: paste texture name (to pointed and selected stuff)
* shift + m3/drag: paste texture name, alignment +new: light power
* ctrl + m3/drag: paste texture seamlessly between brush faces +new: light color
* ctrl + shift + m3/drag: project texture from copied brush face +new: paste light power, color
* alt + ctrl/shift/ctrl+shift + m3/drag: respective texture alignment paste w/o texture name
fix void NormalizeColor( Vector3& color )
fix: reset texture clipboard texdef on selection in texbro (was only resetting scales)
2018-08-11 23:36:50 +03:00
Garux
7908a2b593
simplify TextureBrowser_GetSelectedShader, TextureBrowser_SetSelectedShader usage
...
assuming, that we have only TextureBrowser
2018-08-03 17:32:57 +03:00
Garux
94e01fdb0a
camera 2 points clipper: use likely more worthy split plane, if current axial one does not intersect selection bounds
2018-08-02 09:42:29 +03:00
Garux
461410f1a9
* fix automatic connection names resolving of cloned entities
...
issue was:
create entity 1, clone to 2,3; connect 1-2, 2-3 = 1-3 connected; 2-3, 1-2/3-2 2-1 = ok; create all ones via menu/clone-make-unique/ctrl+c +v = ok
clone-make-unique is broken, when operating with cloned entities, connected 3-2, 2-1 (ctrl+c +v too)
2018-07-27 20:21:42 +03:00
Garux
cc997fd5a1
* fix clone, clone-make-unique, select all of type, expand selection to entities/primitives for maps w/o worldspawn
2018-07-27 19:11:53 +03:00
Garux
5c48131eba
* rectangular selector gestures, enabling select, deselect and toggle behaviors
2018-07-23 16:25:32 +03:00
Garux
6ce87c04ac
* update Texture Quality (mip level) preference without restart
2018-07-10 12:49:23 +03:00
Garux
c3a110bf2c
fix old mipmaps code: tex size could be = 0
2018-07-10 01:13:47 +03:00
Garux
f83dc2e891
* use external textures mipmaps generation, draw NPoT textures correctly
2018-07-10 00:54:35 +03:00
Garux
d6389acf21
fix TranslateFreeXY_Z usage for entities with non identity origin
2018-06-30 12:40:29 +03:00
Garux
ac87395f6c
* preferences->Clipper->On DoubleClick do: clip or split (def = split)
2018-06-24 22:50:15 +03:00
Garux
962df6a60e
remove duplicated ViewEntityInfo command
2018-06-24 21:34:09 +03:00
Garux
ed151906bd
* bindable commands EntityMovePrimitivesToLast, EntityMovePrimitivesToFirst, EntityUngroup, EntityUngroupPrimitives
2018-06-24 21:25:53 +03:00
Garux
645c2f479c
comment out Scene_parentSelected() codes
2018-06-24 19:24:16 +03:00
Garux
f0057a86f4
* bindable commands FitTextureWidth, FitTextureHeight, FitTextureWidthOnly, FitTextureHeightOnly
2018-06-24 13:14:54 +03:00
Garux
59c05fa390
fix coincident UndoableCommand name "patchCreateCaps"
2018-06-24 12:16:08 +03:00