[gameprogrammer] Re: Texture Coordinates

  • From: Esam Bustaty <e.bustaty@xxxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Wed, 22 Jul 2009 22:58:22 +0000 (GMT)

Can you give us more idea about what does the application do??
If you use 3DSMax there is many ways to assign texture coordinates (auto or 
manual), I think I can help making most of them, but I just need to understand 
what you need to help you with...




________________________________
From: Richard Sabbarton <richard.sabbarton@xxxxxxxxx>
To: gameprogrammer@xxxxxxxxxxxxx
Sent: Thursday, 23 July, 2009 12:42:21 AM
Subject: [gameprogrammer] Texture Coordinates

Hi Guys,

I am looking for some advice on how best to determine texture
coordinates for vertices.  I have been developing a 3D model utility
that can be used to create models for use in games and I am looking
for the best way of setting up texture coordinates.  The model format
is a simple array of vertices that are arranged into stacks of
TRIANGLE_STRIPS.  Each vertex has an assigned set of Texture
Coordinates.  I can create a new mesh, say a 4 vertex quad with
texture coordinates assigned correctly.  I can then subdivide the mesh
into 9 vertices and again into 25 vertices.  I don't have a problem
preserving the texture coordinates during subdivision but when I start
maniplulating the vertex coordinates it will stretch and skew the
texture.  I have no issues with why this is occuring, I am just
looking for advice on how best to manage texture coordinates.

At the moment, the application allows you to select vertices and
adjust the texture coordinates manually but I am sure there must be a
better way of doing it that that...

Any thoughts?

Richard


P.S. If anyone is interesting in assisting with some testing of this
app then let me know.  I am thinking of making it freely available
when completed if there is some interest.

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


      

Other related posts: