Possible Duplicate:
How can I get photos showing the “shaft of light” effect?
While sitting in a room, there was a ray of light coming in through a small opening in the window. I tried my best, to capture the light ray, against the contrasting darkness in the room, but I failed. I have tried to take such a picture outside too, in woods, where light rays were coming in through think growth of trees, but the capture was not at all what I have seen in pictures of similar situations.
Here is a picture I randomly picked from Flickr to clarify what I was trying to capture.
My question is, what is the appropriate setting on the camera OR simply put, how can I take such pictures (of light rays) in open areas and/or closed spaces, like a room.