Hey Folks,
I'm currently running into some issues when I'm trying to include multiple vrscene files and trying to render them all together.
So for the sake of debugging, I have prepared 2 models in 3ds max, a rubber boat and a forklift.
I've exported both objects to vrscene files using the "Separate files" option in 3ds max. In addition to that, I've exported a dome light.
If I render both vrscene files individually they look fine like this:
-
If I create an "assembly" vrscene file in which I include the necessary vrscene file paths and the light in order to render both objects with the dome light, I'm getting screwed up materials like this:
I've double and triple checked that ALL of the materials/maps/objects in the 3ds max scene there are is no overlapping in naming that would screw with the assignments.
In addition to that I've tried to export these models using a "prefix" (I'm not quite sure what it's there for). Also I've inspected the vrscene files by hand and could not find an obvious error.
Also, in this example I've included the vrscene files for the forklift first, then the boat, if I reverse the order of includes, the boat would render with screwed materials.
So my Question is:
Am I doing something obviously wrong here? In the vrscene files I saw that materials have some kind of internal handle like "mtl_brdf_0" or "mtl_brdf_1" - those would obviously have duplicates because the vrscene were created during several different exports but would that be a problem? After all, they have proper unique naming like:
MtlSingleBRDF FORKLIFT_forklift_AM200_039_01@mtl_2
How would I go about this kind of stuff?
Ultimately I would like to be able to render models in different combinations/environments by just automating ASCII level assembly.
Thank you!
-Robert
I'm currently running into some issues when I'm trying to include multiple vrscene files and trying to render them all together.
So for the sake of debugging, I have prepared 2 models in 3ds max, a rubber boat and a forklift.
I've exported both objects to vrscene files using the "Separate files" option in 3ds max. In addition to that, I've exported a dome light.
If I render both vrscene files individually they look fine like this:
-
If I create an "assembly" vrscene file in which I include the necessary vrscene file paths and the light in order to render both objects with the dome light, I'm getting screwed up materials like this:
I've double and triple checked that ALL of the materials/maps/objects in the 3ds max scene there are is no overlapping in naming that would screw with the assignments.
In addition to that I've tried to export these models using a "prefix" (I'm not quite sure what it's there for). Also I've inspected the vrscene files by hand and could not find an obvious error.
Also, in this example I've included the vrscene files for the forklift first, then the boat, if I reverse the order of includes, the boat would render with screwed materials.
So my Question is:
Am I doing something obviously wrong here? In the vrscene files I saw that materials have some kind of internal handle like "mtl_brdf_0" or "mtl_brdf_1" - those would obviously have duplicates because the vrscene were created during several different exports but would that be a problem? After all, they have proper unique naming like:
MtlSingleBRDF FORKLIFT_forklift_AM200_039_01@mtl_2
How would I go about this kind of stuff?
Ultimately I would like to be able to render models in different combinations/environments by just automating ASCII level assembly.
Thank you!
-Robert
Comment