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

Home » Public Forums » archive » Re: iSurface lighting questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: iSurface lighting questions [message #44504 is a reply to message #44500] Wed, 22 June 2005 11:26 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <pan.2005.06.22.17.55.59.969000@rsinc.com>,
Karl Schultz <k____schultz@rsinc.com> wrote:

> On Wed, 22 Jun 2005 09:40:56 -0500, Kenneth Bowman wrote:
>
>> Why does the default lighting for iSurface illuminate the *bottom* of the
>> surface?
>>
>> And if I want to add a light manually to illuminate the top, why do I have
>> to
>> drag it to the *bottom* of the window?
>>
>
> Exactly what command are you using?
>
> What happens if you jsut do something simple like
>
> isurface, dist(40)
>
> Does it look different if you force software rendering?

The problem appears to be that my z-coordinate decreases upward. Here is a
simple example.

x = 10*FINDGEN(37)
y = -90 + 10*FINDGEN(19)
z = REPLICATE(500.0, 37, 19) + 100.0*RANDOMN(seed, 37*19)
ISURFACE, z, x, y, /NO_SAVEPROMPT, $
/SHADING, $
XTITLE = 'Longitude', $
XRANGE = [0.0, 360.0], $
XMAJOR = 5, $
XMINOR = 2, $
YTITLE = 'Latitude', $
YRANGE = [-90.0, 90.0], $
YMAJOR = 7, $
YMINOR = 2, $
ZTITLE = 'Pressure', $
ZRANGE = [1000.0, 0.0], $
ZMAJOR = 6, $
ZMINOR = 1

I would consider this to be a bug, but perhaps it is a feature. :-( The way an
additional light behaves is, at least, unintuitive.

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: GUI interface update issues
Next Topic: How does IDL find functions?

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

Current Time: Fri Oct 10 08:56:54 PDT 2025

Total time taken to generate the page: 0.00231 seconds