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

Home » Public Forums » archive » Elevation Shading in Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Elevation Shading in Object Graphics [message #13351] Sun, 08 November 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Hi Folks,

Well, naturally, I hadn't posted my "Elevation Shading in
Object Graphics" example on my web page for more than 10
minutes when people more knowledgeable than I starting
pointing out the obvious faults.

In particular (and it is exceedingly odd that neither I
nor the folks who were helping me at RSI noticed this) it
is a LOT better to turn shading ON, although it is still
true that you want to have lights OFF.

I also discovered that it is better to add a color palette
to the surface (thanks to Struan) than to the window, which
I was doing previously. (Actually, it works the same, it
just seems more natural and elegant to add it to the
surface, where it really belongs.)

Anyway, I think I have it sorted out now and you can view
the article and code at these URLs:

http://www.dfanning.com/tips/elevation_object.html
http://www.dfanning.com/programs/object_shade_surf.pro

As always, a big thanks to the anonymous lurkers who
keep me on the straight and narrow. :-)

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Question on watershed segmentation
Next Topic: How to use GTOPO30 in IDL?

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

Current Time: Fri Oct 10 03:49:52 PDT 2025

Total time taken to generate the page: 0.16272 seconds