Announcement

Collapse
No announcement yet.

User Data ?

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

  • User Data ?

    Hi,
    Renderman and MentalRay 3.9 give the possibility to control some shaders (or position or other) with extra attributs on some nodes :
    http://docs.autodesk.com/MENTALRAY/2...ata.html#intro
    http://forums.cgsociety.org/showpost...1&postcount=36

    It is useful to manage "big scene".

    What's about Vray ?
    In "to do" list ?
    www.deex.info

  • #2
    Yes, you can attach custom data to shapes and nodes in the most recent nightly builds; however you can also use a regular switch node to do the same thing.

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

    Comment


    • #3
      Yes i can use a switch node (like renderman or mentalray), but the idea is to have an "asset" with the information in the asset (like : this asset will be more desaturate), in an extra attribut.
      It is a "workflow" for big scene.

      When you say : "you can attach custom data to shapes and nodes in the most recent nightly builds", you talk about "User Attributes" ?
      If yes, can you give me an example like : i have 2 spheres, 1 material. 1 sphere will be green and the other red, with user attributes please ?

      Hard to found how to use user attributes, the doc say :
      User Attributes
      Allows the user to create their own attributes
      Thank you Vlado !
      www.deex.info

      Comment


      • #4
        I tried to write :
        color_tex=AColor(0.0, 1.0, 0.0, 1)
        or :
        BRDFDiffuse VRayMtl1@diffuse {
        color=Color(0, 0, 0);
        color_tex=AColor(1.0, 0.0, 0.0, 1);
        }
        in the User Attributes but it isn't work.
        I don't knows the syntax.
        Last edited by bigbossfr; 24-05-2011, 09:39 AM.
        www.deex.info

        Comment


        • #5
          Hi,
          Anyone have the answer please ?
          I try different syntax, i don't found.
          www.deex.info

          Comment


          • #6
            Hm, sorry it looks like this is not yet in the builds - you can add the user attributes, but there is no way to utilize them just yet - we will add the missing parts tomorrow. But in general, it would work this way.

            First, you add the user attributes to the shape that you want, and put something like
            Code:
            mycolor=0.5, 0.6, 0.7
            After that, you create a VRayUserColor texture node (which is the missing part for the moment), and specify mycolor as the name of the user attribute. Then you can use this texture anywhere you would normally do it in a shading tree - for example you can attach it to the diffuse color of a material.

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

            Comment


            • #7
              Vlado, is that a nightly build update or stable build update?

              Comment


              • #8
                All changes first go into the nightly builds; if they seem to cause no issues and are confirmed to work properly, then we merge them into the stable builds. The changelog contains a list of issues for the nightly and stable builds respectively; nightly builds contain all changes from the stable builds, but the reverse is not true.

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

                Comment


                • #9
                  Originally posted by vlado View Post
                  All changes first go into the nightly builds; if they seem to cause no issues and are confirmed to work properly, then we merge them into the stable builds. The changelog contains a list of issues for the nightly and stable builds respectively; nightly builds contain all changes from the stable builds, but the reverse is not true.

                  Best regards,
                  Vlado
                  Hello Vlado,

                  Where can we gain proper access to the Nightlies ?

                  Best regards

                  Comment


                  • #10
                    You can email either vraymaya@chaosgroup.com or vlado@chaosgroup.com

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

                    Comment


                    • #11
                      Originally posted by vlado View Post
                      You can email either vraymaya@chaosgroup.com or vlado@chaosgroup.com

                      Best regards,
                      Vlado
                      Thanks ! I just did

                      Comment


                      • #12
                        Originally posted by vlado View Post
                        Hm, sorry it looks like this is not yet in the builds - you can add the user attributes, but there is no way to utilize them just yet - we will add the missing parts tomorrow. But in general, it would work this way.

                        First, you add the user attributes to the shape that you want, and put something like
                        Code:
                        mycolor=0.5, 0.6, 0.7
                        After that, you create a VRayUserColor texture node (which is the missing part for the moment), and specify mycolor as the name of the user attribute. Then you can use this texture anywhere you would normally do it in a shading tree - for example you can attach it to the diffuse color of a material.

                        Best regards,
                        Vlado
                        Hi,
                        It doesn't work for me.
                        When i connect a VRayUserColor in the diffuse slot on a VrayMtl, i have : [2011/Jun/6|18:00:55] V-Ray warning: Unsupported texture VRayUserColor

                        V-Ray for Maya version 2.10.01 from May 29 2011, Maya 2011, Linux64

                        ?
                        Last edited by bigbossfr; 06-06-2011, 09:21 AM.
                        www.deex.info

                        Comment


                        • #13
                          Can you post your scene here? Works for me...

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

                          Comment


                          • #14
                            Hi,
                            It works well for me.
                            But users attributes attached to mesh seem to be lost when they are exported to proxy

                            Comment


                            • #15
                              Originally posted by ludod View Post
                              Hi,
                              It works well for me.
                              But users attributes attached to mesh seem to be lost when they are exported to proxy
                              Yes, this will happen for all custom attributes as the original shape is deleted and the proxy is attached in its place. Will make a note to fix this. As a work-around, you could try assigning the attributes to the transform node of the object rather than the shape.

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

                              Comment

                              Working...
                              X