Re: graphics cards texture offset thing
"Javier Arevalo" <[email protected]>
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
Richard Fabian wrote: > How do you go about determining what UVs to give the characters when > the values you give may be hardware transposed to somewhere unknown? There are sub-pixel accuracy issues regarding the location of the pixel center, which are usually solved by using point filtering and adding .5f / W or .375f / W to the UV coordinates (W is the width / height of the texture). Other than that, no the hardware doesn't magically change your UVs unless there's a bug somewhere. -- Javier Arevalo Pyro Studios ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555