Announcement

Collapse
No announcement yet.

distributed rendering - wrong paths (Linux - Linux)

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

  • distributed rendering - wrong paths (Linux - Linux)

    I tested Distributed Rendering today. I am not using the latest scripts and this may be fixed already, but anyway:

    DR didn't worked for me, because the path to the geometry file(s) was wrong when using Linux - Linux connection. I know some PHP, but almost nothing of Python, so my fix may not be a fix actually, but it works now. Here is a diff between the orig and the changed prender.py:

    1541c1541,1545
    < ofile.write("#include \"%s_%.2i.vrscene\"\n" % (os.path.basename(get_filenames(sce,'geometry'))[:-11], t))
    ---
    > if VRayDR.on:
    > if VRayDR.type == 'UU':
    > ofile.write("#include \"%s_%.2i.vrscene\"\n" % ((get_filenames(sce,'geometry'))[:-11], t))
    > else:
    > ofile.write("#include \"%s_%.2i.vrscene\"\n" % (os.path.basename(get_filenames(sce,'geometry'))[:-11], t))

    Unfortunately there are some python issues with the latest Blender and I couldn't compile it, although I installed python 3.2. That is one of the reasons I am still using the old exporter.

    Greetings!

  • #2
    Re: distributed rendering - wrong paths (Linux - Linux)

    For building I use python 2.7. Blender has it's own embedded 3.x for running blender scripts. For help building vray blender open a new thread in the custom build forum.

    Cory
    Cory Petkovsek
    Corporate Video

    Comment

    Working...
    X