0
$\begingroup$

Consider the square shown below on the left, which has been textured with the image shown on the right. What are the texture coordinates of the vertices a, b, c, and d?

Does anyone know how to answer this?

Question

$\endgroup$
1
  • $\begingroup$ This is like that SAT question, how many revolutions does a circle with 1/3 the radius of a larger circle make around the larger circle. $\endgroup$
    – pmw1234
    Commented Jan 3 at 14:44

3 Answers 3

1
$\begingroup$

I cannot leave a comment because I do not have enough reputation points.

You could rotate the UV coordinates by pi/4.0. You'll also have to scale by sqrt(2.0).

enter image description here

$\endgroup$
0
$\begingroup$

I'm guessing that the centre of the star has texture coordinates $[0.5, 0.5]$ then $a,b,c,d$ all have the same texture coordinate $[0.5, 0.5]$.

$\endgroup$
0
$\begingroup$

Also guessing the center of the star is [0.5, 0.5] so

a = [-0.5+x, 0.5+y] 
b = [0.5+x, 1.5+y] 
c = [1.5+x, 0.5+y] 
d = [0.5+x, -0.5+y]

$ \forall x, y \in \mathbb{Z} $

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.