Page 1 of 1

Flying columns

Posted: Wed Oct 23, 2002 8:02 am
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

Posted: Wed Oct 23, 2002 4:14 pm
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

Posted: Thu Oct 24, 2002 6:30 pm
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:

Workaround

Posted: Thu Oct 24, 2002 6:51 pm
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

Posted: Thu Oct 24, 2002 10:22 pm
by wacko
hmpfgrmpf

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