Commit Graph

156 Commits

Author SHA1 Message Date
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