Announcement

Collapse
No announcement yet.

visibility_list_ids attribute of a proxy in python is empty

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

  • visibility_list_ids attribute of a proxy in python is empty

    Hi,
    I have created a .vrscene with a proxy which have object ID.
    I have this :

    Code:
    GeomMeshFile pSphere1_proxyShape@mesh1 {
      file="pSphere1.vrmesh";
      anim_speed=1;
      anim_type=0;
      anim_offset=0;
      anim_override=0;
      anim_start=0;
      anim_length=0;
      primary_visibility=1;
      compute_normals=1;
      smooth_angle=30;
      compute_bbox=0;
      num_preview_faces=10000;
      use_face_sets=1;
      visibility_lists_type=0;
      visibility_list_names=ListString(
        );
      visibility_list_ids=List(
      );
    }
    When i render, all is fine. I have my mask with objects ID.
    But in the .vrscene, why the visibility_list_ids is empty ?

    How can i get the list of IDs ?

    V-Ray for Maya version 2.25.01, revision 22063 from Jul 10 2012, 00:26:46, Maya 2012 win64

    Thanks
    www.deex.info

  • #2
    I'm not sure what you are looking for here. The visibility_list_ids parameter is used to exclude parts of the proxy from rendering, based on their object ID.

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

    Comment


    • #3
      Hi Vlado,
      I want to get the list of object id of the proxy.
      It looks like it is stored directly in the proxy, not in the vrscene.
      www.deex.info

      Comment


      • #4
        Originally posted by bigbossfr View Post
        It looks like it is stored directly in the proxy, not in the vrscene.
        Of course it is stored in the .vrmesh file. For the moment there is no way to list the IDs, but we will add it to the ply2vrmesh tool when used with the -info option.

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

        Comment


        • #5
          Thank for the answer, but i do not understand something.
          Imagine, i create a proxy with 2 shapes, with 2 objects ID, for example : 1 and 2.
          I import my proxy, and i change the object ID number to 3 and 4 for example.

          This information is not stored in the vrscene ?
          How do Vray can know i have changed the object ID number in my proxy ?

          Thanks

          Edit : ok, change the object list ID doesn't work. I think it is better to lock these attributes.
          Last edited by bigbossfr; 29-07-2012, 07:53 AM.
          www.deex.info

          Comment

          Working...
          X