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

Home » Public Forums » archive » Non-traditional "traditional" Surface Command
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
Non-traditional "traditional" Surface Command [message #73793] Sat, 27 November 2010 08:18
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

As you know, the traditional IDL surface command, SURFACE,
is pretty lame. Even when it is fancied up in a modern
skin, as in FSC_SURF, it can't overcome all its deficiencies.
And, in particular, SURFACE isn't a true 3D command, since
the surface can't be rotated independently around all
three axes.

The SURFACE command isn't useless, however, and it is
still indispensable for combining surfaces with other
graphics for those who don't yet have IDL 8.

Nevertheless, most of the time when I want to look at a
surface I use FSC_SURFACE to do so. But after working
on FSC_SURF last week, FSC_SURFACE seemed pretty dowdy
itself. (I think I wrote it originally in 1996.)

All this to say that I used the time between the football
and the turkey to completely re-write FSC_SURFACE
with the intention of creating a non-traditional
"traditional" surface command. That is to say, a command
that works like the traditional SURFACE command, using
the same keywords, etc., whenever possible, but creating
a command with additional functionality and interactivity.
I'm pretty happy with the result.

You can play with it to see what you think, but it does
the basic things really well, and it has a few bells and
whistles that I think set it apart. For example, the surface
is lighted with four different light sources, and you can
easily control the color and intensity (or turn them off
if you want) of each of the lights to achieve different surface
effects.

Another feature I like is the ability to add any 2D or true-color
image as a texture map to the surface with the TEXTURE_IMAGE
keyword.

You can find the new FSC_SURFACE program here:

http://www.dfanning.com/programs/fsc_surface.pro

Naturally, it requires other programs from the Coyote Library, and
these have *all* been undergoing a recent refurbishing, so get the
latest! :-)

http://www.dfaning.com/programs/coyoteprograms.zip

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: optical character recognition
Next Topic: Retrieve pixel values from GeoTIFF

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

Current Time: Fri Oct 10 02:33:13 PDT 2025

Total time taken to generate the page: 1.36501 seconds