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
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
23a825c1f1
half lambert lighting by jal (option: -lightanglehl)
2010-02-14 20:12:11 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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