Announcement

Collapse
No announcement yet.

Terrain texture rotate tool help?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Terrain texture rotate tool help?

    Hi all !
    ok i was working on a terrain and i have to use the rotate texture tool.So can anyone teach me how to use the tool and how it works ?
    in the tutorials it says you have to recompile the textures after the rotate but i dont know how to compile.also, does it rotate the the part in the brush "circle of strength" or does it rotate the whole texture ?
    also , how much does it rotate it (like in degrees) ?

    thanks in advance and much appriciated.

    U F O

    #2
    To re-compile your textures, look for the button in the terrain editor window that has a red RM on it. That's your recompile button.

    Set the rotator speed to 1.0 in the node options. Then plug a constant into its time slot.
    As long as the node is set to 1.0, then it will rotate in radians based on the time input. So, if you have your time input constant set to 2.0, it'll rotate 2.0 radians.
    It rotates the entire texture. You choose where the center of rotation is in the node options. 0.5 is the center of the texture. If you set it to 0.0 or 1.0, it'll rotate around the edge of the texture.

    Comment


      #3
      I just realized that you meant the brush tool. I misread your post the first time. Sorry.

      The terrain rotate brush appears to rotate the entire terrain, centered on the spot where the brush is placed. My heightmap, layers, and everything else spun. Because it spins centered on the brush, it is very easy to create very large scale changes very quickly.

      In order to see the changes, you must re-compile with the red RM button.

      Comment


        #4
        thanks but :
        i have a terrain with beaches , and a sand texture with ripples on it.and the ripples are on the opposite direction.so i need to rotate a certain part of the texture to get the terrain right.so, how can i do that?

        Comment


          #5
          You need to rotate your sand texture so that the ripples face a different direction?
          That is done by way of my first reply.

          Here's how:
          Open your sand material and add a rotator. set the rotator to a speed of 1.0. Connect the rotator to the uv's of the sand texture and any other textures in the material (Normal maps, specularity maps, etc).
          Connect a constant node to the time slot of the rotator.
          As you change the constant, your texture will rotate in radians equal to the constant value.
          I'll see if I can get a screenshot for you.

          Comment


            #6
            Here's what it should look like in your material:
            [SHOT]http://i596.photobucket.com/albums/tt46/Wyldhunt/UDK/Rotator.jpg[/SHOT]

            Comment


              #7
              my texture ( material ) is being tilde several hundreds of times . it cant be done by rotating the texture + there are alot of beaches that have alot of differing rotations on the same terrain.any way to counter this ?

              Comment


                #8
                If you were trying this on a mesh, I'd say to use this:
                [SHOT]http://i596.photobucket.com/albums/tt46/Wyldhunt/UDK/VertexRotator.jpg[/SHOT]
                It'll rotate the texture per vertex based upon the red vertex color. 1.0 red will be a full rotation.

                Unfortunately, you can't paint vert colors properly on terrain.
                Neither can you instance your material to create multiple instances of the same material at different rotations because of terrain limitations...

                I don't think you can do what you want unless you create several different versions of your material and apply them all on different layers. That would use up all of your texture samples though, and your graphics card would turn your terrain in to a rainbow.

                If you did find a way to rotate your material freely like that, you probably wouldn't like the outcome anyway.
                As soon as you rotate your texture to an angle that is different than the texture beside it, you'll get very obvious seams, because it won't be a tiling texture any more.

                Comment


                  #9
                  but there is and island that is literally surrounded by a layer of sand material ! i cant have an infinte number of layers ! this must have a solution !

                  Comment


                    #10
                    is there any kind of solution to my problem?

                    Comment

                    Working...
                    X