Announcement

Collapse
No announcement yet.

UV tiling question

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

  • UV tiling question

    Hello guys,
    I need to have a high-frequency tiling bitmap and then one big non-tiling bitmap for the whole model which determines the angle of repetition of this tiling bitmap.
    Do you have any ideas on how to do it?

    More specifically:
    I have a large-scale terrain with fly-through. So I need to combine several levels of detail. There are fields that have "lines" in their structure based on plowing and stuff.
    I would like to prepare one detailed texture which would be tiling. But I need to rotate this tiling texture based on a "flow-map" which determines the angle of the field.

    So I managed this:
    a] load UV into the material editor
    b] rotate them with the flow map (I have separate map where 0=no rotation and 1=360 degrees)
    c] buuut it does not work with tiles. This solution only rotates UVs of the whole texture right?

    So now I am stuck. Any idea how to get this thing done?

    Thanks!




    Attached Files
    Starts
    05-05-2021
    Ends
    05-05-2021

  • #2
    Ehm, two UV sets are the answer. Sometimes you just need to go to sleep )

    Comment


    • #3

      Everything is almost working but the rotation does not behave as expected. I have "flow-map" where 0 represent 0degrees and 1 is 360 degrees. But the rotation does not feel to be right - I tried both converting it to radians or degrees.
      What is sin and cos function using in "Vray float operations"? Thanks

      https://docs.chaosgroup.com/display/...oat+Operations

      Comment


      • #4
        Originally posted by woytha View Post
        Everything is almost working but the rotation does not behave as expected. I have "flow-map" where 0 represent 0degrees and 1 is 360 degrees. But the rotation does not feel to be right - I tried both converting it to radians or degrees.
        What is sin and cos function using in "Vray float operations"? Thanks

        https://docs.chaosgroup.com/display/...oat+Operations
        I'm assuming that "flow-map" is getting plugged in for example to a "rotation" input of an image node, right? This way you use that map to control the rotation of your textures.
        The Rotation is 0-360 and you are feeding 0-1, just use a "set range" node to remap 1 to 360.

        Click image for larger version

Name:	setRange.JPG
Views:	216
Size:	58.7 KB
ID:	1112999

        Best,
        David.
        David Anastácio // Accenture Song - VFX
        https://www.accenture.com/us-en/serv...visual-effects

        Comment


        • #5
          Originally posted by david.anastacio View Post

          I'm assuming that "flow-map" is getting plugged in for example to a "rotation" input of an image node, right? This way you use that map to control the rotation of your textures.
          The Rotation is 0-360 and you are feeding 0-1, just use a "set range" node to remap 1 to 360.

          Click image for larger version

Name:	setRange.JPG
Views:	216
Size:	58.7 KB
ID:	1112999

          Best,
          David.
          Oh no! Is it so easy? I was like rotating it using trigonometric functions and then made somewhere an error and could not find it. You made my world a much friendlier place with this post. Thank you!!!

          Comment


          • #6
            Originally posted by woytha View Post

            Oh no! Is it so easy? I was like rotating it using trigonometric functions and then made somewhere an error and could not find it. You made my world a much friendlier place with this post. Thank you!!!
            Glad to help
            David Anastácio // Accenture Song - VFX
            https://www.accenture.com/us-en/serv...visual-effects

            Comment

            Working...
            X