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

Home » Public Forums » archive » Re: 3D Puzzle
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: 3D Puzzle [message #15530] Fri, 21 May 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kelly Dean (krdean@lamar.colostate.edu) writes:

> I have an idea to create a 3D puzzle with our global data set. I have
> selected the map projection and drew a triangle around the area I would
> like to keep. These triangles would be pieced together to form a 3D
> globe.
>
> But - how would I black out the area around the outside of the
> triangle?

Use PolyfillV to find the image pixels inside the
triangle. All the pixels that are not inside are
outside (probably want to make some kind of 0/1
mask, I guess). Set the outside pixels to 0.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: behavior of arrays
Next Topic: When you can't concatenate structures like you expect....

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

Current Time: Sat Oct 11 09:18:09 PDT 2025

Total time taken to generate the page: 0.00855 seconds