Announcement

Collapse
No announcement yet.

VRay Clipper - Replace mesh with clipper toggle not working

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

  • VRay Clipper - Replace mesh with clipper toggle not working

    Next Update 1.1, Max 2019.3

    The enable/disable button appears to be broken. Enabled or Disabled has the same affect. The clipper object can be anywhere and the mesh position will always be used as the actual clipper.
    The replace mesh with clipper, should do just that, but it doesnt. The clipper just turns into the shape of the picked mesh, but I still have to use the mesh to cut, instead of the clipper

    Attached a stripped scene

    As you can see there is a cube, with 2 cylinders and 2 clippers
    Cylinder 1 is associated to clipper 1 (Replace mesh with clipper ENABLED)
    Cylinder 2 is associated to clipper 2 (Replace mesh with clipper DISABLED)

    However the result of both are the same

    Attached Files
    Kind Regards,
    Morne

  • #2
    Hello,

    Actually the "Replace mesh with clipper" toggle only affects the action of the "Pick mesh" button:
    - if "Replace mesh with clipper" is ON when you pick a mesh - the mesh will be replaced in the scene with the clipper object
    - if "Replace mesh with clipper" is OFF when you pick a mesh - the mesh will NOT be replaced and the clipper will just reference it

    Once the mesh is picked - the "Replace mesh with clipper" toggle doesn't have any effect.

    Best regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      Originally posted by yavor.rubenov View Post
      Hello,

      Actually the "Replace mesh with clipper" toggle only affects the action of the "Pick mesh" button:
      - if "Replace mesh with clipper" is ON when you pick a mesh - the mesh will be replaced in the scene with the clipper object
      - if "Replace mesh with clipper" is OFF when you pick a mesh - the mesh will NOT be replaced and the clipper will just reference it

      Once the mesh is picked - the "Replace mesh with clipper" toggle doesn't have any effect.

      Best regards,
      Yavor
      So what is the point then? I just did that test with a new clipper and object. No matter what the state of the "replace mesh with clipper" is in BEFORE I pick the mesh, it results in the same!

      The official docs here: https://docs.chaosgroup.com/display/...AX/VRayClipper

      Says: "Replace mesh with clipper – Specifies what to do with the mesh that is picked through the Pick mesh button. When enabled, the mesh is moved as a sub-object under the VRayClipper object and the clipper takes the place of the mesh. If disabled, the clipper just references the picked mesh."
      Last edited by Morne; 29-03-2019, 06:21 AM.
      Kind Regards,
      Morne

      Comment


      • #4
        You can clearly see the affect in the viewport. When you click the mesh, the clipper stays in position, but takes the shape of the mesh. Nothing happens to the mesh and it also stays in position. In either cases, you can move the clipper anywhere you want, but the actual object doing the cutting is the original mesh and whatever it's position is. Something seems wrong here
        Kind Regards,
        Morne

        Comment


        • #5
          Support ticket number: 975-280-786
          Kind Regards,
          Morne

          Comment


          • #6
            Let say you have this simple scene:
            Click image for larger version  Name:	initial_state.png Views:	1 Size:	35.7 KB ID:	1031370
            with two boxes.
            If you create a clipper, use the default state "Replace Mesh with Clipper" ON and then pick Box002 you get this: Click image for larger version  Name:	replace_mesh.png Views:	1 Size:	32.1 KB ID:	1031371


            The clipper now replaces the Box002 and you only have two objects in the scene - Box001 and the clipper. Position of the clipper itself determines where the cutting happens.

            If instead of that you created a clipper and chose "Replace Mesh with Clipper" to be OFF and then pick Box002 you get this:
            Click image for larger version  Name:	dont_replace.png Views:	1 Size:	40.5 KB ID:	1031372
            The clipper stays a separate scene node positioned somewhere else and you still have Box002 in the scene as a separate geometry. In this case cutting happens where the clipper mesh (Box002) is located. In this mode the clipper itself acts more like a helper that you can put somewhere on the side. In this mode you can also modify the cutting geometry (Box002).

            Overall this is the same as the Mesh light option "Replace mesh with light".
            Last edited by yavor.rubenov; 29-03-2019, 06:38 AM.
            Yavor Rubenov
            V-Ray for 3ds Max developer

            Comment


            • #7
              Exactly, this is what I'm saying, in the scene I sent, I ALWAYS have 5 objects in the scene (1 cube, 2 cylinders and 2 clippers), no matter what state the "Replace Mesh with Clipper" was before I selected it. In your screenshots it seems to work. What I'm saying is in my simple scene, (that I attached) it is NOT working like that, IE the cylinder and clipper is always seperate objects and the clipper DOES NOT replace the mesh

              Max 2019.3
              VRay #("4.10.02.00001", "", "070d77e4")
              Kind Regards,
              Morne

              Comment


              • #8
                Using the same Max and V-Ray and your scene everything still seems correct:

                Click image for larger version

Name:	test.gif
Views:	497
Size:	294.3 KB
ID:	1031402

                If things differ on your side - can you record a small video showing the problem ?
                Yavor Rubenov
                V-Ray for 3ds Max developer

                Comment


                • #9
                  Apologies for the late reply Yavor.
                  I still think there is something wrong still with that function. When adding the vrayclipper, it is added as a simple plane cutter.
                  1) You then enable mesh mode, and pick the mesh (with the replace mesh with clipper enabled) - This changes the clipper to the shape of the mesh you picked
                  2) HOWEVER, you have to REPEAT the operation NOW, to again select the mesh, ONLY THEN does the clipper actually replace the mesh. In my steps, I missed this 2nd step as logically it was already suppose to work in step 1.

                  So now with that double function out the way, I have another issue, or perhaps a feature request.
                  1) If I then copy that clipper created in step 1 and 2 above, all works great. It cut holes nicely everywhere
                  2) However, if I instance that clipper, only the latest copy actually functions and cut holes, the rest that was created (instanced) before the last instance, is ignored. It would be great for it to work as expected, even when instancing it.
                  Kind Regards,
                  Morne

                  Comment


                  • #10
                    Ahaa I think I managed to reproduce the first thing:

                    Click image for larger version

Name:	Untitled.png
Views:	534
Size:	26.8 KB
ID:	1031828

                    Are you clicking the "Pick mesh" button while still in the "Create" panel ? In that case I also get same behavior of the clipper not actually moving like it should. There are some Max complications when still in the creation panel which cause this problem. For the mesh light the pick button is disabled but I've missed that part for the VRayClipper.

                    As for the instancing - you are right it is not really supported for now. Will make a note about that.
                    Yavor Rubenov
                    V-Ray for 3ds Max developer

                    Comment


                    • #11
                      Thanks, looking foward to a future update
                      Kind Regards,
                      Morne

                      Comment

                      Working...
                      X