i want to make a Wood Floor. I use a texture which is big enough to cover a few planks. But it has a gradient on it, so it is not tileable!
To get variety in the planks i use the uvw xform operator and set values for Random Offset. Since my texture is not tileable i have to be careful with this values to not get visible seams on the planks.
I have set the bitmap of the texture to Real-World Scale.
For the mapping of the texture on the plank i found out there are two options.
Option 1: In 3dsMax set a UVW Map on the Object (Plank) and set it to Real-World-Scale.
Option 2: Don't set a UVW Map on the Object but in RailClone set "Apply Box Mapping" and "Real-World Map Size"
To see whats going on i used this texture as an example.
At first I worked with Option 1:
Without any Offsets applied in uvw xform i get this:
Exactly what i dont want. The edges of the texture is in the center of each plank.
After applying some calculations to put the texture edges to the object edges i get this:
Now the edges are in the bottom left edge of the plank.
With calculations for the second Random Offset Parameter i get this.
No Edges. Exactly as i want it. Except for one thing.
I made everything parametric and want to control the size of the plank with numeric parameters.
If i scale the object with the Fixed Size Parameter, my calculations don't work anymore:
However if change the size of the planks not by scaling them with Railclone but by resizing the actual object within Max it works as expected. So the calculations must be correct.
But I find this uncomfortable.
So i tried Option2.
After setting the offset so that the texture edge is at the bottom left object edge i get this, which is different from Option1.
Apparantly when the uvw map is set with 3ds max the map is set for each plank (see picture of option1), but when i apply "real world map size" in railclone the uvws are mapped differently.
I don't know how i can set random offset values here without getting visible seams.
So i hope you understand my problem and can help me with my initial problem.
Here is the scene with the working configuration of Option1, where you have to resize the object in 3ds max.