Commit Graph

309 Commits

Author SHA1 Message Date
jal ff8feb8f31 Apply floodlight to vertex lighting (there seems to remain some problem with
vertexlighting not receiving enough bounced light)
2010-06-12 13:36:06 +02:00
jal 778af4dde0 add shader key q3map_noDirty, which disables the dirty pass on the surface. It's handy for lightmapped terrain models where dirty produces odd darkness on mesh splits. 2010-05-29 12:22:02 +02:00
Rudolf Polzer d539f09864 Merge branch 'master' of ssh://icculus.org/netradiant into icculus 2010-05-10 18:30:58 +02:00
Rudolf Polzer e0e905ce5d actually activate -game xonotic in q3map2 :( 2010-05-02 18:38:41 +02:00
jal be4e243888 Increase the influence of directional lights on the deluxemap by a)Ignoring angle attenuation for directional contribution and b)Scaling down by 1/4 the contribution of radiosity (deeper explanation in a comment at LightContributionToSample). 2010-04-30 11:32:11 +02:00
Rudolf Polzer 7b2ae7cf2f mark some TODOs for overflows reported on the GtkRadiant mailing list 2010-04-27 17:43:42 +02:00
jal 36e9024e86 fix deluxemapping when using floodlight. Also, add to floodlight the same trick as it's done to ambient to have a minimum normal assigned. 2010-04-22 12:07:00 +02:00
jal d5283a9692 Allow transparent surfaces on misc_models to be made solid when clipmodel bitflag is enabled. 2010-04-21 19:11:50 +02:00
jal 7e29447498 Testing my commit ability 2010-04-19 09:59:10 +02:00
Rudolf Polzer 54ccfc9f18 fix lots of CRLFs 2010-04-17 21:02:26 +02:00
Rudolf Polzer e34729907c -game xonotic support in q3map2 2010-04-12 07:34:36 +02:00
Rudolf Polzer 99342abdf7 new option -extradist to improve lighting a bit, also a light entity field _extradist of the same purpose 2010-04-06 17:03:50 +02:00
Rudolf Polzer e40ea7c332 vfs: support .pk3dir like in darkplaces engine - directories auto-added to the search path 2010-03-19 14:55:47 +01:00
Rudolf Polzer 3868f5b6a8 fix VectorCopy uses in MergeMetaTriangles 2010-03-01 07:30:53 +01:00
Rudolf Polzer c34caf11ef more explicit vec3_t use, no change in behaviour 2010-02-20 21:47:30 +01:00
Rudolf Polzer fd055332dc improve patch collision generation a little, should now be "as good as possible" 2010-02-20 21:08:01 +01:00
Rudolf Polzer f92c4fa256 fix patch collision issue by linking patches into all nodes that touch a
bbox of a 3x3 segment of the patch, instead of subdividing the patch.
Otherwise, different subdivisions can cause patch visibility or
collision issues.
2010-02-19 22:50:19 +01:00
Rudolf Polzer 23a825c1f1 half lambert lighting by jal (option: -lightanglehl) 2010-02-14 20:12:11 +01:00
Rudolf Polzer b8839b8771 small fix by jal regarding normal vectors from lighting 2010-02-14 20:09:15 +01:00
divverent 7bf5f3438d fix a typo that shouldn't have an impact on most maps though
git-svn-id: svn://svn.icculus.org/netradiant/trunk@411 61c419a2-8eb2-4b30-bcec-8cead039b335
2010-01-04 15:18:05 +00:00
divverent 187727f4c3 qfusion: new defaults
git-svn-id: svn://svn.icculus.org/netradiant/trunk@407 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-12-30 10:35:17 +00:00
divverent ec87692d94 don't bounce from trans surfaces
git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-12-30 10:27:35 +00:00
divverent 04a61593c3 ToggleGridSnap command (beware of it)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@401 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 19:15:55 +00:00
divverent da366187d6 as patchshadows is broken for grid... turn it off for grid
git-svn-id: svn://svn.icculus.org/netradiant/trunk@400 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 15:33:45 +00:00
divverent 4631d505d9 make it not loop endlessly :P
git-svn-id: svn://svn.icculus.org/netradiant/trunk@399 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 15:28:46 +00:00
divverent ee71ec8dcb lightgrid search fix; increase max vertices of poly
git-svn-id: svn://svn.icculus.org/netradiant/trunk@398 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 15:17:11 +00:00
divverent 714c463815 allowing to customize how directional the light is
git-svn-id: svn://svn.icculus.org/netradiant/trunk@397 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 13:32:41 +00:00
divverent cf98832704 allow more light contributions to the grid; remove a weird fudge
git-svn-id: svn://svn.icculus.org/netradiant/trunk@396 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-10-04 13:23:54 +00:00
divverent dbe011759a supposedly, RTCW and W:ET use BSP format 47... so let's use that
git-svn-id: svn://svn.icculus.org/netradiant/trunk@394 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-08-02 18:57:39 +00:00
divverent 5d6da89f89 disable the max bbox distance feature for now, it seems to cause bad things to happen
git-svn-id: svn://svn.icculus.org/netradiant/trunk@386 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-07-14 06:09:58 +00:00
divverent 2b7668ee33 possibly speed up MergeMetaTriangles, will benchmark it later
git-svn-id: svn://svn.icculus.org/netradiant/trunk@385 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-07-12 17:54:07 +00:00
divverent 12a8e70662 support "none" in the _celshader key
git-svn-id: svn://svn.icculus.org/netradiant/trunk@384 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-07-12 17:39:51 +00:00
divverent d89df783c3 always allocate bspEntData
git-svn-id: svn://svn.icculus.org/netradiant/trunk@383 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-06-18 08:38:25 +00:00
divverent b5bff46ac3 try to fix FindFloatPlane bug
unlimit entity count


