Re: [info-performer] Non square clip textures?

New Message Reply Date view Thread view Subject view Author view

From: DANIEL BASS (BASSD++at++aaicorp.com)
Date: 05/29/2002 09:29:23


You could just apply a texture matrix that scales one of the texture
coords by 0.5.

--daniel

>>> Kenneth Sewell <sewell++at++dramail.com> 05/29/02 10:18AM >>>

        With that solution, all of the tex coords on my terrain would
have
to be remapped, it was built under the assumption that the texture
coords
are in the range of 0.0 to 1.0 for both dimensions. If I only used
half of the cliptexture, then the t component is only valid for half
of
that. If possible, I was hoping to avoid remapping the tex coords
for all of my terrain. Also, I'm using the cliptexture under linux,
and
as I understand it, texgen cannot be used with software cliptexture
emulation.

Ken Sewell Defense Research Associates
Project Engineer 3915 Germany Lane, Suite 102
937-431-1644 Beavercreek, Ohio 45431-1608
sewell++at++dramail.com

On Wed, 29 May 2002, Brian Furtaw wrote:

> The cliptexture implementation hasn't changed much you can make a
> 32768^2 cliptexture and just use half of its texels. The image cache
and
> texture memory will never reference the data on the empty half if
you
> manage the texture coordinates to prevent it.
>
> Brian
>
> Kenneth Sewell wrote:
> >
> > Is it possible to use clip textures that are non-square? I've
searched
> > through the online archives and the only thing I've found is a
thread from
> > 1998 that suggests stuffing a non-square clip texture into square
one.
> > I'd like to use a clip texture that has dimensions of 32768x16384.
Has
> > there been any improvements with regards to non-square clip
textures?
> >
> > Thanks,
> > Ken.
> >
> > Ken Sewell Defense Research Associates
> > Project Engineer 3915 Germany Lane, Suite 102
> > 937-431-1644 Beavercreek, Ohio 45431-1608
> > sewell++at++dramail.com
>
> --
> ----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
>
> Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612
> Graphics Guru Office:(301)572-3293 Fax:
(253)323-8182
> 12200-G Plum Orchard Drive
OpenGL/Performer/OpenInventor/ImageVision
> Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
> Drivers
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 29 2002 - 09:37:45 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.