Blocking unwanted light

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Blocking unwanted light

Postby Clueless Newbie » Mon Jul 23, 2007 8:48 am

I have light leaking in through the intersections of the brushes on my map. Most of this seems to be "sunlight" from the skybox. Could this be prevented by placing a brush with an appropriate clipping texture between the "sky" brushes and the surfaces that are not supposed to be illuminated? Is there another way to deal with this?

Or is this an engine bug I'm just going to have to live with?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby tZork » Mon Jul 23, 2007 10:03 am

If you have a patch blocking light, make sure you compile with -patchshados in the -light phase, or light will just slip right through those. if nothing else help you can add a slab of caulk (it blocks light, thats the same as castinig shadows, so be carefull or you will get phantom shadows) between the lightsource and the "light leak".

If you have a map that dont need a box arround it as sky (like a space floater does) its a better practice to just plug the holes in the sky/roof with skybox textuered slabs.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby Clueless Newbie » Mon Jul 23, 2007 8:41 pm

tZork wrote:If you have a patch blocking light, make sure you compile with -patchshados in the -light phase, or light will just slip right through those. if nothing else help you can add a slab of caulk (it blocks light, thats the same as castinig shadows, so be carefull or you will get phantom shadows) between the lightsource and the "light leak".

Tried this now, and the caulk slab made no difference.
If you have a map that dont need a box arround it as sky (like a space floater does) its a better practice to just plug the holes in the sky/roof with skybox textuered slabs.
Eh? The skybox is where the light is coming from in the first place, as far as I can tell.

Oh well.. maybe I'll just have to live with the leaky lights...
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby torus » Tue Jul 24, 2007 2:09 am

You could just light those areas, maybe with floor lights. Then you wouldn't see the leaks so much.
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby tZork » Tue Jul 24, 2007 6:15 pm

If you put a link to the map here and ss the place where light is leaking ill have a look at it, this is never a unsolvable problem, its just hard to know what to do and what the problem is without looking at the acctual map.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby Clueless Newbie » Tue Jul 24, 2007 9:23 pm

tZork wrote:If you put a link to the map here and ss the place where light is leaking ill have a look at it, this is never a unsolvable problem, its just hard to know what to do and what the problem is without looking at the acctual map.

Ok. Here:

http://www.notam02.no/~clund/nexuiz/RustVents.pk3

As for where the problem is, just go inside and look at the floor-wall intersections in the darker areas. The leaky light is present just about everywhere indoors.

BTW: What you're looking at is one half of a CTF map. That big "valley" is where the map will be mirrored.
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby torus » Tue Jul 24, 2007 10:01 pm

The pk3 is incorrect btw. Make a zip of the directory (with stuffit), not a zip containing a dir with that folder in it.

Also, I think he meant the map source (the .map file), not the compiled map (although thats nice too). :)


I played your map, and aside from the leaking light, I have these comments:

The map geometry is cool and interesting. However, the repeated use of the same 3 textures are absurdly boring. Some variation, especially on the walls and different textures for the vents and pipes vs. walls would seriously improve it. Right now the walls are too damn bland and monochrome.

Maybe add some stuff on the top level, and a higher sky.


Other than those its pretty cool. I assume you will put in jump pads and such when its done. GJ :D
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby Clueless Newbie » Tue Jul 24, 2007 11:09 pm

torus wrote:The pk3 is incorrect btw. Make a zip of the directory (with stuffit), not a zip containing a dir with that folder in it.

Stuffit adds .DStore files, afaik - and Nexuiz won't play those. What I'm doing is "zip -r [mapname] *" - after removing all the .DStores...

Also, I think he meant the map source (the .map file), not the compiled map (although thats nice too). :)


But the leaky light only shows in the compiled map...

The map geometry is cool and interesting. However, the repeated use of the same 3 textures are absurdly boring. Some variation, especially on the walls and different textures for the vents and pipes vs. walls would seriously improve it. Right now the walls are too damn bland and monochrome.

Yeah, I can see that. I was thinking about making a different, more metallilc texture for the pipes. They blend in with the walls too much the way they are now.

Maybe add some stuff on the top level, and a higher sky.

Actually, I added a player clip brush to prevent the players from getting up on the roof. I figured there were more than enough passages in the map as there is.

Other than those its pretty cool. I assume you will put in jump pads and such when its done. GJ :D

Thanks. B)

But where would you want the jump-pads? You can get anywhere on the map with the "laser" - although there are places that might take some practice...
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby tZork » Wed Jul 25, 2007 12:16 am

torus is right, i need the mapfile to get the compleate picture.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby torus » Wed Jul 25, 2007 4:26 am

Clueless Newbie wrote:But where would you want the jump-pads? You can get anywhere on the map with the "laser" - although there are places that might take some practice...


Mostly, leading into the pipes, especially the higher ones. Relying on the laser gives experienced players an unfair advantage, as well as slowing down gameplay. Do what feels right.
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron