placing automatically generated texture coordinates wrt a geoset

New Message Reply Date view Thread view Subject view Author view

From: ken sartor (sartor++at++visidyne.com)
Date: 04/06/2000 11:59:16


I have been working on a problem where i have a lot of polys. For some
cases, i would like to use a single texture on the entire geoset. I have
been able to do this with automatic texture coordinate generation. But i
have a remaining problem. I would like to be able to assign the absolute
coordinate *where* the texture begins.

For the purposes of illustrating this, imagine the following case. Say i
want to put the Mona Lisa on a rectangle, composed of 4 individual
triangles (all part of a single geoset). But i want to be able to move the
image in a known way, such that i can have either the image appear exactly
as you might see it in the Lourve, or such that the image begins in the
geometric center of the 4 triangles (or anywhere inbetween). All the while
being able to stretch it (so that you only see part of the image) or shrink
it (such that you might see many copies of the image).

I currently can do all this, but lack understanding of how to
deterministically "place" the starting point of the image at any arbitrary
point. Any help would be greatly pfAppreciated!

ken


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Apr 06 2000 - 10:55:41 PDT

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