Commit graph

  • de4dcb1fcc Default q3map2.vcproj generated by VC9. rambetter 2011-02-02 06:26:48 +0000
  • 42eb98d0b1 Removing q3map2/q3map2_VC9.vcproj. rambetter 2011-02-02 06:23:30 +0000
  • 9714a58fff Adding include paths. rambetter 2011-02-02 06:14:26 +0000
  • e865744856 md5lib stuff. rambetter 2011-02-02 06:12:13 +0000
  • 599e5bf8a4 md5lib.vcproj changing output dirs etc. rambetter 2011-02-02 06:10:45 +0000
  • b302526910 Stock md5lib.vcproj generated by VC9. rambetter 2011-02-02 06:03:08 +0000
  • f73e003061 Removing md5lib/md5lib_VC9.vcproj. rambetter 2011-02-02 05:59:27 +0000
  • 80465d6de2 picomodel.h again. rambetter 2011-02-02 05:52:00 +0000
  • b200364a44 picomodel.h issues still. rambetter 2011-02-02 05:48:41 +0000
  • 23520a2694 Adding ../picomodel.h. rambetter 2011-02-02 05:42:52 +0000
  • b74c954eee Trying to get picomodel static lib to compile, changing output and intermediate directories, etc. rambetter 2011-02-02 05:38:09 +0000
  • ee4df2b1c7 This is the vcproj generated by VC9. I will be tweaking it. This is "stock version". rambetter 2011-02-02 05:31:35 +0000
  • d0054b1069 Removing picomodel_VC9.vcproj. rambetter 2011-02-02 05:28:42 +0000
  • 2109403685 Removing non-VC9 project files. rambetter 2011-02-02 04:54:35 +0000
  • e8964f6ab4 In Rambetter-libs-updates-work branch, fiddling with config.py and what external libs are downloaded. This is temporary. rambetter 2011-02-02 04:52:55 +0000
  • 53af03faff use bsp version 47 for the appropriate games, this unbreaks a previous commit Forest Hale 2011-01-30 03:18:05 +0000
  • d98cdcafc4 Getting rid of mhash references, and adhering to newer libpng standards. This is work done to Rambetter-libs-updates-work branch. rambetter 2011-01-26 04:53:51 +0000
  • 4022e66e5e Creating branch Rambetter-libs-updates-work for fixing all the Visual C++ project files and getting new libraries of Gtk+ and so on. rambetter 2011-01-26 04:48:25 +0000
  • 3d4ac1ba23 Fixing filters. I didn't realize they were so broken. The fix is safe and should not break plugins or anything else. rambetter 2011-01-23 09:12:34 +0000
  • 9aa5e96c63 Adding "Preferences" -> "Other" -> "Brush" tab. This now has "Default texture scale:". (Preferences are game specific by the way.) The default value for this preference is specific to a game, but most of the time it's 0.5. This field allows the user to override that default. This is a feature that was specifically requrested by someone who wants to try using ZeroRadiant (he wants to set it to 0.25 for his "premium" maps). It's already a feature in NetRadiant. rambetter 2011-01-23 05:24:30 +0000
  • 2a99ba3745 No longer including JAPack in default Radiant builds. This is in order to reduce the size of Windows Radiant builds by a factor of 2. JAPack can still be used, but must either be installed manually after a build is made, or it must be explicitly downloaded before the build. rambetter 2011-01-22 07:10:03 +0000
  • 7dceb250fe Modifying game_reaction.h (for the game Reaction) to add custom surfaces. This is more convenient than using custinfoparms.txt. TTI (from the Reaction team) game these to me. rambetter 2011-01-22 07:03:51 +0000
  • 1f11459c84 Turn off desktop compositing in Windows ("Aero") for Radiant. Otherwise, "hall of mirrors" effect takes place in the OpenGL viewports. This fix is a real hack. It's actually borrowed from other Radiants such as NetRadiant. I'd like to fix the underlying issue someday so that Aero can be used with Radiant. rambetter 2011-01-22 03:22:21 +0000
  • 083f7c7d6a In function AddGamePath() in path_init.c for q3map2, only adding path if it's not already added (remove duplicates). It's cleaner this way. rambetter 2011-01-20 07:15:47 +0000
  • 89f0eeeb28 Adding game_reaction.h to q3map2. We cannot use "-game quake3" because we use ~/.Reaction instead of ~/.q3a . Oh well. This is for Reaction Quake III. rambetter 2011-01-20 06:31:26 +0000
  • 4d362964f7 Adding ReactionPack to Radiant code. rambetter 2011-01-20 05:36:24 +0000
  • cb169716fe Fixing a 45 degree model clipping problem. Introducing Q3MAP2_EXPERIMENTAL_MODEL_CLIPPING_FIX to control the new code, current value is 1 (enable the fix). This code fixes the q3map2 regression test model_clipping_45_degrees. rambetter 2011-01-19 06:41:33 +0000
  • 0475bf8f9c In decal_misalignment regression test for q3map2, accidentally had checked in the wrong shader file, ramb_common.shader. Replacing with radiant_regression_tests.shader. rambetter 2011-01-12 08:33:40 +0000
  • 085d8ec296 Adding model_clipping_45_degrees regression test for q3map2. rambetter 2011-01-12 08:04:12 +0000
  • 75d9abb1c3 Adding decal_misalignment regression test for q3map2. rambetter 2011-01-12 07:09:53 +0000
  • 1e922857d6 Adding piercing_triangle regression test. rambetter 2011-01-12 05:42:04 +0000
  • 3326472fee Adding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which version of code in VectorNormalize() is used. Yes, I put the old code back in there, and it's active if MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX is 0. Right now it's 1, so the fixed code is active. I need this quick way to test regression tests. rambetter 2011-01-12 03:35:57 +0000
  • 3b0589dd8b Renaming #define constants: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES -> Q3MAP2_EXPERIMENTAL_HIGH_PRECISION_MATH_FIXES EXPERIMENTAL_SNAP_NORMAL_FIX -> Q3MAP2_EXPERIMENTAL_SNAP_NORMAL_FIX EXPERIMENTAL_SNAP_PLANE_FIX -> Q3MAP2_EXPERIMENTAL_SNAP_PLANE_FIX rambetter 2011-01-12 03:21:31 +0000
  • 098fe8f8d5 Increasing the values of 3 constants that control how much space is reserved for the stack and/or static memory for holding arrays of structures. MAX_ORIGINAL_EDGES changed from 0x10000 to 0x20000 (x2 increase). MAX_MAP_BRUSHES changed from 0x8000 to 0x10000 (x2 increase). MAX_MAP_DRAW_VERTS changed from 0x80000 to 0x100000 (x2 increase). This is pertaining to q3map2 only. There is a real-world case where increasing these constants is needed. That case is when compiling Icy World for Urban Terror. Besides that, increasing these does not hurt anything (other than requiring more memory). rambetter 2011-01-11 09:49:45 +0000
  • ea589bedcc As per TTimo's suggestion, turning all three experimental q3map2 fixes on in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX. These are all set to 1 now. rambetter 2011-01-11 08:25:10 +0000
  • 0d3393fa7b Finishing up the degenerate_winding2 and degenerate_winding3 regression tests. Sure enough, they expose the "problem". I just created these based on my understanding of the code and seeing a potential problem. rambetter 2011-01-11 02:23:58 +0000
  • 8b711d1f35 Adding the beginnings of degenerate_winding2 and degenerate_winding3 regression tests for q3map2. rambetter 2011-01-11 02:08:30 +0000
  • a36b39a62b Importing regression tests for q3map2 from Rambetter-math-fix-experiments into trunk. Branch Rambetter-math-fix-experiments can be deleted now. rambetter 2011-01-10 06:25:33 +0000
  • a16ee23adf Importing code changes for q3map2 from Rambetter-math-fix-experiments branch into trunk. Right now all the new code that fixes problems is turned off. There are three new #defines in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX. All of these are currently set to 0, which means don't enable that new code. You can easily edit these to be 1 in order to enable the new code. rambetter 2011-01-10 06:15:47 +0000
  • 0306f2c5b9 Getting ready to commit Rambetter-math-fix-experiments branch changes to trunk, as pertaining to q3map2. Some last-minute changes: Rambetter-math-fix-experiments rambetter 2011-01-10 05:38:30 +0000
  • d10c0e21e3 - Adjusting various comments in EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code, etc. rambetter 2011-01-10 04:23:32 +0000
  • 0a6fabb079 Adding duplicate_plane regression test. rambetter 2011-01-10 01:45:52 +0000
  • 4de65601e1 Fixing Win compile guide, "if you choose path other than C:\MinGW, make sure there is no space in the path". rambetter 2011-01-09 21:36:32 +0000
  • 44f06be22b Adding coarse_snap_normal regression test. rambetter 2011-01-09 20:57:52 +0000
  • 41470e6a03 Adding plane_aliasing regression test as promised in an email. I was able to come up with this regression test, demonstrating the error, on my first try. rambetter 2011-01-05 05:43:57 +0000
  • f5ebc52dca Tie up some tid bit loose ends related to q3map2 math improvements: rambetter 2011-01-05 04:10:48 +0000
  • 9df310da3a Adding degenerate_winding regression test. For q3map2. rambetter 2011-01-04 07:27:54 +0000
  • 3da906441c Fixing SnapWeldVectorAccu(). By the way, the original SnapWeldVector() appears to be significantly broken, but I don't think it should be fixed at this point. I'm beginning to think that FixWinding() should not be called during the chop winding procedure. rambetter 2011-01-04 06:48:32 +0000
  • 3a15b2a305 - In SnapWeldVectorAccu() (in brush.c), raising error if any of the input parameters are NULL (instead of just returning). SnapWeldVectorAccu() is going to be my next area of focus - much to be proofread there. rambetter 2011-01-04 04:26:17 +0000
  • c53833bfbd Grr, this should have been part of the last commit and I realized this only after there were unsaved buffers in emacs when I was quitting out of everything. This is a comment in map.c related to USE_HASHING, and how we should test points against the plane even if it's off. Speaking of which, I should proofread the USE_HASHING hashing algorithm to make sure it's not causing any problems. rambetter 2011-01-03 07:05:40 +0000
  • 741e429151 Improving little tidbits. rambetter 2011-01-03 07:02:56 +0000
  • f17ae01a72 In PlaneEqual() in map.c, being extra anal about the logic there. Previous logic used '<=' in compare, new logic uses '<'. This was changed for two reasons: 1. It adheres the the true meaning of epsilon, which is something along the lines of "the minimum value that can be added to number X such that number X takes on a new value after the addition" in computer science. 2. Other code that compares epsilons uses strict inequality, so I don't want to have a case where to planes are reported equal but are not snapped together, etc. I still have to finish looking at where else PlaneEqual() is used and fix related problems. rambetter 2011-01-02 06:50:58 +0000
  • bf05f9350b - Having just one SnapPlaneImproved() instead of both SnapPlaneImproved() and SnapPlaneImprovedWithCenter(); SnapPlaneImproved() now takes a list of points instead of the precomputed center. rambetter 2011-01-01 19:48:17 +0000
  • dee4545065 Working on the SnapPlane() issue. rambetter 2011-01-01 05:43:59 +0000
  • 698b1d6285 Making progress on the SnapPlane() and SnapNormal() issues. rambetter 2011-01-01 04:11:04 +0000
  • 2bdcb2d3c2 Adding boolean return value to SnapNormal(). Returns true if the normal was modified, false otherwise. rambetter 2011-01-01 02:48:28 +0000
  • 3afaacd5b2 Addressing the SnapNormal() situation. rambetter 2011-01-01 01:58:22 +0000
  • d51c4e9830 Adding snap_plane regression test for q3map2. I understand the SnapPlane() problem now after reading the code, and it's a horrid problem. Horrific. rambetter 2010-12-31 22:24:37 +0000
  • 3916fca24c Spent a few hours thinking about the SnapPlane() problem. Added my comments to the code. This commit consists of some paragraphs of comments regarding my thoughts about why SnapPlane() is broken. rambetter 2010-12-31 10:32:32 +0000
  • 9c24f3e995 Making more progress on EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code. rambetter 2010-12-31 08:54:43 +0000
  • 0749e45aa3 Making more progress on the EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code. rambetter 2010-12-31 07:05:26 +0000
  • f4232ed93a Optimizing VectorNormalize() without holding back (for accuracy). I really don't like how the prior operations were all done in 32 bit land. rambetter 2010-12-31 05:36:35 +0000
  • 6ea1ecbf23 Fixing some NULL pointer problems in disappearing_sliver/winding_logging.patch (patch for regression test logging). rambetter 2010-12-31 03:50:49 +0000
  • 01ac3e0a46 Fixing some NULL pointer issues in the EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES code path. Adding extra checks for NULL in the following functions: - FreeWinding() - FreeWindingAccu() - CopyWinding() - CopyWindingAccuToNormal() If a NULL winding is passed to any of these functions, a graceful error will result (as opposed to a segfault). rambetter 2010-12-31 03:21:01 +0000
  • 5526da8cdc Undoing commits r363 and r371 as it pertains to polylib.c, mathlib.c, and mathlib.h (the regression tests have not been removed). Trunk is now restored to a state that it was in before I started trying to fix the math accuracy errors in q3map2. Commits r363 and r371 were "correct" and did improve math accuracy significantly, but unfortunately the underlying cause of math accuracy issues is something else, which is being addressed in branch Rambetter-math-fix-experiments currently. I'm taking the BSD approach here, which is "we not going to partially fix the problem. it's all or nothing". Otherwise it's just too risky in my opinion. I don't like playing Whack-A-Mole. rambetter 2010-12-31 03:03:13 +0000
  • 883e3164be Improving winding_logging.patch by logging the plane normal and dist. rambetter 2010-12-31 01:15:22 +0000
  • 6a93408fd3 Moving #define of EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES to q3map2.h. Intead of #ifdef, now using #if. rambetter 2010-12-31 00:50:46 +0000
  • 938dddb6b2 In branch Rambetter-math-fix-experiments. rambetter 2010-12-31 00:28:39 +0000
  • cbdff39b12 This is in branch Rambetter-math-fix-experiments. rambetter 2010-12-30 23:40:07 +0000
  • 0fc962a240 In Rambetter-math-fix-experiments branch. rambetter 2010-12-30 12:02:41 +0000
  • f32b2b3712 This is in branch Rambetter-math-fix-experiments. rambetter 2010-12-30 11:57:13 +0000
  • adf336fec1 This is in branch Rambetter-math-fix-experiments. rambetter 2010-12-30 09:47:01 +0000
  • 56e74492bc This is in branch Rambetter-math-fix-experiments. rambetter 2010-12-30 08:26:49 +0000
  • a28d27640c This is in branch Rambetter-math-fix-experiments. rambetter 2010-12-30 01:25:37 +0000
  • 40dab90db9 Starting GtkRadiant branch named Rambetter-math-fix-experiments. This is starting out as a copy of trunk, revision 379. I may merge work done here to trunk if the outcome is good. rambetter 2010-12-29 21:50:55 +0000
  • f62ab305fc Undoing revision 377 (reverting just those files modified by that commit). I have disovered the fundamental problem to the math error problems, and although this commit (r377) is "correct", it fails to address the fundamental problem. Therefore, I'd rather leave the code in a state that has the exact same behavior as before until I get a chance to address the fundamental issue. rambetter 2010-12-29 09:00:47 +0000
  • f487ea7c54 Updating notes on regression tests. They are "mostly sort of fixed". Won't be fixed for good until I look at the last bit of code that has not been examined yet, which is the plane intersection code. I want the errors to be much less than they are now, even though the disappearing_sliver* tests are now working. rambetter 2010-12-29 05:20:32 +0000
  • f36b40ae62 Continuing work on BaseWindingForPlane() in polylib.c. In fact I'm pursuing the approach that was committed in r375 (but was then backed out). I can't believe my eyes, but I seem to be getting 0.000000% error in some of my regression tests. The trick is to scale by a power of 2 and never do a VectorNormalize(). rambetter 2010-12-29 04:32:35 +0000
  • 52fd922c64 Undoing revision 375 because it did not offer measured accuracy improvements in the q3map2 math calculations. rambetter 2010-12-28 20:05:50 +0000
  • 05e2114294 Following up on r371; found another optimization for math rounding errors in BaseWindingForPlane(). This allows me to get rid of an extra call to VectorSetLength() which contain floating point multiplications. Behavior of BaseWindingForPlane() has been verified against base_winding regression test (comparing output w/ logging patch). rambetter 2010-12-28 19:26:52 +0000
  • 3725d2baeb Adding new regression test, disappearing_sliver3. I discovered this while poking around at the numbers from disappearing_sliver2. rambetter 2010-12-28 11:24:14 +0000
  • 2913e619e7 Writing up results of disappearing_sliver2 regression test and commit 371. rambetter 2010-12-28 11:09:06 +0000
  • 538e4a59fc Adding winding_logging.patch to disappearing_sliver regression test that helps log the vertex coords. rambetter 2010-12-28 10:41:41 +0000
  • c5449b8cc5 Rewriting BaseWindingForPlane() in polylib.c from the ground up. The behavior is totally unchanged, and I verified this by running extensive tests. The only difference is that the math precision is much much better now. Performance should be better as well (but that is not tested). This is a major milestone because it fixes two regression tests: disappearing_sliver2 and sparkly_seam. Improvements to math precision is ongoing and more improvements can probably be made even after this patch. I will update the README.txt files in the regression tests in a separate commit. This commit only includes the actual fixed code. rambetter 2010-12-28 10:02:11 +0000
  • f40a6cb2d5 Improving base_winding_logging.patch for base_winding regression test. rambetter 2010-12-28 09:53:56 +0000
  • 30029bd5a8 Adding base_winding regression test to test changes to BaseWindingForPlane(). rambetter 2010-12-28 08:42:03 +0000
  • b3e48a7dae In disappearing_sliver README.txt file, describing which commit revision fixes the problem. This is for the regression test. rambetter 2010-12-28 08:20:25 +0000
  • cecc7bbe98 Removing the "message" key from disappearing_sliver2.map. Sorry about that. rambetter 2010-12-27 23:42:36 +0000
  • 929d20d522 Adding disappearing_sliver2 q3map2 regression test. No fix yet (will be soon). rambetter 2010-12-27 23:30:56 +0000
  • 91624ec4de Adding sparkly_seam q3map2 regression test. No fix yet, but there will be soon. rambetter 2010-12-27 23:14:32 +0000
  • 14a0abf2a0 Adding Windows compile guide. rambetter 2010-12-27 08:29:22 +0000
  • f7764a84b2 Fixing "disappearing_sliver" bug. A regression test is included. This is a bug in q3map2. Please read regression_tests/q3map2/disappearing_sliver/README.txt for more info. rambetter 2010-12-27 08:08:00 +0000
  • 41b1d9a8aa misc setup target fix NewWindowsGtkRuntime TTimo 2010-12-26 17:02:33 +0000
  • 82ef81821f move old gtk runtime code back to trunk TTimo 2010-12-26 04:13:09 +0000
  • ad2c7162d9 Putting the work towards an updated Windows Gtk runtime on hold. Details about this work can be found at http://www.qeradiant.com/cgi-bin/trac.cgi/wiki/UpdatingWindowsGtkRuntime TTimo 2010-12-26 04:12:01 +0000
  • 2be17e386a Repackaged the deps with the old gtkglext (to no avail unfortunately) - closing down this branch and shelving it. TTimo 2010-12-26 03:35:18 +0000
  • a6e2bf8e2d misc project file fixes from trunk (e.g. rev 345). fixes the 'missing MSVCR90.DLL' absurdity Rambetter-temp-fixes TTimo 2010-12-24 19:04:32 +0000
  • 36a1c4bbad Cleaning up some file dialog tidbits in Rambetter-temp-fixes branch. Just some code maintenence. Like removing unused local vars. rambetter 2010-12-19 04:12:29 +0000
  • b292b8db59 This is a big big GTK file dialog change in Rambetter-temp-fixes branch. Thank you to Markus Fischer who provided some example code on how to use the "new" method of GTK file dialogs. I then did a lot of research into how to shape his code into exactly what I wanted. rambetter 2010-12-19 03:44:26 +0000
  • 2c799718d7 Slight fix to r353 in Rambetter-fixes temp: the file suffix in save operation is case sensitive now w.r.t. to checking a registered suffix. The problem was that saving a file foo.MAP does not work. rambetter 2010-12-19 01:31:52 +0000