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 #27723 is a reply to message #27722] Thu, 01 November 2001 17:07 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
From: "David Fanning" <david@dfanning.com>
> So we all remember how to do it, I've added an article to
> my web page:
>
> http://www.dfanning.com/ographics_tips/imgtex.html
>
> I've also cobbled together an example program:
>
> http://www.dfanning.com/programs/texture_surface.pro

Great work, David.

> Note that the article talks about a couple of unresolved
> issues. First, when I position the image as above, I don't
> seem to have control over what color the *rest* of the
> surface is.

I see that in your screenshots it is yellow. On my system it is dull green.
Curious!

> Second, the positioned image seems to have
> problems around its edges.

Your test image ('rose.jpg') is 227 x 149 pixels. Texture-map image
dimensions are supposed to be a power of 2 (or so I was informed some time
ago when I complained to RSI about misalignment problems). As I understand
it, this is an OpenGL restriction.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research



--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
[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 08:06:01 PDT 2025

Total time taken to generate the page: 4.00008 seconds