Flying columns

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Flying columns

Post by wacko »

Back to the roots :cry:

My columns are flying above the ground!
I can't remember having this problem before though I did nothing different!? Maybe I always had, but had no coloumns...

But how could I set them on the ground or tell the compiler to make correct shadows? I tried BSP with -fulldetail and LIGHT with -final and -extra without success.

(Same prob -by the way- with walls: Standing in dark rooms, I can see the light coming through the "cracks" under or above the walls from the next room.)

In fact, in mohrad the lower ends o the columns are sitting exactly on the floor, I also tried to stuck them into it (didn't help). Here's a screenshot of one of these bastards:
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

When I take a look at the screenshot, I wouldn't think that the column is actually flying. It's just MOHLIGHT is not accurate enough to calculate the shadow for such a small column. There might be a way to fix it, but I don't know if it works as I never tried it myself. It seems there's a lightmapdensity key available for the worldspawn, but it doesn't say what the default density is. However you can trying adding this key and set it to 4 or something and see what the effect is. Always keep in mind that the lower you set it, the higher the lighting detail gets and the more memory is used. So it might be really bad for the framerate.

About light coming through walls, that's a common issue but for some reason I don't see it in my own map anymore, but I did nothing special I think. However, you can try adding a caulkshadow brush on the places where you see the light coming through.

Cheers, jv_map
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

I gave that lightmapdensity key a try. The default value seems to be 16, a value of 4 makes aleast MOHLIGHT take much longer, I didn't test the framerate (how?). Unfortunately the result is different but not better: the column is still "flying" and the thin shadow line has changed in some washed out rectangles of size 4x4 (surprise!) but this isn't more realistic.
:cry:
Nijnrich
Corporal
Posts: 28
Joined: Tue Oct 01, 2002 11:40 pm
Location: Eindhoven
Contact:

Workaround

Post by Nijnrich »

I've seen an texture in MOH where they actually redrawn the shadow of a lamp post on a floor texture. So instead of generating it by the engine, make it yourself . Saves time and performance . It's a desperate workaround but it sure works :D
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

hmpfgrmpf

thats not exactly what i wanted to hear... :)
Post Reply