git-svn-id: svn://svn.icculus.org/netradiant/trunk@382 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-06-18 06:45:31 +00:00
divverent ba342c2f4a up MAX_BUILD_SIDES to match MAX_BRUSH_SIDES
git-svn-id: svn://svn.icculus.org/netradiant/trunk@381 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-06-12 21:00:52 +00:00
divverent c2c3a2ed3d increase MAX_PORTALS, also show an error if exceeded
git-svn-id: svn://svn.icculus.org/netradiant/trunk@376 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-24 18:08:22 +00:00
divverent 1ffb1aef2e same bug, different place :P
git-svn-id: svn://svn.icculus.org/netradiant/trunk@375 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-23 18:30:13 +00:00
divverent 52098ce5f1 fix "invalid tracenode: 0" bug
git-svn-id: svn://svn.icculus.org/netradiant/trunk@374 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-23 18:23:14 +00:00
divverent bd6c5c2da0 fix -rawlightmapsizelimit
git-svn-id: svn://svn.icculus.org/netradiant/trunk@373 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-22 14:35:19 +00:00
divverent 25b38e8a0e new option -rawlightmapsizelimit to limit the size of RAW lightmaps (so you can use large lightmap size and still get small lightmap size-like limiting)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@372 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-22 14:14:09 +00:00
divverent 75641556de fux segv
git-svn-id: svn://svn.icculus.org/netradiant/trunk@371 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-22 06:56:10 +00:00
divverent 581bc2c769 -lightmapsearchpower
-lightmapsearchblocksize
to optimize lightmap search for darkplaces and other lightmap-merging engines


