Announcement

Collapse
No announcement yet.

Vray triplanar textures and scaling

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

  • Vray triplanar textures and scaling

    Hello everyone,

    I just completed shading a 3d model without UVs, just using straight up triplanar texture node. I am really happy with the way it came out and I decided to add it to a different scene as a prop.

    The problem I have at the moment is that I had to scale it down to fit on a table top and now it looks way different then when it was at normal scale. I am sure that the culprit are all the triplanar nodes I used. Is there a way to keep the same scaling on the textures and prevent them from changing scales when the geometry changes sizes?

    I'm sure I'm missing something. I appreciate the help and feedback on this.

  • #2
    Just bumping this

    Comment


    • #3
      There is a scale attribute on the tri-planar so you can dial the tiling to the object scale. It should take care of it for you.

      Comment


      • #4
        Hey sdelalla,

        Thanks for the reply. I do see the scale attribute but I wanted to know if anyone has figured out how to automate this or not have to manually adjust when scaling objects. I am using about 12 triplanar maps and it's a little cumbersome going into each one and changing the scale.

        I was looking to see if I could connect something, like a locator or float node to the scaling attribute and have it keep the same triplanar "look" even when manually scaling the geometry. I hope I'm making sense .

        Comment


        • #5
          Ive been wanting some way to link tri-planar scale for ages. Ive had the same issue where Ive got a handful of maps on each car interior shader, and Im RT-ing to test the shader and need to tweak the repeat of a leather or fabric quickly. The fastest way is to select them all and do it in the channel box, but you have to make sure you get them all, and do this everytime. The best way, and more work up front, but once its done its done, is to make an expression that makes one tri-planar scale control all the others. Once that expression is made, you can control them all at once easily.
          Website
          https://mangobeard.com/
          Behance
          https://www.behance.net/seandunderdale

          Comment


          • #6
            Hey Sean,

            One to rule them all jajaja, So this is what I did in the meantime. I scaled my model, a hulkbuster suit that was built to scale, down to fit my new scene and have it be a proper desk model. Went from 335 cm (11ft) to 30 cm (1ft). That made all of my triplanar textures change and and when rendered it made the images attached to the triplanar too big and the bumps too strong. I did check all of my triplanar nodes and they where all around the same scale value (.250). So I ended up bringing all those suckers up on the hypershade and I connected a float constant to the scale on all of them. Since I scaled my model 10x I put the float constant value to 2.5 and rendered. Came out pretty close to what I originally had.

            Maybe I am missing something but is there a way to tell or help the triplanar node to keep the same texture scaling so your look doesnt change when changing the scale of your object. I feel like it might be something with the reference node section of the triplanar map. Hopefully someone else can chime in and help us with this .

            Comment

            Working...
            X