Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Lighting help!
Date: Sun, 16 Aug 2009 07:26:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <h68caa$knd$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1250407562 21229 172.30.248.35 (16 Aug 2009 07:26:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 16 Aug 2009 07:26:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477385
Xref: news.mathworks.com comp.soft-sys.matlab:563670


Hello,

I have a 2D patch (rectangle). I want to create a line of light that horizontally crosses it in the middle.

How can I do this!? I tried playing with the position property of light() but it's not working :(