git-svn-id: svn://svn.icculus.org/netradiant/trunk@370 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-22 06:07:19 +00:00
divverent 45b03632d6 fix one bug in last commit
git-svn-id: svn://svn.icculus.org/netradiant/trunk@369 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-20 18:54:39 +00:00
divverent b81233b07d fix segv in nolightmapsearch
git-svn-id: svn://svn.icculus.org/netradiant/trunk@368 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-20 17:59:40 +00:00
divverent 8b11f84691 only reserve ONE lightmap at once, not TWO (but make this a #define to allow later customization)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@367 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-20 17:48:32 +00:00
divverent cde1f3c0d5 nolightmapsearch by LH
git-svn-id: svn://svn.icculus.org/netradiant/trunk@366 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-20 14:48:26 +00:00
divverent c379aae1d4 merge content and compile flags of all surfaces of a brush (experimental; fixes issues with not working detail brushes; please check for regressions)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@364 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-12 08:42:51 +00:00
divverent 37f408f643 consistently handle the aliases to _clone
git-svn-id: svn://svn.icculus.org/netradiant/trunk@363 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-07 11:12:53 +00:00
divverent e51048cf0e set stack size to 8 MB explicitly, should fix light compile crash on OS X
git-svn-id: svn://svn.icculus.org/netradiant/trunk@362 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-06 08:04:10 +00:00
divverent 4218236572 disable threads if MAC_STATIC_HACK is set
git-svn-id: svn://svn.icculus.org/netradiant/trunk@361 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-06 07:46:54 +00:00
divverent 015b27d7a1 a Q3 map origin to origin brush converter to fix maps that this q3map2 no longer compiles correctly
git-svn-id: svn://svn.icculus.org/netradiant/trunk@360 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-05 09:59:40 +00:00
divverent c005536caf _lightmapsamplesize entity key by jal
git-svn-id: svn://svn.icculus.org/netradiant/trunk@359 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-01 10:45:24 +00:00
divverent 64bbc7deef use warsow defaults for minimap in qfusion game
git-svn-id: svn://svn.icculus.org/netradiant/trunk@356 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-29 15:54:29 +00:00
divverent 65fcedfc4c better shadeangle support by jal
git-svn-id: svn://svn.icculus.org/netradiant/trunk@355 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-29 15:27:46 +00:00
divverent 3abfa74a05 qfusion now keeps aspect too
git-svn-id: svn://svn.icculus.org/netradiant/trunk@349 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 17:33:27 +00:00
divverent 0280d96637 minimap: -boost = contrast boost (like in darkplaces)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@348 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 17:20:32 +00:00
divverent 0b6479c18b new modes for minimap: -black = black on transparent, -white = white on transparent, -gray = white on black
git-svn-id: svn://svn.icculus.org/netradiant/trunk@347 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 16:57:55 +00:00
divverent 3963252e6d use "minimaps" directory for warsow
git-svn-id: svn://svn.icculus.org/netradiant/trunk@346 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 16:36:51 +00:00
divverent 1497c06cef allow not keeping aspect
git-svn-id: svn://svn.icculus.org/netradiant/trunk@345 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 15:03:55 +00:00
divverent 83ce35b16a make minimap parameters game dependent
git-svn-id: svn://svn.icculus.org/netradiant/trunk@344 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 14:58:50 +00:00
divverent d46ef935db option -border in minimap
git-svn-id: svn://svn.icculus.org/netradiant/trunk@343 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 13:54:44 +00:00
divverent 2d59dd320c msvc shut up
git-svn-id: svn://svn.icculus.org/netradiant/trunk@342 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 10:11:19 +00:00
divverent d89a5dedbb remove two debug prints
git-svn-id: svn://svn.icculus.org/netradiant/trunk@341 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 09:20:03 +00:00
divverent c67a77421c fix a 0.5 error
git-svn-id: svn://svn.icculus.org/netradiant/trunk@340 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 09:16:40 +00:00
divverent 1f8e40ac8d probabilistic sample dispersion for minimap -samples
git-svn-id: svn://svn.icculus.org/netradiant/trunk@339 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-27 08:54:52 +00:00
divverent b49399255c tiny progress indicator fix
git-svn-id: svn://svn.icculus.org/netradiant/trunk@337 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 19:38:05 +00:00
divverent 07e8057ae2 make -minmax work
git-svn-id: svn://svn.icculus.org/netradiant/trunk@336 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 19:13:10 +00:00
divverent 0a615ccf4f simplify shader decision logic in MiniMapSetupBrushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@335 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 19:05:49 +00:00
divverent 0d2933a8b4 better progress display
git-svn-id: svn://svn.icculus.org/netradiant/trunk@334 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 18:58:44 +00:00
divverent 7c8b8015d5 ignore nonsolid brushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@333 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 18:57:18 +00:00
divverent 4dbe5604ff naming fixes, allow ordered supersampling
git-svn-id: svn://svn.icculus.org/netradiant/trunk@332 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 11:03:39 +00:00
divverent 0298900c31 command line options for minimap
git-svn-id: svn://svn.icculus.org/netradiant/trunk@331 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 10:52:11 +00:00
divverent 633f825b61 be compatible to nexuiz for minimaps :P
git-svn-id: svn://svn.icculus.org/netradiant/trunk@330 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 09:42:48 +00:00
divverent 97449bed37 -minimap is now a main option... to be used on already compiled BSPs
git-svn-id: svn://svn.icculus.org/netradiant/trunk@329 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 09:34:11 +00:00
divverent 852c9b4889 unfinished -minimap support in bsp.c, do not use yet, format is not correct yet
git-svn-id: svn://svn.icculus.org/netradiant/trunk@328 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-25 21:22:22 +00:00
divverent af0dd0ca3b bugfix in latest change
git-svn-id: svn://svn.icculus.org/netradiant/trunk@327 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:55:20 +00:00
divverent e8fcd30f80 less spammy vis output, more useful
git-svn-id: svn://svn.icculus.org/netradiant/trunk@326 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:52:56 +00:00
divverent e6fa8d7f3c less spammy vis output
git-svn-id: svn://svn.icculus.org/netradiant/trunk@325 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 16:49:14 +00:00
divverent d909e5b8c7 patches by jal: fix some warnings, and spawnflags 64 on misc_model to not smooth the normals
git-svn-id: svn://svn.icculus.org/netradiant/trunk@324 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 16:32:45 +00:00
divverent a28f548b54 ncrease MAX_MAP_VISIBILITY
git-svn-id: svn://svn.icculus.org/netradiant/trunk@323 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-21 14:50:45 +00:00
divverent 68a9e95faf fix two msvc compile errors
git-svn-id: svn://svn.icculus.org/netradiant/trunk@319 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-13 19:51:54 +00:00
divverent 185afa1e25 fix a crash in RBSP reading
git-svn-id: svn://svn.icculus.org/netradiant/trunk@318 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-10 19:48:07 +00:00
divverent 4ae10cbf8d add alias _shadeangle to _smoothnormals
git-svn-id: svn://svn.icculus.org/netradiant/trunk@315 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-10 13:56:55 +00:00
divverent 57d8b2d701 more portals on leaf
git-svn-id: svn://svn.icculus.org/netradiant/trunk@249 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 18:19:14 +00:00
divverent ee826a7843 make it output nice looking origin brushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@248 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 16:32:53 +00:00
divverent cc213a0182 crude origin brush generation when decompiling
git-svn-id: svn://svn.icculus.org/netradiant/trunk@247 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 15:46:06 +00:00
divverent 053a016f5c fix decompiling crash
git-svn-id: svn://svn.icculus.org/netradiant/trunk@245 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-04 21:13:45 +00:00
divverent e2b0ecdcfb new options:
-bsp -deep - include detail brushes into BSP tree generation (but at lowest possible priority), but still ignore them for vis
-vis -mergeportals - only merge vis portals on the same plane, but don't merge clusters (much faster vis, but only slightly worse - will evaluate later why it's worse vis at all)


git-svn-id: svn://svn.icculus.org/netradiant/trunk@244 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-04 11:56:32 +00:00
divverent 9851662e8d add an option -mergeportals to speed up vis, while not making the vis data MUCH worse
git-svn-id: svn://svn.icculus.org/netradiant/trunk@243 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-03 13:51:31 +00:00
divverent 889347e958 some stuff by 27:
- better BSP tree splitting (experimental, option -altsplit)
- also compare shaders when sorting surfaces (should give slightly more fps)
- misc_model spawnflag 32: set vertex alpha from vertex color (for terrain blending)


git-svn-id: svn://svn.icculus.org/netradiant/trunk@240 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-31 06:28:17 +00:00
divverent f560e2703b apply all of VorteX's changes except deviance (that one sucks :P)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@237 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-29 18:08:19 +00:00
divverent 7e4c830250 VorteX: KeyExists function, cast shadows from func_wall by default in prophecy and dq
git-svn-id: svn://svn.icculus.org/netradiant/trunk@236 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-29 17:17:08 +00:00
divverent c3fb8e6e16 already apply some safe changes:
emitmetastats
_ls


git-svn-id: svn://svn.icculus.org/netradiant/trunk@235 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 21:48:25 +00:00
divverent beb45fadfa add a "todo item" directory containing VorteX's patches
git-svn-id: svn://svn.icculus.org/netradiant/trunk@234 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 21:38:13 +00:00
divverent d1f9bcaef2 fix q3map2 -scale command line parsing
git-svn-id: svn://svn.icculus.org/netradiant/trunk@233 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 15:04:42 +00:00
divverent afe3aebe6f fix a stupid error in moving paths
git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-23 13:48:12 +00:00
divverent b222e12c36 Q_mkdir: create parent directories first
git-svn-id: svn://svn.icculus.org/netradiant/trunk@225 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-22 11:54:48 +00:00
divverent 4a5b039ba1 new argument -celshader, for cel shading without changing the .map file
git-svn-id: svn://svn.icculus.org/netradiant/trunk@224 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-20 17:01:59 +00:00
divverent ecfd6813e3 remove two mysterious crashes (although I don't know why it was broken to begin with)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@223 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-20 16:50:58 +00:00
divverent 3f92bea422 add an option -fs_homebase to override homebase path in the game pack (for use by gamepacks so they need no specific q3map2 change to use the right home dir)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@221 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-16 12:26:23 +00:00
divverent 8b446e3fbe fix two other bugs in the same function
git-svn-id: svn://svn.icculus.org/netradiant/trunk@200 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:49:25 +00:00
divverent 05ec869106 fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that has, at one point, two equal vertices gets removed entirely, fixing is performed but the fixed surface is never used)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@199 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:41:21 +00:00
divverent 6a04feabc5 try to eliminate MAX_MAP_PLANES limits
git-svn-id: svn://svn.icculus.org/netradiant/trunk@198 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:24:29 +00:00
divverent cf6c8123dd -lightmapdir option
git-svn-id: svn://svn.icculus.org/netradiant/trunk@197 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 14:36:20 +00:00
divverent 9bd5bdc258 new insane -tex option to q3map2 -scale; simulates turned off "texture lock" when scaling.
git-svn-id: svn://svn.icculus.org/netradiant/trunk@196 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-23 13:52:47 +00:00
divverent 1fe92f1474 support non-uniform -scale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@193 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-15 09:53:49 +00:00
divverent d17571c17c allow non-uniform -scale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@192 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-15 09:41:31 +00:00
divverent e7f13faa4b fix multiple bugs with the limit extension
git-svn-id: svn://svn.icculus.org/netradiant/trunk@191 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-14 18:14:30 +00:00
divverent 7f9ebdace7 fix hang in tjunction.c
git-svn-id: svn://svn.icculus.org/netradiant/trunk@189 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-14 16:32:12 +00:00
divverent 257c44e531 entirely remove MAX_ORIGINAL_EDGES and MAX_EDGE_LINES
git-svn-id: svn://svn.icculus.org/netradiant/trunk@187 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-12 06:37:47 +00:00
divverent 5ad75e84a3 16x MAX_EDGE_LINES, MAX_ORIGINAL_EDGES
git-svn-id: svn://svn.icculus.org/netradiant/trunk@186 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 18:53:04 +00:00
divverent 36240b8016 Some limits removed by dynamically expanding the arrays using realloc:
-#define        MAX_MAP_MODELS                  0x400
-#define        MAX_MAP_BRUSHES                 0x10000
-#define        MAX_MAP_SHADERS                 0x800           //%     0x400   /* ydnar */
-#define        MAX_MAP_NODES                   0x20000
-#define        MAX_MAP_BRUSHSIDES              0x100000        //%     0x20000 /* ydnar */
-#define        MAX_MAP_LEAFFACES               0x100000        //%     0x20000 /* ydnar */
-#define        MAX_MAP_LEAFBRUSHES             0x40000



