#490 posted by ericw on 2016/09/09 01:58:45
Thanks for the report, I will fix it properly.
Probably I'm checking for TEX_SPECIAL and skipping casting/receiving dirt if that is set, need to also check if the texture starts with
"*" or "sky" in case splitspecial is used.
#491 posted by mankrip on 2016/09/09 02:03:46
Thanks.
A little feature request: Can you add individual options for -splitliquids and -splitsky? This would be more optimal than -splitspecial, since there's usually no reason to allow sky surfaces to be lit.
#492 posted by ericw on 2016/09/09 02:08:15
It should be there already, just called -splitturb instead of -splitliquids
:) Indeed
#493 posted by mankrip on 2016/09/09 02:29:46
It is; I've tried it out, and it worked.
Thanks, I've updated my compiler parameters.
Actually
#494 posted by Kinn on 2016/09/09 21:38:30
Gosh I had no idea lit liquids were even supported in this tool. Any chance someone could give those quakespasm cheps a bit of a nudge?
V0.15.7 Released
#495 posted by ericw on 2016/09/09 22:31:03
Get it at: http://ericwa.github.io/tyrutils-ericw/
Not really any new features, but lots of performance improvements. It's something like 2-4x faster depending on the map.
Also fixed the regression with bmodels touching the world that Kinn reported.
full changelog: https://github.com/ericwa/tyrutils-ericw/releases
minlight no longer bounces
I can't even begin to imagine how that worked or looked.
#497 posted by mankrip on 2016/09/10 02:04:06
V0.15.7 isn't compiling at all here.
** Executing...
** Command: C:\Dev\Tools\tyrutils\bin\qbsp.exe
** Parameters: -nopercent -splitturb C:\Projects\QuakeDev\Game\Quake\_QDebug_\maps\E1M2
* WARNING: File was not built!
"C:\Projects\QuakeDev\Game\Quake\_QDebug_\maps\E1M2.prt"
Addendum
#498 posted by mankrip on 2016/09/10 02:10:22
It was the 64 bits version. The 32 bits version is compiling fine. However, I'm on Win 7 64-bit.
#499 posted by ericw on 2016/09/10 02:36:51
Maybe try installing the 64-bit version of the msvc 2013 runtime (vcredist_x64.exe)?
Bingo!
#500 posted by anonymous user on 2016/09/10 03:09:11
#499
#501 posted by mankrip on 2016/09/10 03:29:07
I'll try it.
In the meantime, I've confirmed that the worst part of the dirtmapping bug is now fixed; liquids won't cast dirtmaps on the world anymore.
They still receive dirtmaps, but at least this problem can be worked around by func_detailing them with _dirt -1: screenshot.
Fast!
#502 posted by PRITCHARD on 2016/09/10 05:19:24
Wow, 0.15.7 is incredibly fast! I don't have specific times, but it speeds up light on my map by a huge amount. No idea what kind of wizardry was performed for this, but it's really cut down on the iteration time for my map. Thanks so much!
#503 posted by ericw on 2016/09/11 03:14:49
Pritchard - awesome :)
got some bugs reported and fixed already (to be in the next release):
- the "unmatched" target warning was broken
- skip-textured func_'s with "_shadow" "1" were broken (for making invisible shadow casters)
This one was tricky due to how I migrated light away from using the BSP for raytracing. The workaround I implemented has a limitation that the entire bmodel has to be textured with "skip", otherwise the skip textured bits don't cast shadows. Hopefully this covers the common use cases for that trick, though.
Mankrip
#504 posted by Breezeep_ on 2016/09/13 02:08:16
That looks pretty damn cool. How did you get the water to draw shadows like that?
Only A Warning, I Assume This Isn't A Big Issue
thought I would report it just in case.
vis.c: In function �LoadPortals�:
vis.c:1120:9: warning: ignoring return value of �fscanf�, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "\n");
#504
#506 posted by mankrip on 2016/09/14 07:09:03
Using independent surface caches for texture & lighting, and combining them in realtime.
The drawing routines of liquid textures (and now, of power-of-two textures too) were mixed with the drawing routines of regular surface-cached routines, combining the texture & lighting in realtime before blending the result into the framebuffer.
It's not difficult to do, just really tedious. Involves modifying and rewriting a lot of code.
Func_viscluster Support
#507 posted by Qmaster on 2016/09/16 04:32:51
@ericw: I'm curious if it would be possible to add support for func_viscluster brushes in order to negate large open spaces. I'm of course assuming that vis leafs automatically chop up empty space into leafs every 1024 units. https://developer.valvesoftware.com/wiki/Func_viscluster
Spikespasm:
Host_Error: Mod_LoadLeafs: 121741 leafs exceeds limit of 70000.
#508 posted by ericw on 2016/09/16 04:44:11
AFAIK, there is no chopping of space every 1024 units in this qbsp, that feature was added in quake 2's.
func_viscluster - this sounds like purely something to speed up the vis computation. It's probably possible to add to Q1 tools, it wouldn't help with reducing the number of leafs though.
Strange Bounce Bug
#509 posted by PRITCHARD on 2016/09/19 09:25:04
This just popped up now as I'm working on my map. Bounce lighting started generating random black spots in this one room of my level:
screenshot 1
Here's how it looks with bounce lighting turned off:
screenshot 2
Any idea what's causing this? I was changing my light entities around, but I can't figure out what I did that caused this. Has anyone even seen this before? Help would be greatly appreciated :s
#510 posted by PRITCHARD on 2016/09/19 09:31:25
At least somebody's happy about this...
I tried running the map through 0.15.5 and the issue went away. I'm guessing then that this is an issue caused by the new approximation methods in 0.15.7...
I Should Really Try Before I Speak...
#511 posted by PRITCHARD on 2016/09/19 09:33:44
I hate making a third post like this, but I tend to write in a very "stream of consciousness" manner... Anyway, I tried the -novisapprox flag on the command line and the issue persisted, so that's not the problem.
Weird
#512 posted by ericw on 2016/09/19 09:34:36
I've never seen that, definitely a bug. mind sending me the bsp?
#513 posted by PRITCHARD on 2016/09/19 09:49:18
Sure, I just shot off an email.
I'm guessing it is some kind of regression from 0.15.5, although I couldn't say what other than that it seems to be bounce-related.
Fixed!
#514 posted by PRITCHARD on 2016/09/20 11:01:34
I got an email back from eric and the bug was fixed. Thanks for the quick response! :)
|