Commit Graph

  • 6b8b568fd2 C++11 candy Garux 2018-12-08 16:44:08 +03:00
  • 389030e05d fix cached brush face centroid tracking Garux 2018-12-02 19:10:15 +03:00
  • 70167de13b switch CSG_build_hull to https://github.com/akuukka/quickhull lib, feels robust enough use -std=c++11 Garux 2018-12-01 15:43:26 +03:00
  • 058ae2697e use original brush for CSG_DeleteComponents result and try to for CSG_WrapMerge to preserve selection on undo Garux 2018-11-24 01:49:58 +03:00
  • adc6adf50e delete duplicate code, enable search in find/replace dialog in selected in component mode Garux 2018-11-23 16:50:27 +03:00
  • 7b28489554 Merge pull request #19 from NeonKnightOA/master Garux 2018-11-15 07:30:57 +03:00
  • e378a87134 It fixes compilation errors in some systems. Neon_Knight 2018-11-14 20:59:37 -03:00
  • 1ae93ef20c also merge clipper points on CSGWrapMerge command Garux 2018-11-15 01:02:37 +03:00
  • fd3cd64c35 Merge pull request #2 from Garux/master NeonKnightOA 2018-11-14 18:44:37 -03:00
  • a88202f6c1 CSG_build_hull: use bruteforce, when is reasonable (double facehoof) Garux 2018-11-15 00:16:39 +03:00
  • d83d5977b7 * fix: update component modes toolbar buttons on entering clipper mode Garux 2018-11-14 22:38:00 +03:00
  • 1afd6126fd Merge pull request #16 from neogeographica/joel-dialogs Garux 2018-11-06 12:18:56 +03:00
  • c2501bb551 add URL to Help dialog Joel Baxter 2018-11-05 15:47:36 -08:00
  • dc165777ea remove word "commit" from the About dialog Joel Baxter 2018-11-05 15:46:46 -08:00
  • c611be157a * also filter "textures/common/donotenter" by Botclips filter Garux 2018-11-01 02:24:12 +03:00
  • 12c00a60ef Merge pull request #13 from zturtleman/picomodel-obj-surface-vertexes Garux 2018-10-31 11:31:22 +03:00
  • 29998d8e8f * improve rotation manipulations consistency in camera Garux 2018-10-31 11:23:08 +03:00
  • 9aa9620d4d Fix over allocating vertexes for OBJ models with multiple surfaces Zack Middleton 2018-10-30 20:27:44 -05:00
  • c49be81280 use TranslateFreeXY_Z in 2d in DragManipulator & ClipManipulator Garux 2018-10-30 13:29:12 +03:00
  • 8508ee720e * XY + Z style of transform manipulator translations Garux 2018-10-30 12:31:04 +03:00
  • 74f2f5a5b4 * improve skew manipulation consistency in camera Garux 2018-10-30 11:32:32 +03:00
  • b6fd6e803f * 3d camera clipper: move points in XY + Z style with shift, ctrl, alt; snap to grid with ctrl Garux 2018-10-30 01:04:34 +03:00
  • d716c4d0b9 tweak new miniz Garux 2018-10-23 19:43:04 +03:00
  • 2384269177 update miniz to recent version https://github.com/richgel999/miniz Garux 2018-10-23 19:32:18 +03:00
  • 736f89026f use convhull_3d for quicker hull calculation Garux 2018-10-22 18:36:38 +03:00
  • 1191f54ef4 add https://github.com/leomccormack/convhull_3d/blob/master/convhull_3d.h Garux 2018-10-22 18:33:40 +03:00
  • 70254905c8 fix: crash in CSG::BrushDeleteSelected (again(likely-)) Garux 2018-10-22 16:09:11 +03:00
  • 053df17a35 binds... * clipper::enter, shift+enter, doubleclick: merge brushes and components with clipper points, if no cut occured Garux 2018-10-22 13:58:36 +03:00
  • 07bc303c2d * arbitrary rotation dialog fix: also handle extra precision of values on execution by button press Garux 2018-10-21 23:01:12 +03:00
  • 2836989099 binds... * z, backspace (DeleteSelection): also delete selected components (vertices/edges/faces) of brush in a component mode Garux 2018-10-18 20:14:29 +03:00
  • 0f7af6aaa4 binds... * shift + u: new uniform CSG wrap merge algorithm, merging selected brushes and/or components Garux 2018-10-16 01:20:09 +03:00
  • 614885f1fb fix typos Garux 2018-10-07 23:36:13 +03:00
  • 502cc59eee fix 64bit compilation Garux 2018-10-07 04:54:32 +03:00
  • 2a3ca3a44f binds... * alt + m2 in camera: orbit around clicked point Garux 2018-10-07 02:20:29 +03:00
  • 9c91f4fa78 binds... * alt + m1 in camera: new resizing mode for brushes, curves and doom3 lights with direct and indirect selection methods Garux 2018-10-06 02:31:05 +03:00
  • f99cf57f27 fix some strncpy use Garux 2018-09-29 21:34:03 +03:00
  • 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 Garux 2018-09-29 14:39:10 +03:00
  • cf885ea4ea use OpenGLRenderable to draw camera workzone for proper sorting and smoother states management Garux 2018-09-25 20:50:04 +03:00
  • 2d35f656f9 * represent grid by 3d camera workzone Garux 2018-09-24 20:35:57 +03:00
  • cdd1676a59 minus inclusion, a bit of correctness in FBO_fallback Garux 2018-08-29 00:12:00 +03:00
  • e7fec22b52 * rewrite and fix 2d background image feature; fix bug on intels (glPushAttrib) Garux 2018-08-28 23:58:02 +03:00
  • 1f4143ece2 * render size info in 3d camera Garux 2018-08-28 16:06:47 +03:00
  • 82ff22882d * render workzone in 3d camera Garux 2018-08-20 23:33:33 +03:00
  • 601ca95fbf simplify XYWnd::PaintSizeInfo slightly Garux 2018-08-19 19:57:02 +03:00
  • afdf2a76e0 make Scene_BoundsSelected lazily evaluatable Garux 2018-08-19 16:40:48 +03:00
  • 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? Garux 2018-08-16 20:00:58 +03:00
  • 6ad88b42fa Q3map2: * fix reading of old wolf, et, etut bsps Garux 2018-08-12 19:18:43 +03:00
  • 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) Garux 2018-08-11 23:36:50 +03:00
  • 7908a2b593 simplify TextureBrowser_GetSelectedShader, TextureBrowser_SetSelectedShader usage assuming, that we have only TextureBrowser Garux 2018-08-03 17:32:57 +03:00
  • 94e01fdb0a camera 2 points clipper: use likely more worthy split plane, if current axial one does not intersect selection bounds Garux 2018-08-02 09:42:29 +03:00
  • 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) Garux 2018-07-27 20:21:42 +03:00
  • cc997fd5a1 * fix clone, clone-make-unique, select all of type, expand selection to entities/primitives for maps w/o worldspawn Garux 2018-07-27 19:11:53 +03:00
  • 5c48131eba * rectangular selector gestures, enabling select, deselect and toggle behaviors Garux 2018-07-23 16:25:32 +03:00
  • 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 Garux 2018-07-21 22:12:51 +03:00
  • a13ad776b4 * fix group entities name position with origin key used Garux 2018-07-21 22:05:31 +03:00
  • 9643c53990 * picomodel: fix parser->curLine for line number report (was increased twice) Garux 2018-06-10 01:27:49 +03:00
  • b12ecc838b picomodel: white default color of fm, md2 (was one white and rest black) unified picoColor_white Garux 2018-06-10 01:27:49 +03:00
  • 47ef9a6ae2 * picomodel::obj: fix black default vertex color, also use one from .mtl Garux 2018-06-10 01:27:49 +03:00
  • 6ce87c04ac * update Texture Quality (mip level) preference without restart Garux 2018-06-10 01:27:49 +03:00
  • c3a110bf2c fix old mipmaps code: tex size could be = 0 Garux 2018-06-10 01:27:49 +03:00
  • f83dc2e891 * use external textures mipmaps generation, draw NPoT textures correctly Garux 2018-06-10 01:27:49 +03:00
  • d6389acf21 fix TranslateFreeXY_Z usage for entities with non identity origin Garux 2018-06-10 01:27:49 +03:00
  • ac87395f6c * preferences->Clipper->On DoubleClick do: clip or split (def = split) Garux 2018-06-10 01:27:49 +03:00
  • 962df6a60e remove duplicated ViewEntityInfo command Garux 2018-06-10 01:27:49 +03:00
  • ed151906bd * bindable commands EntityMovePrimitivesToLast, EntityMovePrimitivesToFirst, EntityUngroup, EntityUngroupPrimitives Garux 2018-06-10 01:27:49 +03:00
  • 645c2f479c comment out Scene_parentSelected() codes Garux 2018-06-10 01:27:49 +03:00
  • f0057a86f4 * bindable commands FitTextureWidth, FitTextureHeight, FitTextureWidthOnly, FitTextureHeightOnly Garux 2018-06-10 01:27:49 +03:00
  • 59c05fa390 fix coincident UndoableCommand name "patchCreateCaps" Garux 2018-06-10 01:27:49 +03:00
  • 9f6a467e1e * handle degenerate cases of 2 points clipper in camera (points on the line of view direction) Garux 2018-06-10 01:27:49 +03:00
  • 5a78874f9b * selector size: bump default 8->12 clipper's one = user preference + 4 hardcode for pivoted manipulators to 8 (since their size is constant) Garux 2018-06-10 01:27:49 +03:00
  • 78c97a6625 * disable clipper cut action on doubleclick, if click has set second point Garux 2018-06-10 01:27:49 +03:00
  • b5e9d98bc7 status_grid tooltip_markup Garux 2018-06-09 22:51:26 +03:00
  • 367e13e880 * map objects counts statusbar icons * omit textures/ prefix in texture clipboard status Garux 2018-06-09 22:04:23 +03:00
  • fd1e14864a * enable entity->killconnect for game type="q1" Garux 2018-06-09 00:47:16 +03:00
  • 11e2cb2d01 RenderableNamedEntity : adjust behind nearplane epsilon Garux 2018-06-08 22:09:25 +03:00
  • f51000c0d0 3d cam: DragNewBrush: improve big grid handling Garux 2018-06-08 21:30:38 +03:00
  • aff5c8093e * up/down floor walker: examine all types of scene nodes (was brushes only) consider only top/down and selected instances (was whole scene) fix jam at close coords also jump to bottommost coord of considered objects Garux 2018-06-08 21:05:47 +03:00
  • 2f38cfb4a3 * default (QE) tool: new translation styles: "XY plane + Z with Alt", "View plane + Forward with Alt" (prefs->Selection->Move style in 3D) Garux 2018-06-04 19:22:07 +03:00
  • c0b6f2169a * statusbar: show selected brushes/patches/entities counts, if anything is selected; total, if not Garux 2018-06-01 02:23:07 +03:00
  • 24c02facb2 refactor status text, status labels Garux 2018-05-31 16:16:47 +03:00
  • 6b8a1980af * add statusbar->patches count Garux 2018-05-31 12:38:43 +03:00
  • 4a59d83139 simplify void NormalizeColor( Vector3& color ) Garux 2018-05-24 23:16:59 +03:00
  • bf6e29d9c6 * remove entity->ungroup command: change classname to worldspawn does equal job; 'create worldspawn' click ungroups selected primitives only Garux 2018-05-24 22:56:46 +03:00
  • 66197713a5 simplify ParentSelectedBrushesToEntityWalker add comments to EntitySetClassnameSelected Garux 2018-05-24 21:37:39 +03:00
  • 17a7e2f413 * replace reGroup command with simpler to use Move Primitives to Entity one (select primitives to move, select target entity primitive, go) fix crashes in Entity_ungroupSelected, Entity_connectSelected rename entity commands uniformly for simpler search in the list Garux 2018-05-24 18:21:38 +03:00
  • 6f8a0668a3 add and use VolumeTest/View.getViewDir() Garux 2018-05-18 01:55:20 +03:00
  • 4745e0b23b update README.md Garux 2018-05-16 17:51:52 +03:00
  • 4542d9da3c * Valve220: transform basis in special way with texture lock off Garux 2018-05-16 16:40:54 +03:00
  • ae1bd2c066 matrix4_for_normal_transform, matrix4_transformed_normal, plane3_transformed_affine_full functions Garux 2018-05-16 14:16:43 +03:00
  • e1bc4a8ba9 fix quaternion_for_unit_vectors, quaternion_normalised RotateFree got lower (realistic) sensitivity Garux 2018-05-16 02:59:18 +03:00
  • 0a4d325f85 fix slow mass (de)selection in clipper mode Garux 2018-05-15 02:55:05 +03:00
  • a18a5d7c9b * snap Clipper points to brush planes, edges and vertices (in 3d camera) Garux 2018-05-15 02:43:10 +03:00
  • 813cd70fd3 add vector3_max_abs_component_index, vector3_min_abs_component_index functions Garux 2018-05-14 22:35:31 +03:00
  • 26b2065350 refactor SelectionIntersection Garux 2018-05-14 22:31:37 +03:00
  • af9850510f prevent cursor change GDK_BLANK_CURSOR->g_clipper_cursor during freelook Garux 2018-05-14 13:36:44 +03:00
  • b2a911c9b1 * fix: update BrushClipPlane rendering on undo Garux 2018-05-14 12:54:02 +03:00
  • c3bc392afe * wysiwyg lights selection (was bbox based) Garux 2018-05-11 21:03:46 +03:00
  • 05ea23c623 reimplement: * m1x2 on clipper point = do clip Garux 2018-05-11 18:01:10 +03:00
  • a42709f80a reimplement: * ctrl + m1: quick clipper mode (quits one after split done) (in 2d) Garux 2018-05-11 02:27:52 +03:00
  • 522cac75dc * preferences->Clipper->"Reset Flipped State" (on cut done and on manipulator changed), "Reset Points on Split", "2 Points in 2D Views" Garux 2018-05-10 02:31:08 +03:00