Hi,
thank you for your answers. items 2,3, and 5 - i understand and will not ask anythink more.
item 4 - yes, i would like to changle sub-materilas in MultiMaterial. for example when we have 3d model of sofa and it has multimaterial with “LegsMat, LeatherMat, PillowMat” it would be useful to change LeatherMat for fabric material from CosmosLibrary for example. It helps artists to see different material options in scene.
item 1 is the most important for our team. i am thinking to find someone to make a simple script for money.
we always have many rounds of edits and improvements in the design scene. for example, one person prepares works in NAME_ONE.max and exports NAME_ONE.vrscene to Vantage with NAME_ONE.vantage. other person works in Vantage - creates new cameras, moves decor objects, sets up the lighting and gives the list of edits to the first person. the first person improves 3d scene in 3DsMax and exports it again with a new name NAME_TWO.vrscene f.e. Manually renames NAME_TWO.vrscene with NAME_ONE.vrscene - so that NAME_ONE.vantage file could open new scene with old settings. this method works 50/50 and the heavier the scene, the less often it works.
In fact, “Import Changes from Chaos Vantage” button can easily create cameras in 3DsMax. F.e. i created “DeathStar camera” in Vantage. we can easily find part of the code about this camera in Notepad. i attached image.
a few lines of code:
{
“cam_type”: 0,
“use_fov”: 1,
“hfov_deg”: 45.0,
“transform”: [0.7547095417976379, -0.6560590267181397, 1.4901161193847657e-8, 0.26684319972991946, 0.3069680333137512, 0.9135454893112183, -0.5993397235870361, -0.6894615292549133, 0.4067365825176239, -256.943359375, -392.7569580078125, 291.9895324707031],
“roll_angle”: 0.0,
“clip_enabled”: 0,
“clip_near”: 0.0,
“clip_far”: 9.999999884841548e26,
“name”: “DeathStar camera”,
“ortho_width”: 1000.0,
“film_gate”: 36.0,
“focal_length”: 42.531288146972659,
Example: I created simple objects in 3Dsmax with unique names( Din Djarin_, AHSOKA TANO_, Captain CT-7567 “Rex”_) and exported the scene to vantage. When I change the position, rotation or scale of the two objects(AHSOKA TANO_and Captain CT-7567 “Rex”_) and save it to a file, then in the Notepad you can see only the changed objects and their parameters. I did not change Din Djarin_ object in Vantage and can not see any text in *.vantage about it.
a few lines of code:
“changes”: {
“transforms”: [{
“scene_name”: “Captain CT-7567 “Rex”_”,
“transform”: [1.2339998483657838, 0.0, 0.0, 0.0, 1.2339999675750733, 0.0, 0.0, 0.0, 1.2339999675750733, -41.90874481201172, 56.306640625, 0.0]
}, {
“scene_name”: “AHSOKA TANO_”,
“transform”: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 99.9990005493164, 22.222000122070314, 0.0]
}, {
“object”: 9,
“transform”: [0.7547095417976379, -0.6560590267181397, 1.4901161193847657e-8, 0.26684319972991946, 0.3069680333137512, 0.9135454893112183, -0.5993397235870361, -0.6894615292549133, 0.4067365825176239, -256.943359375, -392.7569580078125, 291.9895324707031]
}, {
“object”: 10,
“transform”: [0.7547095417976379, -0.6560590267181397, 1.4901161193847657e-8, 0.26684319972991946, 0.3069680333137512, 0.9135454893112183, -0.5993397235870361, -0.6894615292549133, 0.4067365825176239, -256.943359375, -392.7569580078125, 291.9895324707031]
}],
“pivots”: [{
“scene_name”: “Captain CT-7567 “Rex”_”,
“pivot”: [0.0, 0.0, 0.0]
}, {
“scene_name”: “AHSOKA TANO_”,
“pivot”: [0.0, 0.0, 0.0]
}],
If i make some changes to 3DsMax scene(adding new objects, delete several others, etc.) and export new *.vrscene with old name - ChaosVantage may open this vrscene properly. this method does not always work and I cannot count on it
I understand that it is difficult to change objects in 3DsMax or other software. But it would be magical to have a script that creates Dummies in 3DsMax with the transform parameters of the modified objects from *.vantage file. In my example - script should create two Dummy objects Dummy-AHSOKA TANO_ and Dummy-Captain CT-7567 “Rex”_ with new transform,rotate and scake parameters. So i could easily Allign my objects in 3DsMax with Dummies with AllignSelectionTool. As a result, the objects will be located the same place as in the vantage. It seems to be similar approach as “Import Changes from Chaos Vantage” button, right?
I hope I explained the idea clearly. Such a script\tool would save me a lot of time in my work. maybe there is another solution to my problem and I will be glad to hear any advice.
I attached example scenes, but I think you do not need them.
Thank you
multimaterials scene_test.zip (4.14 MB)