Announcement

Collapse
No announcement yet.

.vrscene access in standalone applications

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

  • .vrscene access in standalone applications

    Hi,

    I'd like to know if it is possible to use python scene access functions in standalone applications.

    I use post translate python script to replace textures to tiled textures before exporting .vrscene, which is rendered by vray standalone on render farm. Post translate python script is very useful but it runs on Maya which may need huge memory if scene file is large. To save the memory consumption, I want to run python script after exporting .vrscene and terminating Maya.

    Memory can be saved by relaunching Maya and use addSceneContent in post translate to load previously exported .vrscene, but it is preferable to use python scene access functions directly in standalone applications.

    Is this possible?

  • #2
    Not yet....
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      OK. I understand.
      This isn't an urgent issue but if you have plan to support this, when will it be available?

      Comment


      • #4
        We are definitely going to support this, hopefully for the 3.0 SP.
        V-Ray/PhoenixFD for Maya developer

        Comment


        • #5
          Actually this is already implemented and is working (there is a standalone plugin that can read and execute a Python script); the only obstacle to that is that we need to ship a Python interpreter (which I don't really think is justified), or attempt to use the version of Python that is installed on a user's system - however with the number of (incompatible) Python versions floating around, this could prove challenging.

          Another solution is to just provide the source code for the plugin, so that you can compile and link it against whatever Python version you are currently using.

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            I think it is convenient if scene access functions are accessible from mayapy that comes with Maya.

            Comment


            • #7
              Yep, maybe we should build it agains the Python Maya uses and provide the source for people who need custom Python versions.
              V-Ray/PhoenixFD for Maya developer

              Comment

              Working...
              X