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

Home » Public Forums » archive » Re: Mapping on Objekts...
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: Mapping on Objekts... [message #8536 is a reply to message #8523] Tue, 18 March 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Christian Lenz <cnlenz@uni-paderborn.de> writes:

> A long time ago, I read something about mapping of Pictures on a cube. I
> thing it was in the IDL Basics, but i can't find it again.
>
> Now I would like to map a picture on a outside of a zylinder. Has anyone
> a tip for me?

I've never really tried this with a zylinder, but I think I could get it to
work. You do it in the C-buffer, with the Pattern and Image_Coord
keywords. (Image_Coord matches the coordinates of the image in
Pattern with the vertices specified in the positional argument
to Polyfill. For a zylinder you may have to do the rendering in narrow strips
to make the edges more or less a smooth curve. (Guess this depends on
how your zylinder is rendered on the display.)

Cheers!

David

P.S. You can find a good description of how to do these Z-buffer
tricks in my soon-to-be announced IDL Programming Guide. I am
very pleased with the new graphics sections. It may be the
best material I have ever written on IDL techniques. :-)

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
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
Previous Topic: Re: Dual Installation of IDL 4 and IDL 5
Next Topic: Digital Alpha, Windows NT and IDL

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

Current Time: Sat Oct 11 17:20:45 PDT 2025

Total time taken to generate the page: 0.00189 seconds