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
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
6ad88b42fa
Q3map2: * fix reading of old wolf, et, etut bsps
2018-08-12 19:18:43 +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
bbc691a07b
* more robust open/save/import dialog path handling (could crash by opening file w/o extension or with illegal one)
...
likely fix for extensions in uppercase in OSes with case dependent FSes
2018-07-21 22:12:51 +03:00
Garux
a13ad776b4
* fix group entities name position with origin key used
2018-07-21 22:05:31 +03:00
Garux
9643c53990
* picomodel: fix parser->curLine for line number report (was increased twice)
2018-07-18 22:01:08 +03:00
Garux
b12ecc838b
picomodel: white default color of fm, md2 (was one white and rest black)
...
unified picoColor_white
2018-07-18 14:53:15 +03:00
Garux
47ef9a6ae2
* picomodel::obj: fix black default vertex color, also use one from .mtl
2018-07-14 20:52:17 +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
Garux
9f6a467e1e
* handle degenerate cases of 2 points clipper in camera (points on the line of view direction)
2018-06-17 17:05:58 +03:00
Garux
5a78874f9b
* selector size: bump default 8->12
...
clipper's one = user preference + 4
hardcode for pivoted manipulators to 8 (since their size is constant)
2018-06-10 23:37:45 +03:00
Garux
78c97a6625
* disable clipper cut action on doubleclick, if click has set second point
2018-06-10 01:44:01 +03:00
Garux
b5e9d98bc7
status_grid tooltip_markup
2018-06-09 22:51:26 +03:00
Garux
367e13e880
* map objects counts statusbar icons
...
* omit textures/ prefix in texture clipboard status
2018-06-09 22:04:23 +03:00