Ligthing Effect

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Giuseppe
Posts: 11
Joined: Mon Apr 09, 2012 7:15 pm

Ligthing Effect

Post by Giuseppe »

I'd like to do two different ligthing effect:
- one is when I swith on a TV
- one is when I switch on a lamp

So in addition to the shadow of the character and all the thing in the background...what I have to do?

Many thanks in advance for your support

Giuseppe
User avatar
hayasidist
Posts: 3851
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Post by hayasidist »

take a look at this image.

Image
(I claim no credit for this - it is from a Prof at MIT).

shadows are areas where light isn't hitting, contrasted by adjacent areas where light is hitting.

Squares A and B are actually the same colour. The eye is fooled into thinking A is dark and B is light because of the colour gradient in the sqaures that surround them.

So when you turn on the room light think in terms of adding light where there wasn't any rather than, as such, creating shadows.

So now imagine that checkerboard with the light off: all the light squares will look "B" coloured (i.e. unlit - grey about RGB=100) and the dark squares are dark grey (around RGB=40). The light needs to change the "lit" squares so that the dark ones go up to RGB=100 (from 40) and the light ones go to about RGB=200 (from 100). Grab the image and use a colour picker to see the actual values.

That assumes a nice "white" light... a different coloured light (say the yellowish glow of an incandescent bulb) will have a different effect; and the brightness of the light will also change the result ... which brings me to the TV ... which has time varying brightness and colour.

Hope that helps get you started.
Giuseppe
Posts: 11
Joined: Mon Apr 09, 2012 7:15 pm

Post by Giuseppe »

Many thanks (sorry for the delay in aswering)
Post Reply