Yah - that wasn't the problem. I'd assumed both coordinate systems were normalized, which turned out not to be the case; it works just fine after I realized that.
Thanks for the response. Austin On Tue, 1 Feb 2005 19:01:10 -0800, Jay Stelly <[EMAIL PROTECTED]> wrote: > The vgui vertex has two members, and screenspace position (in screen > coords) and a texture coordinate (in normalized UV space). You can get > the screen dimensions from the vgui surface with > surface()->GetScreenSize(). > > Jay > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Austin McDonald > > Sent: Wednesday, January 26, 2005 10:10 PM > > To: [email protected] > > Subject: Re: [hlcoders] DrawTexturedPolygon > > > > Okay, I actually got this figured out. It didn't have > > anything to do with MIPS - for some reason, the first vector > > in the Vertex_t that you pass uses a different coordinate > > system from the second vector. The second vector ranges from > > [0,1] (ie real numbers) but the first vector is actual pixel > > dimensions. > > > > If my explanation was unclear and anybody would like a > > clarification, let me know. > > > > Thanks. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

