> At 9:52 AM -0400 10/22/05, Joseph Nastasi wrote:
>>
>> Trimesh.VertexUVs.SetUV(0,0,digitvalue * offset)
>>
>>where digit value is 0 through 9 and offset is the height of each
>>digit section in the texture image.
>>I see some change in color, but nothing recognizable.
>
> You're only setting the UV coordinate for the first vertex (index 0).
> You need to set it for all four vertices to get anything sensible out.
I was wondering about that. So I set all four UV listings to the same U,V
values? I would assume so.
>>2. Given a two triangle trimesh and one material added, am I correct
>>in assuming that there is only one entry in the UVList?
>
> Nope. Your mesh has four vertices, so there are four UV coordinates to
> set.
>
Ok, that makes the relationship clear, except for the verification about
all four UV list entries using the same U,V parameters.
THanks
Joe
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|