git-svn-id: svn://svn.icculus.org/netradiant/trunk@185 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 18:37:56 +00:00
divverent 6e3846c8c3 retain _q3map2_version worldspawn tag when using -onlyents
git-svn-id: svn://svn.icculus.org/netradiant/trunk@184 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 06:30:50 +00:00
divverent 3aca84b7e5 q3map2: inject the invocation commandline into keys of the worldspawn entity (to allow easier recompiling of the map)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@181 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-08 19:35:57 +00:00
divverent e467f40d4a it now compiles on OS X, but does it work?
git-svn-id: svn://svn.icculus.org/netradiant/trunk@169 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-09 22:44:43 +00:00
divverent 11323f121c remove two debug prints
git-svn-id: svn://svn.icculus.org/netradiant/trunk@151 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-06 06:57:49 +00:00
divverent 64d4a06eba new command: regroup entities.
Moves all selected brushes into the selected entity.
Usage:

- Select brush from entity
- Hit Ctrl-Alt-E
- Select some other brush
- Regroup

The other brush will get added to the entity.

- Select brush from entity
- Regroup

The brush will get removed from the entity, and moved to worldspawn.



git-svn-id: svn://svn.icculus.org/netradiant/trunk@147 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-02 08:40:46 +00:00
divverent c75784be71 if an origin brush exists, ALSO take into account the "origin" key (add the two)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@143 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-01 12:14:01 +00:00
divverent 17a441b49d bug fix, sorry, mikeeusa... but make dotproduct*scale actually behave the intended way.
In existing shaders, replace

dotProduct2scale ( x y z min max )

by

dotProduct2scale ( x y z max 0 )

because that's what the old code actually caused


git-svn-id: svn://svn.icculus.org/netradiant/trunk@139 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-10 15:21:33 +00:00
divverent 1c46929cfd fix a warning; NULL out the unused faces of misc_models (apparently this changes nothing)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@137 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-09 14:57:03 +00:00
divverent de31a1ec98 add forgotten dotProductScale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@135 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-09 10:35:40 +00:00
rpolzer aed6728816 dirt: don't treat skybox as solid
git-svn-id: svn://svn.icculus.org/netradiant/trunk@133 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-28 10:15:18 +00:00
rpolzer 7077b12d7d Some not THAT memory demanding limits extension;
use right file name when looking for .mtl


git-svn-id: svn://svn.icculus.org/netradiant/trunk@129 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-20 14:25:50 +00:00
rpolzer e9bdda13d3 trivial patch: remove MAX_MAP_DRAW_VERTS limit completely (the code could already cope with it being dynamic)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@128 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-18 09:43:25 +00:00
rpolzer c39d650046 more path lengths
git-svn-id: svn://svn.icculus.org/netradiant/trunk@126 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-07 15:54:07 +00:00
rpolzer d870b21a3a fix buffer overrun on current gcc; there may be more of these
git-svn-id: svn://svn.icculus.org/netradiant/trunk@125 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-07 15:47:15 +00:00
rpolzer 434dc7e85c fix if(...)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@121 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-27 12:42:04 +00:00
rpolzer 699b85f2fc q3map2 -convert -format ase -shadersasbitmap option to write shader names in the *BITMAP, to make prefabs that one can easily import as misc_model
git-svn-id: svn://svn.icculus.org/netradiant/trunk@120 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-27 12:07:39 +00:00
rpolzer 0178f5e7c6 fix crash with non-deluxe
git-svn-id: svn://svn.icculus.org/netradiant/trunk@119 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-16 15:46:12 +00:00
rpolzer 72fc8c39f4 Sorry, have to undo the limits raising patch by mikeeusa: it made q3map2 no longer work for even moderately sized maps on Win32 (or any other system where allocating 2GB of RAM is bad).
git-svn-id: svn://svn.icculus.org/netradiant/trunk@118 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-12 13:52:24 +00:00
rpolzer f6b04e0860 deluxe: always use a MINIMUM light contribution from ambient
git-svn-id: svn://svn.icculus.org/netradiant/trunk@117 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-12 13:44:03 +00:00
rpolzer 1f5a43f75d remove beeps, fix -dirt* options complaining about invalud option "2"
git-svn-id: svn://svn.icculus.org/netradiant/trunk@116 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-11 19:42:15 +00:00
rpolzer c74e0a7d61 2x brushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@114 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-11 08:06:36 +00:00
rpolzer 57fad3ce80 remove sleeps (problem on win32)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@113 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-10 17:26:06 +00:00
rpolzer ef9e16cdb9 fix deluxemap when lit from the wrong side as good as possible (by ignoring the deluxemap contribution). now the invariant "deluxemap vector points away from the surface" should hold.
cull none + deluxemapping still is broken by design, but less broken now.


