Page 1 of 1

Light problem

Posted: Thu Mar 18, 2004 10:17 pm
by [AoD]beefy[UK]
When I compile my map with Mbuilder the lights in the map turn in to a kind of rectangular shape and looks terrible is that just a problem with Mbuilder or am I doing something wrong with my light placement?

Posted: Thu Mar 18, 2004 10:23 pm
by jv_map
Could you maybe post a screenshot? I'm not quite sure what you mean...

If you are unable to upload a screenshot anywhere, you can e-mail it to jv_map@mods-r-us.net and I'll post it for you, but I can't do that before tomorrow :(

Posted: Thu Mar 18, 2004 10:46 pm
by [AoD]beefy[UK]
Image
Thats how i've placed the light in radient. I've got a feeling it should be lower but then some patches of the light go dark.
Image
Thats how it looks after its been compiled in Mbulider. As you can see its all gone a bit of a funny shape.

light

Posted: Fri Mar 19, 2004 12:17 am
by tltrude
Sorry, can't see the screenshots. But it may be the video settings you are using in the game.

Point lights should be placed where the bright part does not shine through to the other side of a wall, floor, or ceiling brush. It is ok for the bright part to stick into the wall, just not all the way through. If need be, you can resize them with Key: light and Value: 100 (300 is the default size).

Have you made any other entity settings (key N) for the lights?

Posted: Fri Mar 19, 2004 12:56 am
by M&M
i also have a question about light ,what is linear light?how can light be linear?

Posted: Fri Mar 19, 2004 8:02 am
by jv_map
I think it means the relation between distance from the light and intensity of the light becomes linear (instead of the more realistic inverse square)... hence if you'd move from the light away the 'amount of light' decreases in a lineair way.

:)

Posted: Fri Mar 19, 2004 11:18 am
by [AoD]beefy[UK]
Hmm, it obviously doesn't allow remote linking. I'll just put links to them instead.
http://atlantic.photoisland.com/session ... 3081lg.jpg
This is how I placed it in Radient. Is there something wrong with the placement maybe?
http://atlantic.photoisland.com/session ... 3080lg.jpg
thats how it looks when its built in Mbuilder.

Posted: Fri Mar 19, 2004 12:07 pm
by Splaetos
those links dont work either...

are you sure you have te full address to the image?

try right clicking, going to properties... and select the WHOLE address to copy.... I use snapfish, and the adresses are like 3 lines, so jsut copying out of the browser wont get you anywhere.

Posted: Fri Mar 19, 2004 5:00 pm
by blue60007
jv_map wrote:I think it means the relation between distance from the light and intensity of the light becomes linear (instead of the more realistic inverse square)... hence if you'd move from the light away the 'amount of light' decreases in a lineair way.

:)
right there'd be an equation like light = x -1
or something

I guess you could have quadratic light

x^2 - x - 1

...

Posted: Fri Mar 19, 2004 9:00 pm
by jv_map
Well I'd think of something like this (just a guess):
Let:
I: light intensity
r: distance from source
c: some constant defining the light decay
L: the light key as set in radiant

Then:
I = L - c * r

(obviously as long as I > 0)

Whereas the default equation (non-linear) would be:
I = L / r^2

Makes sense? :wink:

Posted: Fri Mar 19, 2004 9:03 pm
by M&M
yeah i guess so :?

Posted: Sun Mar 21, 2004 1:29 am
by blue60007
jv_map wrote:Well I'd think of something like this (just a guess):
Let:
I: light intensity
r: distance from source
c: some constant defining the light decay
L: the light key as set in radiant

Then:
I = L - c * r

(obviously as long as I > 0)

Whereas the default equation (non-linear) would be:
I = L / r^2

Makes sense? :wink:
Yes.


Linear, not exact but you get the point

Code: Select all

I             R
300        0
250         50
200         100
150         150
100         200
50           250
0             300

Standard:

I               R
256           1
128           2
64             4
32             8
16             16
8               32
2               64
1               128
0               256

Very bad example, I understand it but it's hard to explain...

linear

Posted: Sun Mar 21, 2004 3:13 am
by tltrude
Linear lights suck, don't use them.

Posted: Sun Mar 21, 2004 3:50 am
by blue60007
Righto the linear lights are too flat looking, standard gives you a smooth look.

Posted: Sun Mar 21, 2004 8:26 am
by jv_map
Entity lights suck :idea: Best use surface lights or sunlight :wink: