Announcement

Collapse
No announcement yet.

IES lights rendering on Linux

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

  • IES lights rendering on Linux

    I have an interesting problem / conundrum, and wonder if anyoine can help.

    My setup is:
    2 x windows 7/64bit / Linux dual boot PCs and 1 x linux (mint 12/64) PC, all decent machines.
    I have the latest update from Chaos for Vray, from a few days ago for linux and windows
    I have the latest windows 7 build from the download section of this
    I built the latest blender / vray exporter on linux yesterday using the auto build script.
    All my files load from a NAS box, mounted with NFS from linux and mapped to Z: on the windows PCs.

    My problem is:
    When I open a .blend on the linux machine which was created on the windows PC, and render the scene, Vray says that it can not load the .IES file I have assigned to the lamps. The paths are absolutely fine, blender can find the file perfectly well and the path is good. There are no spaces in the path or file names.

    On a windows PC, Vray opens the IES file and renders it correctly.

    The question is - how cabn I check to see if this is a problem with blender or with Vray?

    Also, the output file save-path is fine (the relative path works), but on Linux only, Vray makes up a new folder with a strange name "R5NW6Q~B" to be precise which is placed in the .blend's folder. Is this a Vray issue, or could there be an issue with the blender build.

    If you need any more info, please ask, I'll try and help!

    Rob.

  • #2
    Re: IES lights rendering on Linux

    Could you show the path example?
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Re: IES lights rendering on Linux

      Dear bdancer,

      IES FILE
      "//..\..\..\Internal_Stuff\3d_Resources\IES_Lights\RS _IES_Files\13.ies" is the relative path which leads to the IES file on both W7 / Linux (although VRay says it can't open it on Linux.)

      (the absolute path would be "Z:\Internal_Stuff\3d_Resources\IES_Lights\RS_IES_ Files\13.ies")

      on linux, the equivalent folder to Z:\ on windows is "/data" mounted to the same place on the NAS box.

      OUTPUT FOLDER
      My output folder which causes the wierd output folder name to be created on the NAS box is "//render\Anim2-Reva\", or "/data\Ockelford_Visual\KED\KED001_TheGreen\render\A nim2-Reva\" for the absolute one from Linux

      It makes a folder "/data\Ockelford_Visual\KED\KED001_TheGreen\R5NW6Q~B " and uses this instead...

      (I've changed z: to /data as the problem occurs on Linux)

      Many Thanks again.

      Rob.

      Comment


      • #4
        Re: IES lights rendering on Linux

        Please, try the fix.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          Re: IES lights rendering on Linux

          Hi Thanks for the help,

          Rebuilt using the script, came to export meshes, and got this repeating meassage, hundreds of times....

          CD_MTFACE: 0 != CD_MTEXPOLY: 1 || CD_MCOL: 0 != CD_MLOOPCOL: 0
          mesh_ensure_tesselation_customdata: warning! Tesselation uvs or vcol data got out of sync, had to reset!

          Hope this isn't too bad.....

          R

          Comment


          • #6
            Re: IES lights rendering on Linux

            Update:

            I Just thought I'd try and render the image based on the exported meshes, and it couldn't load either the LC or IM, althought IES files now open and render (without any IR or LC, its just that direct lighting shows them, with IES profiles applied.).

            If therre's any more information you need, please ask, I will try and help.

            R

            Also, the script interprets the relative path strangely... "z:\" changes to "/z/" where it should find that it is /data/ (as per above.) If I manually change this to /data/, it seems to work OK.

            Comment


            • #7
              Re: IES lights rendering on Linux

              "z:\" changes to "/z/" where it should find that it is /data/
              On linux this is the correct behavior. Relative path in blender should start with "//".

              and it couldn't load either the LC or IM
              Fix in git.

              CD_MTFACE: 0 != CD_MTEXPOLY: 1 || CD_MCOL: 0 != CD_MLOOPCOL: 0
              mesh_ensure_tesselation_customdata: warning! Tesselation uvs or vcol data got out of sync, had to reset!
              This is because if bmesh. I'll fix this as long as bmesh will be stabilized.
              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
              andrei.izrantcev@chaos.com
              Support Request

              Comment


              • #8
                Re: IES lights rendering on Linux

                Thanks again, you're really sticking with this, and it will really help me!

                The bmesh thing is a little irritating, especially as its not a feature that I will be desperate to use, as I get along fine without it. However, I appreciate that the needs of the bledner community are varied, and that what makes it so good to get tips from. sometime arch-viz people need to get out of their niche and find other ways of doing things, so I guess new tools are always a good thing (if they don't break blender Vray!!!)...

                Anyway I digress..... If LC and IM maps load correctly, would it be OK to use my Windows 7 blender 2.61 build to export the meshes to the scene folder instead of using the global temp directory and load the meshes from the linux box, or would the two versions cause a problem?

                R

                PS Thanks again, really appreciate your help.

                Comment


                • #9
                  Re: IES lights rendering on Linux

                  1. Could you check this and report?
                  2. Why does this needed? =)
                  V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                  andrei.izrantcev@chaos.com
                  Support Request

                  Comment


                  • #10
                    Re: IES lights rendering on Linux

                    Dear Andrey,

                    Fixed!!!! Thankyou so much!

                    This is great. I thought I would have to use the W7 box to export the meshes because the terminal gave me the error about syncing or something, but I realised that even though it gives that wierd error, the meshes still load for rendering properly!

                    Thanks, as far as I can see, its working just fine, although I'm only using it for rendering and not for setting up materials etc, so I can't test other aspects of the build.

                    Rob.

                    Comment


                    • #11
                      Re: IES lights rendering on Linux

                      One other thing, LC and IM loaded correctly, without having to change any paths etc, so thats fantastic.
                      R

                      Comment

                      Working...
                      X