Announcement

Collapse
No announcement yet.

Error when converting Corona to VRay

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

  • #16
    Hi,
    I have V-Ray 6 Update 1.2 [6.10.08], and i don't want to install the nightllies version [it's not the official version], so what can I do!?
    Can you Share the (vrayutils.ms) file, so we don't have to install new version on a bunch of PCs, for replacing this file only!?
    Thanks in Advance.
    Last edited by illahi_brohi; 20-09-2023, 11:39 PM.

    Comment


    • #17
      Originally posted by illahi_brohi View Post
      Hi,
      I have V-Ray 6 Update 1.2 [6.10.08], and i don't want to install the nightllies version [it's not the official version], so what can I do!?
      Can you Share the (vrayutils.ms) file, so we don't have to install new version on a bunch of PCs, for replacing this file only!?
      Thanks in Advance.
      We can't share the vrutils file, it may risk erroring out in other places, from time to time.
      It has to be delivered with the V-Ray build it's intended for.
      You can safely download stable builds (not nightlies!) as they've gone through QA and are as safe as the next official release.
      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


      • #18
        Thanks' Lele for the replay, this error presents since Corona 8, 5/2022!! which equal V-Ray 4.3!

        Comment


        • #19
          I Tried using 6.10.09 converter on 6.10.08 and I got The Following Errors:
          1- vrDistTex.objects = inTexture.nodes Error (if the node is <deleted>).
          need to check if all nodes in the array are valid nodes.
          2- vrm.refraction_fogDepth = units.decodeValue formatted Error (Runtime error: Unable to decode value: "inf", In convertFrom_CoronaPhysicalMtl(), cpm.attenuationDistance = inf.0).
          I don't know at any stage the value become inf.0 (it's a float value), but units.formatValue can't be applied to it! need to be replaces with 0.0.
          This Errors not related to V-Ray Version.
          Last edited by illahi_brohi; 25-09-2023, 04:37 AM.

          Comment


          • #20
            I'll poke the relevant dev about the first error (but you can fix it by removing any deleted node from your Corona distance textures.).
            For the second i will need the material in question and the otherwise empty scene it lives in, as it seems the standard max method to convert scene units (which we need because we always express the value in cm) is throwing up an error with the value encoded in the Corona material, which shouldn't happen.
            To fix the latter error, you can try and pick a much bigger display unit scale (from mm to m, f.e.) and if at all possible (but this will rescale your scene) a more granolous system unit scale (meters, cm, instead of miles or KMs), to close the gap between the two.
            For example, with system unit scale set to 1 mile, and display unit scale set to 1/100th of an inch, the method fails with a value slightly above 33000.0 in the Corona material's SSS Radius, which is still a very big and unlikely entry in a shader.
            Last edited by ^Lele^; 25-09-2023, 04:34 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


            • #21
              Thanks Lele for the replay, it's all in CM-M , but this inf.0 value came from old model (i think the value become like this when converted from CoronaLegacy to CoronaPhysical).

              The Converter should Solve or Ignore these issues, Better to be Solved by the converter because it's easy to handle.
              Last edited by illahi_brohi; 25-09-2023, 04:48 AM.

              Comment


              • #22
                Originally posted by illahi_brohi View Post
                Thanks Lele for the replay, it's all in CM-M , but this inf.0 value came from old model (i think the value become like this when converted from CoronaLegacy to CoronaPhysical).

                The Converter should Solve or Ignore these issues, Better to be Solved by the converter because it's easy to handle.
                I will need the scene that errors out.

                for the distance texture bug, the issue is seemingly a bug on our texture's side, nothing to do with the converter. (VMAX-13603)
                Last edited by ^Lele^; 25-09-2023, 05:46 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


                • #23
                  This file has both error messages,
                  Attached Files
                  Last edited by illahi_brohi; 25-09-2023, 06:49 AM.

                  Comment


                  • #24
                    thank you!
                    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


                    • #25
                      I know of no way a user can input a value of inf into a spinner.
                      What converter did you use that produced this result?

                      regardless, the fix is implemented as a clamp to 1e12 (0.0 for V-Ray wouldn't work like for Corona.) for incoming values. (VMAX-13604)
                      It'll be in the stable builds soon enough.
                      Last edited by ^Lele^; 25-09-2023, 08:03 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


                      • #26
                        I don't remember exactly when that happened (it's an old file), but I think it's the "corona converter" (I'm not sure about that).

                        Comment


                        • #27
                          Originally posted by illahi_brohi View Post
                          I don't remember exactly when that happened (it's an old file), but I think it's the "corona converter" (I'm not sure about that).
                          Would you have the original Corona material? It'd be very helpful for internal investigation.
                          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


                          • #28
                            Originally posted by ^Lele^ View Post
                            Would you have the original Corona material? It'd be very helpful for internal investigation.
                            Click image for larger version  Name:	image.png Views:	0 Size:	28.0 KB ID:	1193597
                            in Corona Legacy Material you can find some "inf" Spinners, like in the image it shows the "Water lvl" min max.

                            Comment


                            • #29
                              Originally posted by illahi_brohi View Post

                              Click image for larger version Name:	image.png Views:	0 Size:	28.0 KB ID:	1193597
                              in Corona Legacy Material you can find some "inf" Spinners, like in the image it shows the "Water lvl" min max.
                              I know what the limits are, but it's impossible to manually input the value.
                              Hence my request for the original material, before being converted, which i renew.
                              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