git-svn-id: svn://svn.icculus.org/netradiant/trunk@111 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-30 13:29:31 +00:00
rpolzer 42d241347b fix two deluxemap bugs
git-svn-id: svn://svn.icculus.org/netradiant/trunk@110 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-30 13:07:10 +00:00
rpolzer 3b3f1bd8d1 remove not-normalized deluxemap support again - it did not look any better, still had enough of the usual deluxe drawbacks
git-svn-id: svn://svn.icculus.org/netradiant/trunk@109 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-30 12:20:22 +00:00
rpolzer 58f895572b add missing dimension to dirSample
git-svn-id: svn://svn.icculus.org/netradiant/trunk@108 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-30 12:13:10 +00:00
rpolzer 1692a98147 unparse entities for the intermediate .bsp when bouncing too, so the map is playable (is otherwise problematic when -light adjusted gridsize)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@107 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-26 14:52:03 +00:00
rpolzer d356f3d8d3 fix -nodeluxenormalize
git-svn-id: svn://svn.icculus.org/netradiant/trunk@106 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-26 08:44:14 +00:00
rpolzer aa4914be0f Turn some UT stuff into options, as it is broken for Nexuiz. Also add -nodeluxenormalize as an experimental second deluxemapping option.
+		else if( !strcmp( argv[ i ], "-nodeluxenormalize" ) )
+		else if( !strcmp( argv[ i ], "-trianglecheck" ) )
+		else if( !strcmp( argv[ i ], "-extravisnudge" ) )


git-svn-id: svn://svn.icculus.org/netradiant/trunk@105 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-26 06:48:14 +00:00
rpolzer 81c10be0f4 complain more loudly about wrong compile flags
git-svn-id: svn://svn.icculus.org/netradiant/trunk@104 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-24 07:04:05 +00:00
rpolzer 006e7c75a5 warn warn warn
git-svn-id: svn://svn.icculus.org/netradiant/trunk@103 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-23 19:38:57 +00:00
rpolzer 39c5cf6b5b samplesize warning
git-svn-id: svn://svn.icculus.org/netradiant/trunk@102 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-23 19:36:35 +00:00
rpolzer cd2e34da46 samplesize warning
git-svn-id: svn://svn.icculus.org/netradiant/trunk@101 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-23 19:31:54 +00:00
rpolzer acd3555cae fix dotproduct2
git-svn-id: svn://svn.icculus.org/netradiant/trunk@100 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-23 14:56:52 +00:00
rpolzer a27eb6c180 -minsamplesize
git-svn-id: svn://svn.icculus.org/netradiant/trunk@99 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-22 11:07:44 +00:00
rpolzer 576b0dd959 dotProduct2scale, dotProductScale shader parameters
(two extra args for the min/max of the range to map 0..1 to)


git-svn-id: svn://svn.icculus.org/netradiant/trunk@98 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-22 05:46:42 +00:00
rpolzer e31dd65a78 limits raising patch from mikeeusa
git-svn-id: svn://svn.icculus.org/netradiant/trunk@97 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-21 19:10:39 +00:00
rpolzer 3c8d97704b fix OpenGL erorr bug on XP software renderer; use svn:ignore
git-svn-id: svn://svn.icculus.org/netradiant/trunk@85 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-18 06:57:13 +00:00
rpolzer 4eeb89d4b2 s/GtkRadiant/NetRadiant/
git-svn-id: svn://svn.icculus.org/netradiant/trunk@81 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-17 13:32:43 +00:00
rpolzer 5ad1e19406 the historic move: getting rid of all visual studio project stuff, now that the mingw build works
git-svn-id: svn://svn.icculus.org/netradiant/trunk@56 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-16 08:15:52 +00:00
rpolzer eb6185a0cf remove RSA's md4.c, replace by DP's
git-svn-id: svn://svn.icculus.org/netradiant/trunk@23 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-15 08:47:59 +00:00
rpolzer bd60cad453 fix a typo (why hasn't it surfaced before?)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@22 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-15 08:42:11 +00:00
rpolzer 1832b7e473 got rid of libmhash dependency
git-svn-id: svn://svn.icculus.org/netradiant/trunk@21 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-15 08:41:19 +00:00
rpolzer 2fbe76a4a5 add a ChangeLog; remove some Urban Terror debug code
git-svn-id: svn://svn.icculus.org/netradiant/trunk@8 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-14 16:38:35 +00:00
rpolzer f8fd046355 add the branch-manager for q3map2 too
git-svn-id: svn://svn.icculus.org/netradiant/trunk@7 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-14 15:48:21 +00:00
rpolzer 0adc046b42 update version strings
git-svn-id: svn://svn.icculus.org/netradiant/trunk@6 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-13 19:12:02 +00:00
rpolzer 107765f0e4 initial
git-svn-id: svn://svn.icculus.org/netradiant/trunk@1 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-13 18:28:57 +00:00