| Author |
Message
|
| takuhiro |
Posted: Fri Jul 30, 2010 9:43 am Post subject: About UV offset. |
|
|
Joined: 02 Dec 2009 Posts: 21
|
Hi.
I put the texture on terrain.
When the offset is set, the ranges are from 0 to 1000 ? |
|
| Back to top |
|
 |
| ALicu |
Posted: Sun Aug 01, 2010 2:49 pm Post subject: |
|
|
Joined: 12 Feb 2007 Posts: 974
|
Hi,
The offsets are in world units (the mapping is offset on U or V so the texture is moved with certain world units). The range can be negative or positive and i believe that the range is set to -10000000000 to 10000000000 in the control.
Regards,
Adrian L. |
|
| Back to top |
|
 |
| takuhiro |
Posted: Tue Aug 03, 2010 1:42 am Post subject: |
|
|
Joined: 02 Dec 2009 Posts: 21
|
It is not a value that can be input but it is a looping value.
The texture seems to have looped by the value from 0 to 1000.
Offset 0
**o**
*ooo*
**o**
Offset 500
****o
o**oo
****o
Offset 1000 = Offset 0
**o**
*ooo*
**o** |
|
| Back to top |
|
 |
| ALicu |
Posted: Tue Aug 03, 2010 7:20 am Post subject: |
|
|
Joined: 12 Feb 2007 Posts: 974
|
Hi,
Yes, after I checked the code more I've found that you are right.
Basically, internally the offset is in texture space (between 0..1, values over 1 or under -1 are just repeating the same effect as those between -1 and 1). But letting the user introduce values between 0 and 1 in the UI is cumbersome. So instead the values are multiplied with 1000. So by introducing values between 0 and 1000 you can finely control the offset.
To be noted that in SDK the values are correctly reported between 0 and 1.
All these behavior should be explained in the help. I will check that and if it is not we will update the help.
Regards,
Adrian L. |
|
| Back to top |
|
 |
|
|