Announcement

Collapse
No announcement yet.

Vray Ies Lights to Geometry

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

  • Vray Ies Lights to Geometry

    Hi,

    I'm looking for a way to mass transform all VrayIES from a project into their geometry.

    I need it to export scenes to another software.

    I don't find any script/plugin doing this, only script i could find can handle vrayplanelights.

    Is this possible? Even with Maxscript?

    Thanks

  • #2
    The IES format defines a light flux, what geometry are you referring to?
    Last edited by ^Lele^; 27-08-2021, 12:25 AM.
    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #3
      Hi,

      The emission surface in the photometric file. When loaded n Vray, it creates a disc/rectangle/etc... according to infos in the photometric file.

      Comment


      • #4
        That's the shape for the distribution, it doesn't have a scale : notice that when you zoom in and out the size for it stays the same.
        It's because it only contains directions and intensities.
        If you somehow exported that and emitted from it you'd get radically different results.
        Lele
        Trouble Stirrer in RnD @ Chaos
        ----------------------
        emanuele.lecchi@chaos.com

        Disclaimer:
        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

        Comment


        • #5
          Click image for larger version  Name:	screenshot_ies.JPG Views:	0 Size:	9.7 KB ID:	1123326

          For example: this rectangle. The emission surface created from photometric file inputs

          I'm not talking about distribution.

          Sorry if i'm not clear

          Comment


          • #6
            oh.
            Would you mind sending me the specific file (email below)?
            Lele
            Trouble Stirrer in RnD @ Chaos
            ----------------------
            emanuele.lecchi@chaos.com

            Disclaimer:
            The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

            Comment


            • #7
              When i try, i'm told that i'm not allowed to upload a file with the ".ies" extension

              Comment


              • #8
                Originally posted by sif_khenioui View Post
                When i try, i'm told that i'm not allowed to upload a file with the ".ies" extension
                The forum accepts zip files for attachments.
                Or use my email.
                Lele
                Trouble Stirrer in RnD @ Chaos
                ----------------------
                emanuele.lecchi@chaos.com

                Disclaimer:
                The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                Comment


                • #9
                  I just wrote you an email.

                  Thanks

                  Comment


                  • #10
                    ...and end of the Story....?

                    Comment


                    • #11
                      Originally posted by caypiranha View Post
                      ...and end of the Story....?
                      It's being worked on.
                      Regardless, we're not yet thinking of making the changes public, as the *general* usefulness is exceptionally dubious.
                      What exactly would be your interest in having the shapes as meshes?
                      Lele
                      Trouble Stirrer in RnD @ Chaos
                      ----------------------
                      emanuele.lecchi@chaos.com

                      Disclaimer:
                      The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                      Comment


                      • #12
                        So, the changes have been added to update 2.

                        The ies lights now have a new method which returns a size triplet and an enum with the shape type defined in the IES file loaded.
                        f.e.
                        Code:
                        IESShapeSize = [0,0,0] --init only
                        IESShapeType = undefined --init only
                        --query
                        IESShapeType = theLight.get_shape_size &IESShapeSize
                        --return values
                        IESShapeType
                        --returns #vrayIESShape_horEllipticCylinderLength
                        IESShapeSize
                        --returns [-3,1,-1]
                        The dimensions are returned exactly as per the shape standards of the IES commitee, so they may be negative in one or more dimensions (that's how the shape type is defined.).
                        Care should be taken to use the absolute value for these while building the meshes.

                        If an override shape is used, then the standard methods to gather the type and dimensions should be used (f.e. .shape and the .height, .width, .length and .diameter properties).
                        Lele
                        Trouble Stirrer in RnD @ Chaos
                        ----------------------
                        emanuele.lecchi@chaos.com

                        Disclaimer:
                        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                        Comment

                        Working...
                        X