Author Topic: Light bleeding and portal camera problem  (Read 3289 times)

Vex

  • Posts: 3
  • Turrets: +1/-0
Light bleeding and portal camera problem
« on: May 17, 2008, 04:24:51 am »
So after searching the forum for these problems, I have decided to post them in hopes someone can tell me how to fix these.

1.) Light bleeding: I have a rather large room with a glowing green pool of slime in the middle. I wanted extra glow so I put a light above it and set it to shine green. Now, there is a door placed somewhat near the pool (not too close) and when you enter that room, the green light shines through it into this room. Even when the door is closed the green light sines right through it like it's not even there. This is mind boggling to me and the only way I can think to fix this "light leak" is do place some sort of shader in front of my door that blocks the light... though I have no idea what shader this would be. Other notes: my door's texture is a solid metal and the brush is exact with the brushes around it leaving no gaps. Nothing is caulked around the door either. Any idea?

2.) I've followed the advice of other posts from this server about making a viewing screen like the one's found on Pulse. I'm still not clear on a couple of things: is there a radius in which the screens are viewable? If I move a little bit away from the viewing screen, it goes blurry like one would see looking at the void. When I my closer a foot or two, the image reappears. The camera itself is in the middle of another room, floating dead center in the room... so it's not being blocked by anything. Also, the camera bobs from side to side like sailing on a freaking ship. I know other people on this forum have fixed this problem, but when reading the it doesn't make sense. Messing with the roll key only changes which way the camera looks... it doesn't affect the bobbing aspect.

Any help on these problems would be greatly appreciated. They seem like really simple questions, yet they are kicking me in the tail.

also here's a random granger for awesomeness :granger:


EDIT

I fixed the lighting issue... I just made a few smaller lights to replace the bigger one, same effect, less shine radius.

I ran into another problem though, the plant models I used from Nevius (I think) are all black. I can't seem to get them to show up with the plant texture. Any ideas?
« Last Edit: May 17, 2008, 04:58:48 am by Vex »

seeeker

  • Posts: 122
  • Turrets: +19/-5
Re: Light bleeding and portal camera problem
« Reply #1 on: May 17, 2008, 07:40:53 am »
for the camera wobble:


to make doors cast shadows:


I wish some things were better documented >_> I had to search SO much to find a fix for the cammera, finally i learned how to decompile bsps, decompiled pulse, compared his cameras to mine and bingo! what a random thing to add spawnflags 4 ... x_x

=)

Vex

  • Posts: 3
  • Turrets: +1/-0
Re: Light bleeding and portal camera problem
« Reply #2 on: May 17, 2008, 09:03:54 am »
Hey seeker, thanks for the help. I got the wobbling to stop, but I still have the problem of the screen becoming blurry if you move so far away from it. Can the screen just not be viewed from a distance greater than like 25 feet?

Also, when using the _cs 1 for the doors, the doors become black... like too much shadow and such. Not sure what to do there.

Once again, thanks for any help :D

Lava Croft

  • Guest
Re: Light bleeding and portal camera problem
« Reply #3 on: May 17, 2008, 02:19:40 pm »
_cs stands for Cast Shadows, like _rs stands for Recieve Shadows.

seeeker

  • Posts: 122
  • Turrets: +19/-5
Re: Light bleeding and portal camera problem
« Reply #4 on: May 17, 2008, 08:30:41 pm »
I should have noted this:
If you want to learn how to decompile, heres some instructions on how to do it:
http://en.wikibooks.org/wiki/Q3Map2#Decompiling_into_a_.map

Lava Croft

  • Guest
Re: Light bleeding and portal camera problem
« Reply #5 on: May 17, 2008, 08:33:32 pm »
You can always try and set a minimum light value for the door, so that it always is lit. This usually looks a bit crappy, but it might work.

Vex

  • Posts: 3
  • Turrets: +1/-0
Re: Light bleeding and portal camera problem
« Reply #6 on: May 18, 2008, 03:04:28 pm »
Thanks a ton for that decompiling Wiki link. It really helps to able to see how things are done without asking tons of questions. I finally got the camera thing to work great, but for anyone with the same problem, the camera only has a radius of several feet before you can't view the screen any more. You need to move the viewing screen to a smaller area for it to work properly.

Also, do any of you know how to make the plant models actually show up as plants? They are plant shape, only black. No matter what lighting, they remain black?