Announcement

Collapse
No announcement yet.

VRscene vs VRmesh

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

  • VRscene vs VRmesh

    Hi all,
    I made a test with the object "JH-719 Armchair by Johannes Hansen" from 3Dsky.org
    From 3DS MAX 2023, I exported a .vrscene (left side) and a .vrmesh (rigth side) of this model.

    Here's what it looks like in Sketchup :

    Click image for larger version

Name:	FromSketchup.jpg
Views:	284
Size:	103.6 KB
ID:	1189056

    And here's what it looks like in Vantage 2 :

    Click image for larger version

Name:	FromVantage2.png
Views:	201
Size:	442.1 KB
ID:	1189057

    There's a problem in Sketchup but not in Vantage 2.
    Windows 10 - RTX 3090 - AMD Ryzen 9 5950X - 128 Go RAM
    Sketchup PRO 23.0.419 + V-Ray 6.20.02
    3DS Max 2024.2.1 + V-Ray 6.20.06
    Chaos Vantage 2.3.0
    GeForce Studio Ready Driver Version 546.01​

  • #2
    It seems to be a scale problem.
    Scaling in Sketchup ("reducing") the .vrscene file seems to cause problems, whereas scaling the .vrmesh file does not.​

    EDIT : In the MAX file, there was a VRayDisplacementMod modifier. After conversion to Editable Poly, no more problems in Sketchup.

    Is it possible to "Collapse All" the entire 3DS MAX file before exporting .vrscene ?
    Last edited by DCHA34; 22-08-2023, 08:28 AM.
    Windows 10 - RTX 3090 - AMD Ryzen 9 5950X - 128 Go RAM
    Sketchup PRO 23.0.419 + V-Ray 6.20.02
    3DS Max 2024.2.1 + V-Ray 6.20.06
    Chaos Vantage 2.3.0
    GeForce Studio Ready Driver Version 546.01​

    Comment


    • #3
      Hello DCHA34,

      Thank you for the examples.

      First of all I wanted to share that I have tried to reproduce similar setup with VRayDisplacementMod modifier saved as .vrscene from 3ds max > imported into SketchUp and scaled:

      Click image for larger version

Name:	vrscene_skp_scale_test.jpg
Views:	175
Size:	346.7 KB
ID:	1189117

      As you can see from the screenshot with this new test scene the issue is not reproducible. You can download all test files in the attachment.

      Could you share the 3ds max file for us to test? You can simplify the model - just those ropes with texture and modifier will be enough.

      As for other points, I wanted to note that Vantage 2 does not support V-Ray Displacement (2D Mapping and 3D Mapping) - you can find this information in our documentation. This is why the result that you get in Vantage most likely does not include displacement.

      Same is with .vrmesh - displacement of Proxy object is not supported. Thought you can bake it in 3ds max if needed following steps described in this article: How to convert V-Ray Displacement modifier to V-Ray Proxy mesh or regular 3ds Max geometry.

      Lastly, as for your “Collapse all” question perhaps Collapse Utility is what you are looking for.​
      Attached Files
      Natalia Gruzdova | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Hi Natalia,

        Thanks for taking the time to test and thanks for the Collapse utility.

        I've added a few spheres to your file to illustrate the scale problem and I've attached this image to give you a better idea of the scale problem.

        The illustration above is a reduction by a factor of 0.25

        Click image for larger version

Name:	Problem.jpg
Views:	139
Size:	508.9 KB
ID:	1189122
        Windows 10 - RTX 3090 - AMD Ryzen 9 5950X - 128 Go RAM
        Sketchup PRO 23.0.419 + V-Ray 6.20.02
        3DS Max 2024.2.1 + V-Ray 6.20.06
        Chaos Vantage 2.3.0
        GeForce Studio Ready Driver Version 546.01​

        Comment


        • #5
          Hello DCHA34,

          Testing further with added spheres I would like to note that scaling behavior can be seen in 3ds max as well. And this is expected, because scaling the modifier is not the same as scaling the object itself. If the Relative to bbox option is disabled in VRayDisplacementMod - displacement height is expressed in generic world units where white areas in the displacement map correspond to a displacement of 1 generic unit - hence the result.
          But it can be uniformly scaled (both in 3ds max and later as .vrscene in SketchUp) by enabling the Relative to bbox option, so that displacement height is based on the bounding box of the objects. Just note that you will need to adjust the amount most likely.

          Click image for larger version

Name:	Relative_to_bbox_off.jpg
Views:	129
Size:	698.7 KB
ID:	1189231 Click image for larger version

Name:	Relative_to_bbox_on.jpg
Views:	123
Size:	579.1 KB
ID:	1189230 Click image for larger version

Name:	skp_relative.jpg
Views:	139
Size:	405.7 KB
ID:	1189229

          Or alternatively bake Displacement into .vrmesh as shared in the previous post.
          I am attaching test scenes as well.
          Attached Files
          Natalia Gruzdova | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            Hi Natalia,
            thank you for all these explanations.
            I will take a closer look.
            Thanks again.​
            Windows 10 - RTX 3090 - AMD Ryzen 9 5950X - 128 Go RAM
            Sketchup PRO 23.0.419 + V-Ray 6.20.02
            3DS Max 2024.2.1 + V-Ray 6.20.06
            Chaos Vantage 2.3.0
            GeForce Studio Ready Driver Version 546.01​

            Comment

            Working...
            X