|
Quick, Add Thong Shading Now Just To Troll Zwiffle
#14682 posted by Kinn on 2015/01/14 18:02:08
Thong Shading?
#14683 posted by quaketree on 2015/01/14 18:08:19
I thought that id already did that in E1M3 by the teleporter secret...
Or was that supposed to be the Quake logo?
E1M3
#14684 posted by quaketree on 2015/01/14 18:10:18
Ugh, E1M4 I mean.
More coffee or something...
5
Dude
#14686 posted by SleepwalkR on 2015/01/14 20:03:20
I want thong shading more than anything now!
Looking Good
#14687 posted by ericw on 2015/01/14 20:04:16
awesome screenshots, WarrenM! Glad to see it working :)
Anything else we can pilfer from the Quake3 tools? :P
heh, that's what I was thinking.. Looks like the most interesting thing is the proper radiosity, but i'd guess that would be harder to copy.
btw here's a neat post in the discussion thread from when this was added to q3map2:
During production of Star Wars: Episode II, ILM didn't have time to render a real radiosity pass for every frame of CG they needed. Where they could get away with it, they used a key/fill/highlight setup, an additional "bounce" light to approximate the predominant color of whatever the radiosity light would be for a given scene, and used an Ambient Occlusion pass to sell the whole effect as true radiosity. You know the old mantra of CG: the look is all that counts.
Since we have real radiosity with Q3Map2, and we have time to impliment it when we compile our maps, we don't really need to use AO to simulate GI. AO does have another effect, though, in that if you add a little noise to the AO pass and multiply it on top of an already-affected-by-radiosity lightmap, a given surface will be made to look "dirty" or "grimy." Like a statue that is tough to clean and is very old or something. link
Interesting...
#14688 posted by metlslime on 2015/01/14 20:48:32
mainly in that i usually hear GI and AO used interchangeably to describe the same effect. This quote makes a distinction as if AO is a cheap way to imitate GI.
#14689 posted by JneeraZ on 2015/01/14 21:04:42
I think it attacks it from the other direction. GI bounces light around, leaving darkness in the corners. AO adds darkness into the corners directly. Heh...
#14690 posted by czg on 2015/01/14 21:04:52
As I understand it AO usually looks at just the immediate area surrounding the sample to determine how occluded it is and darken the sample appropriately, with no attention paid to light bounce like GI does.
#14691 posted by rebb on 2015/01/14 21:10:00
Classic AO approximates how "obscured" a surface point is by other geometry, over a hemisphere.
Actual GI is about calculating bounced light effects.
If you shine a spotlight at the floor next to a wall, GI will light up that wall via light bouncing. AO will not.
#14692 posted by Lunaran on 2015/01/15 00:22:39
Here's what I'd like to see:
Nondirectional light cast from sky surfaces, affected by dirt-AO. Regular lighting calculated from there and added on top.
(also thong shading)
#14693 posted by metlslime on 2015/01/15 00:30:44
lunaran: i do have a local build of light.exe with nondirectional sky surface lighting, it looks a lot like GI except without bounce lighting. But it looks really good in outdoor areas which normally look flat with the existing light tool's "sunlight" implementation.
The one thing i didn't solve is a good uniform distribution of points on the half-sphere where i place the "suns" I just iterate over latitude and longitude which means there are too many lights near the pole, and it means that lights are arranged in rows and columns which produces obvious bands where a whole row of suns' shadows line up.
Uniform Spherical Distribution
#14694 posted by Preach on 2015/01/15 01:08:37
metl, have a look at:
http://mathworld.wolfram.com/SpherePointPicking.html
If instead of randomising the values of u and v in [0,1] you just had a uniform grid of values with u in [0, 1] and v in [0.5, 1] you ought to get a nice even half-sphere distribution out of it. If you still get lines, maybe try rotating the u values between "evens" and "odds" for each v, like 0.1, 0.3 ...0.9 then 0, 0.2,..,1. The key to it is to use arccos(2v-1) for the latitudinal angle, anyway.
#14695 posted by Lunaran on 2015/01/15 02:26:23
When I did this for Lun3DM5 I skipped point picking on spheres and just used the vert coordinates of a unit-size poked buckyball, but before I did that I was going to do something in a regular spiral using the Golden Angle. Random distribution just needs too many samples, although lun3dm5 had 122 suns and you can still see staggered hard shadows.
Q3 of course has .shaders you can jam all the sun shit into that you want. What would a more elegant way of getting advanced lighting definitions into Quake look like, other than the current method of splitting it between worldspawn _keys and command line parameters? new light_ entities that light.exe would strip out for backwards compatibility?
"Dirty"
#14696 posted by quaketree on 2015/01/15 04:17:53
I like it. I just re-lit all of Episode 1 using:
light -extra4 -light 12 -dirty -dirtmode 1 -dirtscale 2.1 -dirtgain 0.7 [mapname].bsp
(batch file of course, it took about 30 minutes on a POS 10 year old PC).
And gave it a quick run through on easy and it looks even more "Quake-y" than the original. I'm not too sure how much of that was tyrlight's -extra4 but it certainly looked better overall. The -light 12 (overall minlight) really seemed to soften it up a bit without it being noticeable overall. I messed around with the settings using only the start map until it looked right first. The defaults were a bit too subtle and without the -extra4 it really stuck out like a sore thumb.
Probably my only suggestion would be if somehow any sharp 90 degree angles touching a liquid brush might be softened somehow (water diffuses light in general and the way ID did it in some places with 90 degree angles looks out of place (E1M1 under the first bridge especially) but that's still not a complaint because I was looking out for specific stuff like that and probably wouldn't have noticed it otherwise).
Good jerb there ericw.
Y NO SCREENEEZ
#14697 posted by Lunaran on 2015/01/15 04:54:54
I bet episode 4 might be improved by the same treatment, but the other episodes probably don't need minlight.
Re: Y NO SCREENEEZ
#14698 posted by quaketree on 2015/01/15 05:30:22
Becuz I have teh suckz00rs 133t skilz when it comes to this board and posting stuff and quaketastic doesn't like me using ZigguratVertigoBlewTronynsSocksOff.
That's why. :P
and I'm too lazy to set up dropbox right now.
But If Anyone Wants...
#14699 posted by quaketree on 2015/01/15 05:48:34
...the first episode maps re-lit and dirty using the above parameters I'll email it out and they can do it (and I'll even toss in that new knight model all in a PAK3.pak file), 2.97mb zipped. I can be reached at zombie.abe.vigoda at some geemail dot something or another and they can deal with it.
I'd do the other three and DM 1-6 but I don't want to be all warez-y and stuff but Episode 1 is shareware so whatever, and I'll even toss in the batch file to convert Pak1.pak (you'll need to extract and insert the new .bsp's yourself though).
Dunno about using dirtscale, doesn't look great a bigger values IMO. I think dirtdepth is worth playing with though.
Currently using quite subtle values on mine.
-dirtmode 1 -dirtgain 0.75 -dirtdepth 160
#14702 posted by JneeraZ on 2015/01/15 12:17:30
SCREENS. :) I want the pretty...
Well, dirty lighting is on the top screenshot and the normal lighting is at the bottom. The bottom light seems brighter but that's because I couldn't time it properly with the light style on that light.
https://www.dropbox.com/s/634686l70ick794/dirtlight.jpg?dl=0
Mac Build?
#14704 posted by flatHead on 2015/01/15 12:43:37
Thanks for putting this in Eric, that's awesome.
Any chance you could share a Mac OS X build? I see you included a .diff in the zip, but if you have one lying around already that'd be handy.
#14705 posted by ericw on 2015/01/15 18:55:22
Sure, I updated the archive to include osx builds and also added the full snapshot of the source, here's the link again: https://www.dropbox.com/s/nt78oeh49wevejx/tyrutils-light-dirtmap.zip?dl=0
Re: #14694
#14706 posted by metlslime on 2015/01/16 00:30:18
Thanks!
|
|
You must be logged in to post in this thread.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|