We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Moving an object that functions as a hole in an object

Home Forums Puzzles Moving an object that functions as a hole in an object

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #76987
    chuckylefrek
    Participant

    Hi there
    I am new to Verge 3D and Blender so finding my way at the moment. I wish to create a wall that has a window in it. In my application I wish to allow the user to click on arrows to amend the horizontal position of the window. As a simple test I have created a cube for the wall and another cube for the window in Blender and added a boolean difference modifier to the wall with the window as the target. I have not applied this modifier. If I hide the window from the Renderer then when I render in Blender I see the hole of the window.

    If I export the gltf file to Verge 3D I can see the hole too in the preview.

    However if I set up a puzzle to move the window object, the hole does not move.

    Can anyone help me resolve this issue so the hole moves when I adjust the position of the window object.

    Many thanks

    Paul

    • This topic was modified 3 months, 3 weeks ago by chuckylefrek.
    Attachments:
    You must be logged in to view attached files.
    #77023

    This will not work in Verge3d because all modifiers baked on export. Better to to the same using shapekeys, just make the window in the wall and resize it as you need with shapekeys for example one shapekey for width another for height, another one for moving it horizontally or vertically and change the shapekeys using especial Set Morph puzzle. For more detail look at our Furniture video course on youtube.

    Co-founder and lead graphics specialist at Soft8Soft.

    #77024
    chuckylefrek
    Participant

    Thank you Mikhail for your reply and clarification of why it was not working the way I was attempting to do it. I will try the alternative solution suggested by you.
    Many thanks
    Paul

    #77032
    kdv
    Participant

    in Blender and added a boolean difference modifier

    the modifier itself won’t work in Verge3D but you can use the boolean operations puzzle with the same result.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #77048
    chuckylefrek
    Participant

    Thanks kdv – I got it working with the shape key but will give your suggestion a try too. Either way it is great to know it can be done using a boolean operations puzzle. I am curious if this is a one off operation that creates a new object or if for my example I can move the object that is being subtracted and the “new object” will update. I will do some tests.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.