Announcement

Collapse
No announcement yet.

Triplanar atrribute input problem

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

  • Triplanar atrribute input problem

    Hello everybody,

    I have problems connecting a custom attribute to the "Scale" and other input attributes of the VRayTriplanar node.
    I need to devide the value because the number is very small and this is not usable for me.
    But i only get a black result.
    Expressions seems to work, but i get a lot of warnings by doing that.
    Maybe I just need somekind of data conversions or something like that.

    Here is is a small test scene:
    https://www.dropbox.com/s/c4p9uwz4ku...roblem.mb?dl=0

    The actual plane in my original szene is way bigger as in the example scene i attached.

    I hope someone can help.

    Thanks in advance.

    Click image for larger version

Name:	node_editor.JPG
Views:	1
Size:	154.1 KB
ID:	887587

  • #2
    I think that the scale attribute was never meant to be mapped (it also lacks the little checker icon next to the slider because of that).
    I can see that expressions work just fine, you can probably ignore the warnings for the moment - the reason you're seeing them is because the scale attribute was never meant to be mapped (the odd thing is that the warnings should also be there in the case where the multiply/divide is connected).
    I'll make a note to the devs to consider making the attribute mappable in the future.
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment


    • #3
      Ok,
      I already thought it was something like that.
      Thanks for the reply.
      It would also be greate if i could connect a locator or something into the transform of the triplanar.
      Then i could control the triplanar with an object in the scene.

      Cheers.

      Comment


      • #4
        That's already possible with the Triplanar texture. Here's an example scene of how it works and a screenshot of what the connection should be:
        Click image for larger version

Name:	reference_transform.png
Views:	1
Size:	54.2 KB
ID:	867561

        reference_transform.zip
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          Oh, ok.
          Thank you very much.
          That helps a lot.

          And i think you also solved my main problem.
          Now i can devide the scale of the triplanar with a second transform.
          Click image for larger version

Name:	triplanar_scale.JPG
Views:	1
Size:	253.3 KB
ID:	867566

          And no warnings.
          Last edited by deckel; 27-04-2017, 04:30 AM.

          Comment


          • #6
            That's.... interesting. Probably we don't perform a check for this case and that's why you don't have a warning. We won't be adding that additional check, then, hehe
            Alex Yolov
            Product Manager
            V-Ray for Maya, Chaos Player
            www.chaos.com

            Comment

            Working...
            X