Announcement

Collapse
No announcement yet.

Problem with exporting Vrscene

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

  • Problem with exporting Vrscene

    I'm trying to export the scene to vrscene format but the file never saves.
    This is the command that Im using:
    Code:
    vrayExportVRScene "c:\\max\\temp.vrscene" startFrame:0 endFrame:32
    And I cant debug it since there is no error, its just the file not being saved.
    This happens when I run 3dsmax from command line like this:
    Code:
    3dsmax.exe -q -silent -mip -mxs "script code goes here"
    But if I run the vrayExportVRScene in normal 3dsmax it exports fine.

    Does anyone have some idea, or how to get a more detailed log on why vrscene is not written to disk.

  • #2
    It could be a syntax error, for example not escaping the quotes around the output path in the command. Something like this should work:
    Code:
    3dsmax.exe -q -silent -mip -mxs "vrayExportVRScene \"c:\\max\\temp.vrscene\" startFrame:0 endFrame:32" c:\max\temp.max
    The V-Ray log should be in %TEMP%\vraylog.txt. If it doesn't contain anything related to the scene export, there's probably a syntax error in the command.
    Can you post the entire command if this doesn't help?
    Radoslav Platikanov | Chaos R&D

    Comment


    • #3
      Originally posted by radoslav.platikanov View Post
      It could be a syntax error, for example not escaping the quotes around the output path in the command. Something like this should work:
      Code:
      3dsmax.exe -q -silent -mip -mxs "vrayExportVRScene \"c:\\max\\temp.vrscene\" startFrame:0 endFrame:32" c:\max\temp.max
      The V-Ray log should be in %TEMP%\vraylog.txt. If it doesn't contain anything related to the scene export, there's probably a syntax error in the command.
      Can you post the entire command if this doesn't help?
      Thanks for reply I solved the issue but I didn't figure out why it happened, It turned out that the error is because of Deadline Slave, I was using deadline to call the command, updating deadline to last version fixed it.
      The vrayExportVRScene was run from another script so I guess the quotes were not the problem

      HTML Code:
      3dsmax.exe -q -silent -mip -mxs "include "some/script/on/network/location""
      This is the log:
      PHP Code:
      [2020/Sep/16|08:42:26] ================================================== ==========
      [
      2020/Sep/16|08:42:26Console createdV-Ray 4.10.02.00001 for x64 from Dec 17 201814:54:50
      [2020/Sep/16|08:42:26] ================================================== ==========
      [
      2020/Sep/16|08:42:26Compiled with Microsoft Visual C++ compilerversion 19.12
      [2020/Sep/16|08:42:26Host is 3ds Maxversion 21
      [2020/Sep/16|08:42:26V-Ray DLL version is 4.10.02
      [2020/Sep/16|08:42:40] [VRenderConstructor entered (loading from file).
      [
      2020/Sep/16|08:42:40Setting default filter kernel.
      [
      2020/Sep/16|08:42:40] [VRenderConstructor done.
      [
      2020/Sep/16|08:42:40Loading from file.
      [
      2020/Sep/16|08:42:40Loading filter parameters.
      [
      2020/Sep/16|08:42:40Loading done.
      [
      2020/Sep/16|08:42:40] [VRenderConstructor entered (loading from file).
      [
      2020/Sep/16|08:42:40Setting default filter kernel.
      [
      2020/Sep/16|08:42:40] [VRenderConstructor done.
      [
      2020/Sep/16|08:42:40Loading from file.
      [
      2020/Sep/16|08:42:40Loading filter parameters.
      [
      2020/Sep/16|08:42:40Loading done.
      [
      2020/Sep/16|08:42:44] [VRenderConstructor entered.
      [
      2020/Sep/16|08:42:44Setting default filter kernel.
      [
      2020/Sep/16|08:42:44] [VRenderConstructor done.
      [
      2020/Sep/16|08:42:44Loading V-Ray plugins...
      [
      2020/Sep/16|08:42:44Export total time46.731 ms
      [2020/Sep/16|08:42:44Nodes0.000 ms
      [2020/Sep/16|08:42:44Meshes0.000 ms
      [2020/Sep/16|08:42:44Materials0.000 ms
      [2020/Sep/16|08:42:44Textures0.000 ms
      [2020/Sep/16|08:42:44Writing file0.000 ms
      [2020/Sep/16|08:42:44VRenderer destructor entered.
      [
      2020/Sep/16|08:42:44VRenderer destructor done

      Comment

      Working...
      X