News | Forum | People | FAQ | Links | Search | Register | Log in
Tyrutils-ericw V0.15.1
Hey, I got around to setting up a website for my branch of tyrutils: (complete with lots of screenshots of different settings of AO, sunlight, etc!)
http://ericwa.github.io/tyrutils-ericw
and making an "official" release of it.

Nothing major changed compared with the last snapshot (may 1st), but a couple new things:

* .lux file support from Spike, for deluxemapping
* gamma control with -gamma flag and "_gamma" key
* rename -dirty flag to -dirt for consistency
* fence texture tracing is now opt-in only with the "-fence" flag.
* light should run a bit faster


This doesn't have lit2. Not sure what to do with that, tbh.

If there's a demand for it, I was thinking I could make a tool that upscales all textures in a wad by 2x or 4x, and adds a "-2x"/"-4x" suffix to the names. You could then manually get the higher-res lightmap on certain faces by applying the upscaled texture, and lowering the texture scale to 0.5 or 0.25 in your editor.

The only real disadvantage of this hacky method over lit2 is more face subdivision by qbsp. This isn't great, but it shouldn't be an issue if the hack is used sparingly (and bsp2 can be used if needed for higher face/vert limits.)

Anyway, enjoy, I hope this is pretty bug-free.
First | Previous | Next | Last
More Final Release Planned? 
No rush right now. I would rather wait for a more official release I guess with some notes in the text file I can refer to. I can keep myself busy with the monster update for now. 
 
It would be good if the compiler outputted the whole brush to the console when it causes an error. 
 
I'll wait for a release with smooth shading and lit liquids put together. 
 
lit liquids

Wait, what?

Which engines do/are gonna support this? 
Mankrip 
I would be happy with entity and brush numbers. 
Kinn 
IIRC, Spike said something about FTEQW supporting it.

Retroquad also supports it, but there's still a lot of work to be done before it gets released. 
Skiffy/necros 
Phong shading is not in the releases on github yet.
Fifth has a build with it that is working, and I hope to post a new dev build soon that has phong shading too.

DeeDoubleU: weird, I don't use notepad++ but it should have a "goto line" feature that should take you to the right line. Anyway, I don't think "Brush With Duplicate Plane" is a serious warning, it's more a warning that the editor saved some redundant data. 
 
this document never gets old. 
 
Lit water yeeeesss I look forward to that one because my level has murky water like a swamp / bog and I would love it to be dark shader fluids. 
Swamp/bog 
/triggered 
Quake2 Plans? 
Any plans to ever include radiosity in the light compiler for Tyr like in Quake2's Light compiler?

Regarding Quake 2... possible support for it using these compilers at some point in the future? I read it does support the map format but does it output quake2.bsp files?

Currently I think ArghRad is the lighting one for quake2 maps correct and no other tools came after that outdid it? I would love the AO / Dirt / Skylight / Sunlight from Tyr tools to be usable for Quake2. The main things Q2 still had is Smooth Shading and Radiosity though..

Just wondering because I love this toolset and some offshoot in the future would be great. 
Radiosity 
It's actually important to understand that there are not one but two major differences to the Quake 1 lighting model in Q2. When people say "radiosity" it pays to be clear about which of these two is actually meant.

First one is actual "radiosity", as in the ability of surfaces to cast light.

Second one is bounced/indirect lighting.

Thing is, these two don't actually have any dependency on each other. It's possible to implement each without implementing the other.

So you can have surfaces casting light but without light bounces - similar to what these tools already do with lava surfaces.

And you can have indirect lighting but have it coming from light entities which the mapper must place rather than from surfaces.

Or you can have both; but presence of one doesn't demand presence of the other. 
 
Dirt/AO makes radiosity a bit redundant at this point. It's also slower. 
 
Also, Quake 2's radiosity actually created a result the same as if you'd just floodfilled the lightmaps with the same flat shade of orange/brown. 
 
That said, a single bounce could be interesting.

I'm sick of adding fake bounce lights. 
 
Yeah,maybe I shouldn't dismiss it out of hand. and with multicore lighting, it's maybe not so bad anymore. 
 
That is not dead which can eternal compile. And with multicore lighting, even death may die. 
 
Light bounce is indeed what I am looking for. Light bounce that picks up the colors from the surfaces it hit is one thing I liked a lot from Q2 lighting. And we all know the Orange lighting was just them having too much fun with colored lights as it was relatively new technology in games and folks sucked at using color for lighting their levels.

And no Radiosity is not redundant because we have dirt / AO... that is a hack of light occlusion not the spread of lighting.

But yes Radiosity is an old way of doing GI. There are better ways to do it these days which are also much faster. Ultimately I would love to see this toolset support quake 2 and include the smooth shading and Radiosity features from Arghrad. 
 
Skiffy, yeah I'd like to implement some kind of bounced lighting, like this article: http://www.scratchapixel.com/lessons/3d-basic-rendering/global-illumination-path-tracing
Probably just supporting 1 bounce to start with. It actually looks very similar to how dirtmapping works currently.

I'm not sure how hard it'd be to add Q2BSP output. Spike might know?

Also, I should have a new beta soon. 
 
q2 renders much like q1bsp.
its the tracelines that are very different. that said, I think you can still use the q2 bsp tree as a point-sized hull, so that's fine for light.
this is of course ignoring all the changed structs that you'd have to deal with somehow (easiest to do at compile time). 
 
Sweetness! 1 bounce would already be a great start. 
 
One or two bounces would be fantastic. It could save a lot of trouble. As it is now, for indoor areas I probably place 3 to 5 fills for every actual light. 
 
1 bounce with light diffusion would be cool. 
 
Personally I'd suggest adding a "_bounce" key to light entities; default if there's no key is no bounces (makes sense to keep defaults same as stock Q1 tools) and the value specifies the number of bounces.

That way lighting could be easily recreated at any time and by other tools without needing to know the command-line options that were originally used. 
Ericw 
weird, I don't use notepad++ but it should have a "goto line" feature that should take you to the right line. Anyway, I don't think "Brush With Duplicate Plane" is a serious warning, it's more a warning that the editor saved some redundant data.

It's not that I can't find exact line which correspond to log output - notepad++ shows line numbers. Problem is compiler treats line numbering differently.

I think I found the problem - it doesn't count comment lines.

Tested on my map backup.
Compiled as is
*** WARNING 03: line 45402...
added a bunch of commented out lines("//asdasd") , in the beginning of the file and line number didn't change in the log.
Then I replaced commented lines with empty lines, just a line break. No spaces, tabs etc
Now log says
*** WARNING 03: line 45406...

If it is the case, then every line with entity/brush number gets ignored and line numbers 'shift' from what you would get in text editor. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.