Announcement

Collapse
No announcement yet.

VrayStochasticFlakes - scale not mappable

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

  • VrayStochasticFlakes - scale not mappable

    Hi,

    i noticed that in comparison to previous vray versions the flake_scale paramater of the StochasticFlakesMtl is no more mappable/keyable/expression.... I recently switched to a newer version which broke my shader as it looses the connection when the scene is referenced into another.

    You can´t make the connection either via connecting the ports/connection manager/mel scripts. See screenshot attached.

    What is the reason for that ?

    Thanks,
    Andy

    Click image for larger version

Name:	vray_flakescale.jpg
Views:	445
Size:	249.4 KB
ID:	1138909

  • #2
    Hello Andy !!

    So this is correct !! I checked your issue and only you can connect it using drag and drop from Attribute editor...

    I hope this advice helps you until a member of the DEV Team check your problem. (I seem to remember that it is a new algorithm, therefore it brings important modifications and a more realistic result.)

    Click image for larger version  Name:	borrrar.jpg Views:	0 Size:	469.9 KB ID:	1139071
    Last edited by intercard; 06-02-2022, 05:50 AM.
    Carlos Alvarez Velazquez

    Tutorials about VRay for Maya:
    https://youtube.com/CarlosAlvarezVelazquez

    Comment


    • #3
      The parameter is designed to accept float values only, hence why we hid its map input (notice there's no map button as well). Yes, dragging and dropping does work, however, the map will be evaluated to a float value.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        For me either drag/drop of an remapValue node is blocked:

        // Error: line 1: The attribute 'VRayStochasticFlakesMtl1.flakeScale' cannot be connected to 'remapValue1.outValue'.

        Comment


        • #5
          Originally posted by hermit.crab View Post
          The parameter is designed to accept float values only, hence why we hid its map input (notice there's no map button as well). Yes, dragging and dropping does work, however, the map will be evaluated to a float value.
          To me that is not a good explanation for hiding a previosly available value/port. Other float/integer non RGB ports are available. To follow your logic there should even less ports available.

          What i don´t understand is why you change a basic things like that without a reason (at least to me)

          Comment


          • #6
            Hello!
            As described above, the flake scale parameter is supposed to accept only float values, it is not supposed to work with texture connections.
            All changes made in that regard prompt the expected usage.
            I can see that in your case this leads to some issues, so this was logged in our internal bug tracking system under VMAYA-11048 for further consideration.

            Meanwhile as a workaround you can execute
            Code:
            vray setAttrConnectable "<nodeName>" "<attributeName>" 1;
            Example:
            Code:
            vray setAttrConnectable "VRayStochasticFlakesMtl1" "flakeScale" 1;
            Iliyana Vladeva
            Software Development Engineer
            V-Ray for Maya

            Comment

            Working...
            X