Announcement

Collapse
No announcement yet.

Vrscene fails to load

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

  • Vrscene fails to load

    Just working on a project today and decided to take it onto Vantage for a quick animation. The file failed to load and referred to the log. Vantage reported the following errors in red:
    12:06:41.171 [ERR] Parser error at B:/Project/Castle_Hill/Castle-Hill5.vrscene:9140: Expected "," in AColor definition
    12:06:41.171 [inf] Loading scene took 0.02 seconds !
    12:06:41.171 [ERR] Error loading scene: -2: Error parsing scene

    ​Back in 3DS Max - this error appeared in the export log:
    [12:24:04.179] Warning : Invalid floating point number(s) found while writing .vrscene: -nan(ind)

    I had the same problem in a previous project. After about 2 hours of isolating geometry in a process of elimination, I tracked the problem down to a piece of imported Revit geometry - namely an elevator door. Pretty much all of my work involves rendering up imported Revit files, so using this kind of geometry in Vantage seems very unreliable at this point. I have only had the import failure since upgrading to Vantage 2.x versions. Would you like an example scene?

    Thanks

  • #2
    Spent some time on my scene to isolate the offending geometry. The 3DS Max 2024 file is attached along with the exported Vrscene file. At the top of the log it generates the following: [15:20:15.383] Warning : Invalid floating point number(s) found while writing .vrscene: -nan(ind)
    In the original scene it came from I was able to successfully export complex geometry for cars. plants, trees etc. without any problem (no floating point number error). The geometry attached is simple by comparison, created in Revit, and imported via the *.rvt file import. I tried doing a vertex weld operation on the geometry and a Reset XForm, but that didn't help.
    Attached Files

    Comment


    • #3
      Hi, bruce_hart,

      The problem here lies in the imported geometry materials and how the vrscene exporter exported them, not in Vantage. There is an invalid VRayColor plugged in the self-illumination of material Default Generic and that fails the parsing of the scene. Remove it and the mullions will import correctly.

      Best regards,
      Alexander
      Alexander Atanasov

      V-Ray for Unreal & Chaos Vantage QA

      Chaos

      Comment


      • #4
        Hi Alexander
        thanks so much for solving the problem. I have a script that converts Revit materials to Vray, and occasionally there are some bad translations. Thanks again!

        Comment

        Working...
        X