[edit] oops
Use copymesh and manually amend the uv's of the new wall. For example ...
Say you want the wall to be 3 x the xscale and therefore the texture to be repeated 3 times
MESHuv( WALLmesh , 3, 1 )
Should work providing you don't use the clamp U & V flags when loading the texture.
Stevie
Stevie
Use copymesh and manually amend the uv's of the new wall. For example ...
Say you want the wall to be 3 x the xscale and therefore the texture to be repeated 3 times
MESHuv( WALLmesh , 3, 1 )
Should work providing you don't use the clamp U & V flags when loading the texture.
Stevie
Function MESHuv( mesh , scaleu#, scalev# ) s = getsurface( mesh , 1 ) for v = 0 to countvertices(s)-1 vertextexcoords s, v, vertexu( s, v ) * ScaleU , vertexv( s, v ) * ScaleV next end function
Stevie