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

Home » Public Forums » archive » Re: Mapping Etopo2 in IDL?
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: Mapping Etopo2 in IDL? [message #51957] Tue, 19 December 2006 09:36 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
skyflow2008 wrote:
> Dear Fanning:

I've been called worse...

> Now there is a problem puzzled me. I want to map etopo2 data in
> IDL. I know to use color table we can get a false color picture. But I
> want to realize hillshade texture and color simutaneously to display in
> my map like global mapper. I don't know hwo to realize. Please help me!

Like David said, your question is a bit thin so it is hard to give a
meaningful answer. Using some creative interpretation, I'm guessing you
want to *plot* etopo2 data and that not only do you want to color your
plot based on some characteristic (say elevation) you want to emphasize
the relief with appropriate lighting.

To do this you would:

read your etopo2 data
convert the lat/lon to cartesian coords using the MAP_PROJ_* functions
create a IDLgrSurface object with your cartesian + elevation data
color your surface appropriately using the VERT_COLORS keyword
add most likely 2 well placed IDLgrLight objects (one ambient and one
directional)
add your lights and surface to an IDLgrModel
display using XOBJVIEW

* OR *

You could try iSurface in which case you'll still need to read your data
and convert it to cartesian coords. Then pass them to iSurface. Read
the docs.


-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: How to Get Started with the Z-Buffer
Next Topic: Re: Anyone used FastDL?

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

Current Time: Fri Oct 10 02:27:11 PDT 2025

Total time taken to generate the page: 0.87957 seconds