Re: [Plib-users] Texture scaling
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-03-15 03:13:45
|
Erik Unemyr wrote: > Hello, > > I would like to change the scaling of a texture on an object. > What would be the easiest way to do that? You could push/pop the texture transform matrix in the SSG draw callback. It's usually just easier to multiply the texture coordinates yourself, unless there are truly VAST numbers of vertices that have to be continually re-scaled, it's generally not worth the overhead to do it with the texture matrix. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |