Announcement

Collapse
No announcement yet.

Create vrayProxy but do not generate the vrmesh file

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

  • Create vrayProxy but do not generate the vrmesh file

    Hi,

    Is it possible to create a V-Ray proxy using the "vrayCreateProxy" MEL command, but completely skip the vrmesh calculation?
    I'd like to use an alembic file instead of the vrmesh file - and so I'd like the nodes to get set up properly, but without the vrmesh file.
    Best Regards,
    Fredrik

  • #2
    So you want to import the alembic file as a proxy?
    V-Ray developer

    Comment


    • #3
      Yes, exactly. And since I have a script which is setting this up for me, I use the vrayCreateProxy MEL command. But it doesn't seem to be any way to avoid generating a vrmesh file on disk. I don't need that file but I want the VRayProxy node to be created and hooked up with vrmtl etc just like it works right now.

      Basically, it can take some time to generate the vrmesh, and since we won't use it anyway it would have been nice to be able to skip that to save a little bit of time.
      Best Regards,
      Fredrik

      Comment


      • #4
        This really is a "nice to have" rather than a "must have".
        Best Regards,
        Fredrik

        Comment


        • #5
          Have you looked at the code of vrayCreateProxyExisting MEL procedure?
          It is doing exactly what you want.

          Or more specifically you need to pass the -existing flag to the vrayCreateProxy command.
          V-Ray developer

          Comment


          • #6
            No, I was unaware of this vrayCreateProxyExisting procedure. Where can I read about it and its parameters?
            I searched the v-ray 3.0 docs but did not find anything on it...

            In the meantime, I'll just try passing the -existing option to my existing code.
            Best Regards,
            Fredrik

            Comment


            • #7
              Just search in the MEL script file we're shipping with the plugin.
              Also you can execute "whatIs vrayCreateProxyExisting" in the script editor and it will tell you where something is defined.
              V-Ray developer

              Comment


              • #8
                Nice, thanks!
                Best Regards,
                Fredrik

                Comment

                Working...
                X