Announcement

Collapse
No announcement yet.

Camera variable in file path is not working

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

  • Camera variable in file path is not working

    Hi, camera variable in file path is not working. The image is saved without camera name. Can you please check? Thanks

    V-Ray for Houdini number:23914 hash:a62975a from 13 Apr 2022 19:15
    V-Ray Core 5.20.20 [18a43118] from 12 Apr 2022
    Attached Files

  • #2
    Works fine for me...
    Click image for larger version

Name:	18_05_2022_12-38-26.png
Views:	191
Size:	195.1 KB
ID:	1148402
    What if you middle click on "File Path" - will it be expanded correctly?
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Middle click return this
      "P:/Project/1233/HOU/render//obj/C002-01_TOP-01.exr"
      which seems strange with the double"//"?

      Comment


      • #4
        > which seems strange with the double"//"?

        Why so? Camera path starts with "/" and you have one "/" in "render/".

        And what path do you have in the exported vrscene?
        In my case I see
        Code:
        img_file=interpolate(
            (1, "cam1.exr")
        );
        img_dir=interpolate(
            (1, "c:/scenes/houdini/features/render_channels/render/obj/")
        );
        which is correct.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          Correct.
          Actually the correct syntax I was looking for is `opname(chs("render_camera"))`
          Thx

          Comment

          Working...
          X