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

Home » Public Forums » archive » Re: Draped Contours?
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: Draped Contours? [message #68974 is a reply to message #68973] Thu, 10 December 2009 09:06 Go to previous messageGo to previous message
JDS is currently offline  JDS
Messages: 94
Registered: March 2009
Member
On Dec 9, 5:40 pm, David Fanning <n...@dfanning.com> wrote:
> JD Smith writes:
>> I was playing with iSurface (shocking, I know), and found very useful
>> the ability to "drape" contours interactively on top of the surface,
>> similar to raised relief maps with contour lines.  It occurs to me I
>> have no idea how to do this; probably some object graphics thing.
>> Does anyone have a short example of forming such a draped contour?  I
>> did consider using the SHADES keyword for shade_surf to color various
>> levels black, but I prefer lighting-based shading, and (ideally)
>> vector contours for output.
>
> Can you give us a picture of what you mean, or at least
> describe what you did with iSurface? I have an example
> of a contour plot cutting through a surface at any
> level. I have a feeling that program can be easily
> adapted if I had a better idea of what you had in mind.

This PDF shows such an example, in Fig. 8:

http://www.ittvis.com/portals/0/tutorials/idl/Contours_and_S urfaces.pdf

Here's another example:

http://tir.astro.utoledo.edu/idl/draped_contours.png

I did notice that even when exporting to EPS, the contours are
bitmaps, so my SHADES idea might be a reasonable analog. Creating
contours and dropping each one individually to the appropriate height
on top of the surface must be doable with object graphics, but it's
not immediately obvious to me.

Thanks.


P.S. Any OSX/XQuartz users recognize this error?

IDLITWINDOW::DOHITTEST: Failure to acquire window rendering context.
error: xp_attach_gl_context returned: 2

I get it off and on with iTools and must restart IDL.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reducing a set of curves to a mean curve
Next Topic: ITT VIS at the 90th AMS Annual Meeting

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

Current Time: Fri Oct 10 09:53:10 PDT 2025

Total time taken to generate the page: 0.32210 seconds