Very Interesting
#188 posted by Geoffrey Darcy on 2015/01/28 19:13:45
That sounds like a good way to go. Having an AO opt-in/out flag on individual lights would give us total control over the look.
#189 posted by ericw on 2015/01/29 03:07:50
Cool, didn't realize you did the original dirt code rebb :)
Yeah, some sort of key to opt-in on a per-light basis sounds like a good idea (or opt out?) I don't know if would be overkill to have flags for enabling dirt on the minlight and dirt on the sunlight, too.
#190 posted by Geoffrey Darcy on 2015/01/29 21:38:01
I'd probably go for opt-in as the default behaviour (if none is specified) on all lights, as I think it looks good most of the time - it's really just the light-in-an-alcove sort of situations where it looks bad.
Working On This Now
#191 posted by ericw on 2015/01/29 22:17:36
it's coming along nicely, and also looks like it's straightforward to have adjustable dirtscale/dirtgain per-light, so you can have bigger AO shadows in outdoor areas, etc. Only the dirtmode and dirtdepth settings need to be constant across the map.
#192 posted by rebb on 2015/01/29 22:25:51
I guess it depends what type of lights the mapper places more often, low fill lights or main lights. AO is mainly an effect meant for ambient lighting and can look strange when applied on main lights or sunlight.
#193 posted by gb on 2015/01/30 00:05:58
Did Tyrann disappear again? I ran into the same issue as digs just now when I was recompiling an RMQ map with these tools. At first I thought the litfile was all black, but then it occurred to me that the color parameter expects 0-255 now whereas Radiant and MHLightColored expect 0-1.
I have to search and replace all my light values now? Or can I use my old light tool with these? I really just want detail brush support.
Another Issue
#194 posted by mfx on 2015/01/30 00:10:25
after compile i get the message saying 0 switchable light styles along with the time elapsed and the light data amount.
In fact, i have several of them in the map, and they all work as intended.
Only the compiler tells me otherwise.
Hey Gb
#195 posted by ericw on 2015/01/30 00:14:19
I've been in touch with him lately and forwarded him some patches, he's just really busy at the moment.
For now I'd suggest the version of tyrutils I posted in #129 of this thread: http://www.celephais.net/board/view_thread.php?id=60967&start=129
That one will automatically handle 0-1 and 0-255 color values. It also fixes a pretty critical bug Lunaran noticed that was creating cracks in sunlight shadows, and probably other lighting glitches. It also has a first attempt at ambient occlusion if you want to play with that! (still WIP though)
#196 posted by gb on 2015/01/30 01:02:08
Thanks ericw, I will try that.
AO in my experience needs somewhat light-coloured textures to look good, Quake's are pretty dark though (probably in order to hide the horrible lightmap resolution.)
Ericw
#197 posted by Geoffrey Darcy on 2015/01/30 14:42:54
Working On This Now
Superb! What a great community this game has :)
#198 posted by gb on 2015/01/30 17:23:11
Messed around with detail brushes last night. As expected, all the fidgety detail that used to be func_wall now casts shadows. Nifty. Checking out dirtmapping now.
What I don't get is, why do you guys add all this stuff to Q1bsp instead of just switching to Q3bsp? You get shaders, mapmodels and patches for free with that one. Quite a few editors support it, too (although no worldcraft NOOOOO)
Gb
#199 posted by Kinn on 2015/01/30 17:28:02
The extremely simple answer is because only Darkplaces supports Q3bsp.
#200 posted by gb on 2015/01/30 18:31:32
ericw,
I tried the dirtmapping and I have to change my opinion. It works pretty nicely in Quake, really enhances the creepy shadows... I also have my coloured lights back.
https://runeofearthmagic.wordpress.com/2015/01/30/dirt/
Kinn,
well, OK. Few engines support it. FTEQW does, though, and it recently got a nice vanilla preset with square particles, netquake physics etc. FTE also supports most of the Q3 shader language (and custom GLSL) while DP only supports single-stage shaders. But I understand that you guys would rather die than give up Fitzquake (and FQ forks.) That's fine, everyone has their preferences. I shouldn't have brought it up again.
Correct
#201 posted by Spirit on 2015/01/30 18:38:32
Spirit
#202 posted by gb on 2015/01/30 19:04:02
You're as tactful as a rhino.
Ericw
#203 posted by gb on 2015/01/30 19:54:27
I second the thing about lights in alcoves + dirtmapping. I'd say opt-out is a lot more reasonable than opt-in since you'll want AO everywhere in your level if you use it at all.
AOlcoves
#204 posted by Kinn on 2015/01/30 20:00:39
...part of me says there's a programmatic solution to the alcove problem, the other part of me says full designer control is better.
Cognitive Dissonance Much?
But I understand that you guys would rather die than give up Fitzquake
...
You're as tactful as a rhino.
I Never Played Anything With Bsp2...
#206 posted by Preach on 2015/01/30 20:39:18
...because the engines aren't compatible with my laptop. Requiring a particular engine shuts people out, making things that work with all engines doesn't. It's not about loyalty to a particular engine, it's the opposite: allowing all the engines to play...
Onetruepurple
#207 posted by gb on 2015/01/30 20:46:38
and where was the need to stir the fire after I already basically said I was sorry? Massive grudge much?
#208 posted by Lunaran on 2015/01/30 20:49:00
Plus, it just gets strange when you add support for really high-res things, but then still use them alongside original unchanged low-res things. A 2048 normal mapped skin looks stupid on a 200 poly monster animated at 10fps.
Quake perfectly reproduced in Quake3, targeted specifically at Quake3 engine budgets and resolutions, would be joyous.
Massive grudge much?
...
(although no worldcraft NOOOOO)
Lunaran
Moreso since I can't think of any post-Q3 engine that could pull off that goal successfully. Definitely not idTech 4 with its ridiculous portaling...
Preach
#211 posted by ericw on 2015/01/30 21:08:55
Going off topic, but if you've tried Quakespasm 0.90.0 and it didn't run on your laptop, I'd be happy to look into it if you want. It should run practically everywhere.
Also Random Note For Gb
#212 posted by ericw on 2015/01/30 21:14:54
If you need to keep using a func_wall in some situation, tyrann added support to make it cast shadows - just set "_shadow" "1" on the func_wall.
|