Home »
Public Forums »
archive »
Re: 3D Puzzle
Re: 3D Puzzle [message #15530] |
Fri, 21 May 1999 00:00 |
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
|
|
|
Current Time: Sat Oct 11 01:18:57 PDT 2025
Total time taken to generate the page: 1.68186 seconds