[GRASS5] searching for cast shadow algorithm (r.sunmask?)
Justin Hickey
jhickey at hpcc.nectec.or.th
Mon Mar 5 02:13:22 EST 2001
Hi Markus
Markus Neteler wrote:
>
> Hi again,
>
> for my work I need a cast shadow algorithm. In GRASS 4.x
> the r.sunmask did the job, I already tried to update it
> to GRASS 5 (with help of Huidae). However, the CVS version
> produces non-sense only.
>
> Does anyone have such an algorithm available (calculate shadows
> from given SUN position, local position and DEM)?
For a shading algorithm you can check the following paper:
Fast Hill Shading with Specular Reflection and Cast Shadows - by C Ware
"Computers and Geosciences" 1989, 15, pages 1327-1334
I used an in-house library based on this algorithm for my Masters thesis
and it seemed to work well.
Hope this helps.
--
Sincerely,
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
==================================================================
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list