comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SHADE_SURF problems and questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
SHADE_SURF problems and questions [message #1118] Wed, 04 August 1993 13:48
sirk is currently offline  sirk
Messages: 1
Registered: August 1993
Junior Member
I am having trouble with the IDL SHADE_SURF routine;
IDL. Version 3.0.0 (sunos sparc)

Specifically, whenever I attempt to use a light source other than
vertical (ie SET_SHADING,gouraud=1,light=[0,0,1]), I get bizarre
white patches where there should be shadows. The keyword REJECT seems
not to have any affect. Is this a bug, or a limitation of SHADE_SURF?

Does anyone know of other IDL surface shading routines?
I have already tried and modified the JHU Applied Physics Laboratory
routine SUN_SHADE, but it only shades images, not surfaces, that is,
the veiwpoint is directly from above. The gouraud shading produces
very pleasing results, so I would like to use it, including cast
shadows if possible.

Martin Sirk
Center for Extreme Ultraviolet Astrophysics
University of California
Berkeley, CA 94720

sirk@cea.berkeley.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: rescaling an image
Next Topic: IDL Widget PDMenu

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:01:25 PDT 2025

Total time taken to generate the page: 0.00765 seconds