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

Home » Public Forums » archive » Re: texture_coord
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: texture_coord [message #27702 is a reply to message #27701] Fri, 02 November 2001 09:30 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> As this thread became more and more technical, I am beginning to wonder:
> isn't it easier to just create a temporary blank image that matches the
> dimensions of the entire surface, then insert the sub-image into it,
> then map it over the whole surface? Or does this just take all the fun
> out of it?

While this might appear to be an easier solution,
it not only takes all the fun out of a hyper-technical
programming operation, it introduces a whole host of
new problems that have to be solved. For one, reducing
your image to the resolution of the surface will make
that image awfully ugly. (I can't really think of a
way to solve this limitation, to tell you the truth.)

Another problem would be matching the image to a
particular location on the surface. This, presumably,
is the whole point of putting the image on there in
the first place. Getting the correspondence correct
would be an awfully tedious process, it seems to me,
and could only really be accomplished easily if the
surface and image data had the same aspect ratio.
Pretty rare in practice, I think.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: _Ref_Extra : BUG? (in Win2K 55b) corrected test file
Next Topic: Homogenity of an area

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

Current Time: Sat Oct 11 22:33:20 PDT 2025

Total time taken to generate the page: 1.28272 seconds