# [Q] lesson 10 texture u v values

This topic is 4439 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

hi, I have a question regarding the u v texture values in your world.txt map. How did you deterrine these values? // Floor 1 -3.0 0.0 -3.0 0.0 6.0 -3.0 0.0 3.0 0.0 0.0 3.0 0.0 3.0 6.0 0.0 -3.0 0.0 -3.0 0.0 6.0 3.0 0.0 -3.0 6.0 6.0 3.0 0.0 3.0 6.0 0.0 if x y z = -3.0 0.0 -3.0 how did you get the u and v components (0.0 6.0)? thanks.

##### Share on other sites
hi,

I figured it out. I plotted this on a piece of paper. With xyz and uv values on the same grid. The mapping looks like this for the floor in lesson 10.

// floor space
xmin = -3
xmax = 3
zmin = -3
zmax = 3

// texture space
umin = 0
umax = 6
vmin = 0
vmin = 6

umin, vmax umax, vmax
-z
+-------+-------+
| | |
| | |
-x +-------+-------+ x
| | |
| | |
+-------+-------+
Z
umin, vmin umax, vmin

thanks!

##### Share on other sites
Hopefully, this html won't get the spaces stripped.
Partial re-post.

thanks.

umin, vmax umax, vmax
-z
+-------+-------+
| | |
| | |
-x +-------+-------+ x
| | |
| | |
+-------+-------+
z
umin, vmin umax, vmin

• 37
• 12
• 10
• 10
• 9
• ### Forum Statistics

• Total Topics
631360
• Total Posts
2999556
×