cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Why does GetTextureCoordinate return uv>1

Hi guys

I am trying to use GetTextureCoordinate api to get uvCoords. However, it returns uv>1, which is quite werid when I export the "tree plan/billboard". I find that uv>1 means repeat the texture for uv times but the "tree plan/billborad" should not repeat itself.

Could anyone help me please?
1 Solution

Accepted Solutions
Anonymous
Not applicable
scandi wrote:
Hi guys

I am trying to use GetTextureCoordinate api to get uvCoords. However, it returns uv>1, which is quite werid when I export the "tree plan/billboard". I find that uv>1 means repeat the texture for uv times but the "tree plan/billborad" should not repeat itself.

Could anyone help me please?
Maybe "tree plan/billboard" should be a 2D object itself, whose width is 0. GetTextureCoordinate doesn't give uv directly. You should divide the results by X (x of the texture) and Y (y of the texture) respectively.

Go to post

2 Replies 2
Anonymous
Not applicable
scandi wrote:
Hi guys

I am trying to use GetTextureCoordinate api to get uvCoords. However, it returns uv>1, which is quite werid when I export the "tree plan/billboard". I find that uv>1 means repeat the texture for uv times but the "tree plan/billborad" should not repeat itself.

Could anyone help me please?
Maybe "tree plan/billboard" should be a 2D object itself, whose width is 0. GetTextureCoordinate doesn't give uv directly. You should divide the results by X (x of the texture) and Y (y of the texture) respectively.
Anonymous
Not applicable
That's good to know! Thank you for update!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!