Announcement

Collapse
No announcement yet.

scaling vray hair

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

  • scaling vray hair

    because of maya we still export our hair in maya scale and in the lighting scene in houdini we scale it down a 100 times. The issue is that even if visually in the scene the hair lookds like they are the same size the width and the absolute distance on the hairsampler becomes 100 times smaller. With width we can scale it export a 100 times but not the hairsampler. Could we add a global control for this? bonus would be the hair shading in the viewport to be matching.

    I hope the scene clarifys what i want to achieve.

    https://drive.google.com/drive/folde...T6?usp=sharing

    Regards Alexis
    http://goodbyekansasstudios.com/

  • #2
    That's exactly why the parameter is called "absolute distance".
    1. Use non-absolute one.
    2. Use "Float Operations" + "User Float" to un-scale the length.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      but the results with absolute distance is different for the 2 objects that have exactly the same scale in the scene. so we cant make 1 shader for both of them.
      http://goodbyekansasstudios.com/

      Comment


      • #4
        This screenshot I've posted shows a single shader for both objects.
        User float default value is set to 1.0.
        Scaled object has that user property (primitive attribute will also work) value set to match scaling (0.01).
        Last edited by bdancer; 07-04-2020, 12:39 PM.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          i get that, the problem is that some lookdevers likes to use the absolute distance. So people get confused when 2 objects that has the same size in the sxene has 2 totally different results(same with width). If its not possible i understand, just wanted to check if there is a way to control it so abosulte match in this case i sent you.
          http://goodbyekansasstudios.com/

          Comment

          Working...
          X