Announcement

Collapse
No announcement yet.

[HOU-2475] Does VRayViewportTex SOP works? How do you preview teextures applied to your VRay materials?

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

  • [HOU-2475] Does VRayViewportTex SOP works? How do you preview teextures applied to your VRay materials?

    Hello.
    Sorry for the noob question, but how do you guys preview the textures you use in your vray materials in the viewport?
    Read about VrayViewportTex SOP but couldn't it to work.
    Any suggestions?

    Thanks

  • #2
    What Houdini version and V-Ray you are using ? Seems that in 18.5 it is not really needed anymore.
    Last edited by chakarov; 25-02-2021, 12:39 PM.
    Georgy Chakarov | QA
    www.chaosgroup.com
    georgy.chakarov@chaosgroup.com

    Comment


    • #3
      Hey chakarov.
      We are using H18.5.408 and Vray 5.00.50 on windows.

      Comment


      • #4
        OK, sorry my bad. ViewportTex is needed to show uv transforms applied via ImageFile VOP. So you need just to add it at SOP level and it will find material/s if they are set via Material SOP.
        ViewportTex only work with V-Ray Material Builder or V-Ray Material Builder Complex.
        Be sure the texture you want to see is selected in Material Builder "Viewport Shading" tab.
        ViewportTex help page
        check the example
        Attached Files
        Last edited by chakarov; 25-02-2021, 01:25 PM.
        Georgy Chakarov | QA
        www.chaosgroup.com
        georgy.chakarov@chaosgroup.com

        Comment


        • #5
          Thanks for the example chakarov.
          I got an error.

          Also as part of my original question, hoe people get a more or less decent preview of the VrayMaterial in the Opengl Houdini viewport?

          Comment


          • #6
            Hey Pablo,

            There's an option on the V-Ray Material VOP to specify a texture to show in the viewport. It relies on the regular OGL parameters that Houdini uses. As Georgy mentioned above, one of the drawbacks is that the UV mapping is not handled so the preview is quite limited. We could hook up the OGL parameters that look up the mapping and link them to the Image File VOP that's loading the textures but then there's always the possibility that there's a "uvwgen" input node in the Image File VOP ... and then it gets messy.
            Regardless, I suppose we could at least do the base case and hook up the OGL UV options. I'll log it and message back.

            Best regards!
            gosho.genchev@chaosgroup.com

            Comment


            • #7
              Ja found it! I was looking in the VrayMaterial and it is in the Material Output and then promoted to the Material Builder.
              For preview is good enough, I wonder if it is worth for you guys to have your own glsl shader that reis to mimic the VrayMaterial as mush as posible?
              I know Houdini is quite limited in it's viewport preview, but looking into tyhe future, in USD, the Hydra delegate is way better in terms of previewing opengl.
              Thanks!

              Comment

              Working...
              X