Jay Dolan
91365cefe6
Don't set shader flags on idTech2 faces.
...
QER_ surface flags should not be set on idTech2 faces.
2020-11-02 22:55:22 -05:00
Jay Dolan
c064a1c0a4
Fix string comparison fail for key "model"
2020-11-02 17:43:23 -05:00
Jay Dolan
23010c89bc
Fix glaring pointer issue in Picomodel load / free.
...
This one was producing 11 or so warnings.
2020-11-02 17:42:50 -05:00
Jay Dolan
66b967bd09
Eclipse project files.
2020-11-02 17:42:18 -05:00
Timothee "TTimo" Besset
dd346f8fe5
Merge pull request #655 from illwieckz/fixmistake
...
Revert "q3map2 * fix: do not affect styled lightmaps by floodlight", fix #654
2020-07-11 15:46:46 -06:00
Thomas Debesse
3aee572a96
Revert "q3map2 * fix: do not affect styled lightmaps by floodlight", fix #654
...
This reverts commit 090fbf3d0d
.
The broken code is not there yet and therefore cannot be fixed yet.
2020-07-07 10:01:04 +02:00
Timothee "TTimo" Besset
8c397cb01f
Merge pull request #653 from illwieckz/fixinfinitebounce
...
q3map2/light_bounce: prevent infinite loop on obscure bias compute
2020-07-04 14:16:16 -07:00
Timothee "TTimo" Besset
abeb2f1022
Merge pull request #652 from illwieckz/styledflood
...
q3map2: do not affect styled lightmaps by floodlight, fix #616
2020-07-04 14:12:47 -07:00
Timothee 'TTimo' Besset
45e99c1241
Merge branch 'yaspoon-master'
2020-07-04 16:09:03 -05:00
Timothee 'TTimo' Besset
6f98213cc2
Fix various duplicate definition link errors, picked up by gcc 10
2020-07-04 16:08:41 -05:00
Thomas Debesse
eb5fe5bce9
q3map2/light_bounce: prevent infinite loop on obscure bias compute
...
New code produces same result without loop at all, so
it cannot fall in infinite loop, and it is faster in
use cases requiring more than one loop in previous code.
The Unvanquished vega map is known to trigger the bug:
https://github.com/UnvanquishedAssets/map-vega_src.dpkdir
I reproduced it multiple time on various hardware (8 core FX-9590,
12 core/24 thread Ryzen 9 3900X) with commit af40508 and using
final compilation profile edited to use -fastbounce instead
of -fast option.
The symptom is simple, q3map2 stucks there:
--- Radiosity (bounce 1 of 8) ---
--- RadCreateDiffuseLights ---
0...1...2...3..
Or somewhere else in that progression bar given your hardware
and the amount of core your CPU has.
When stuck, all the CPU cores are running 100% but the thread
never returns (a strace can reveals it, a gdb backtrace too).
Thanks to @slipher for the precious advices and improving my first
attempt to fix it.
For more information on the issue, I asked:
> which negative value never can become positive
> when incremented infinitely?
slipher said:
> for a double, any value less than -2^53 would have this property
> don't know for float off the top of my head
But then, it means that's theorically verified this loop was able
to run forever in some case.
I don't know what this code is doing anyway, but at least we can
keep the behaviour without requiring to understand it.
2020-07-03 08:12:48 +02:00
Garux
090fbf3d0d
q3map2 * fix: do not affect styled lightmaps by floodlight
...
port of https://github.com/id-tech-3-tools/map-compiler/pull/12
87b8589a3a
2020-07-03 07:24:09 +02:00
Brock York
78b32daef8
README: Add build dependancies required for Ubuntu and ArchLinux
...
-Builds tested on Ubuntu 18.04, 20.04 and ArchLinux
2020-06-12 21:56:24 +10:00
Brock York
e94a2ebd3a
SCons: Convert SConstruct file to Unix line endings
...
All other SCons files appear to have Unix line endings
2020-06-12 21:26:08 +10:00
Brock York
db2c35a57c
SCons: Update SCons build scripts to support Python 3 and SCons 3
...
Add parentheses to print statements
Use subprocess.check_output instead of commands.getstatusoutput
to run external processes
Use pickle instead of cPickle library
This allows building on Linux distributions that have switched to
python 3 by default but also retains backwards compatibility with
python 2.7
2020-06-12 21:23:33 +10:00
Timothee "TTimo" Besset
1f6d29eac8
Merge pull request #645 from pbtoast/prefs-circ-deps-485
...
Simple fix for crash related to circular dependencies in local pref path.
2019-11-02 16:20:46 -05:00
Jeffrey N. Johnson
bffc262c23
Fixes 485
2019-11-02 11:16:22 -07:00
Timothee "TTimo" Besset
3f79dc370c
Merge pull request #639 from jdolan/jdolan/use-theme-font-color
...
Use Gtk theme default text color for console.
2019-02-25 14:40:39 +00:00
Jay Dolan
64f12998e9
Use Gtk theme default text color for console.
...
Use the theme's default text color for normal text output. For folks using dark Gtk themes, the black text was unreadable.
2019-02-23 11:15:33 -05:00
Jay Dolan
a92bb7b602
Merge pull request #633 from zturtleman/picomodel-obj-surface-vertexes
...
Fix over allocating vertexes for OBJ models with multiple surfaces
2018-12-10 09:50:35 -05:00
Zack Middleton
7110342987
Fix over allocating vertexes for OBJ models with multiple surfaces
...
Loading Wavefront OBJ models in picomodel (used by radiant and q3map2)
did not reset the surface vertex index when starting a new surface. This
caused there to be unused vertexes, equal to the number of vertexes in
all previous surfaces, at the beginning of each surface. Exponential OBJ
vertex memory usage as number of surfaces increases. It did not affect
displaying or processing the surface faces.
2018-10-31 16:10:47 -05:00
Timothee "TTimo" Besset
44edaa14a6
Merge pull request #624 from cagelight/structuraldetailbuttonfix
...
fix struct/detail toggle toolbar icon
2018-04-29 15:50:55 -05:00
cagelight
fe69635c09
fix struct/detail toggle toolbar icon
2018-04-29 16:40:32 -04:00
TTimo
61bb386826
minor tweak
2018-04-21 14:01:04 -05:00
Timothee "TTimo" Besset
1219ad4115
Merge pull request #615 from isRyven/master
...
Fix q3map2 pak sorting
2018-04-21 13:59:49 -05:00
isRyven
3bf4b081cc
fix q3map2 pak sorting
2018-03-25 00:29:41 +02:00
Timothee "TTimo" Besset
7be91fd84e
Merge pull request #605 from illwieckz/oldfork
...
lightmap floodlight and exposure [netradiant's q3map2 pivot commit]
2018-03-24 17:42:40 -04:00
Timothee "TTimo" Besset
31040b90b5
Merge pull request #606 from Pan7/nocstr
...
Use Str instead of CString
2018-03-24 16:56:04 -04:00
Timothee "TTimo" Besset
bd0e7dba6b
Merge pull request #604 from Pan7/neglight
...
Allow negative light values
2018-03-24 16:55:36 -04:00
Timothee "TTimo" Besset
84fede3f53
Merge pull request #601 from Pan7/clearCombo
...
Clear Surface Property combobox on update
2018-03-24 16:54:59 -04:00
Jay Dolan
2d91146b80
Merge pull request #613 from jdolan/master
...
Mixed bag of fixes
2018-03-19 07:56:53 -04:00
Jay Dolan
0f6034a0af
Hurr empty the texture dropdown like the Q3 surface inspector does.
2018-03-18 15:11:17 -04:00
Jay Dolan
54f4d2b1f5
Use the configured texture scale as default for SnapToGrid.
2018-03-16 15:12:30 -04:00
Jay Dolan
3b8e83fb80
Set increments on the surface inspector step spinners. This makes these far more useful.
2018-03-16 15:12:03 -04:00
Jay Dolan
36bd918baf
Copy the Q3 surface inspector's increments setup, and improve it to set increments on the step spinners.
2018-03-16 15:11:22 -04:00
Jay Dolan
90967079d7
Fix copypasta bug in idtech2 surface in spector scale increments
2018-03-16 14:57:32 -04:00
Jay Dolan
a2082a31bc
Provide better defaults for increments.
2018-03-16 14:26:37 -04:00
Jay Dolan
2daf5a71eb
Fix debug copy-pasta.
2018-03-16 14:26:08 -04:00
Jay Dolan
d7f0d04051
Fix "Wdith" typeo in preferences dialog.
2018-03-16 13:36:51 -04:00
Jay Dolan
f1e2b7862b
#TTimo/GtkRadiant/issues/608 Populate the texture name if only one texture is used in faces list.
2018-03-16 13:34:47 -04:00
Jay Dolan
10c8947901
Nudge Apple Makefile version to 1.6.6.
2018-03-16 13:34:14 -04:00
Rudolf Polzer
533587bf25
swap values 0 and 1 for -exposure (now -exposure 0 does nothing, -exposure 1 did what 0 did before)
2018-03-03 22:18:39 +01:00
Pan
44420e0fe6
Use Str instead of CString
2018-02-28 10:11:53 +01:00
Rudolf Polzer
06701fab69
netradiant/tools: ::zerowing-base=422
...
former commit name: ::zerowing-base=422
2018-02-25 23:46:54 +01:00
Rudolf Polzer
b388770c65
netradiant/tools: initial
...
former commit name: initial
this commit only backports changes from tools/
2018-02-25 23:46:10 +01:00
Pan
615801f77a
Allow negative light values
2018-02-25 17:03:47 +01:00
Pan
a1a5a423f2
Clear Surface Property combobox on update
2018-02-25 00:09:11 +01:00
Timothee "TTimo" Besset
4314e8336e
Merge pull request #594 from illwieckz/minimap
...
q3map2: import minimap stuff from NetRadiant
2018-02-24 16:31:19 -06:00
Timothee "TTimo" Besset
b48cf2679d
Merge pull request #599 from tkoeppe/divzero
...
[q3map2] Avoid division by zero (remove removable singularity)
2018-02-24 16:22:31 -06:00
Thomas Köppe
d19e3dd7a8
[q3map2] Avoid division by zero (remove removable singularity)
2018-02-23 14:10:01 +00:00