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.

Exporting .gltf from Verge3D without children and at current animation frame

Home Forums Graphics / Blender Exporting .gltf from Verge3D without children and at current animation frame

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #72543
    backpackvacuum
    Customer

    I am trying to add functionality to my app for users to download a .gltf of the object they are looking at. However, when exporting from v3d, I am having issues with both children and animation frames.

    I’ve set up a test project to demonstrate the issues, see attached.

    1. The red cube is the child of the yellow cube, but it is not in the “export” collection. However, it still gets rendered to the .gltf from v3d. I cannot find a way to exclude the red cube from the export.

    2. For some reason, there are two copies of the red and yellow cubes in the exported .gltf. I’m guessing these are their start and end positions of the animation?

    3. The green cube is still in its frame 1 location, instead of being in its frame 100 location.

    Am I using this feature incorrectly? Is this functionality simply not available? Or is this something that can be fixed?

    Attachments:
    You must be logged in to view attached files.
    #72547
    backpackvacuum
    Customer

    Also note, the blue cube is not in the “export” collection, and it is also not a child of anything in the “export” collection, and it behaves as expected and is not exported.

    Also, my zipped project folder did not attach on the first post. I’ll try to attach it here.

    #72548
    kdv
    Participant

    Upload somewhere and thare the link.

    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.

    #72549
    backpackvacuum
    Customer
    #72550
    kdv
    Participant

    but it is not in the “export”

    Actually, it is (even on the Blender’s screenshot it’s obvious). Three cubes are in the group “export”. Only the blue one (child.001) is not in that group.

    Exported correctly, according to you logic and model structure (without the blue cube and duplicates).

    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.

    #72553
    backpackvacuum
    Customer

    Actually, it is. Three cubes are in the group “export”. Only the blue one (child.001) is not in that group.

    You’re correct that Verge3D has placed the red cube into the “export” group, but if you look in the Blender file, you’ll see the the red cube is not in that collection. I guess v3d might not support children being excluded from a collection that their parent is in?

    What was your method for exporting the file in that second screenshot? Was it exported from V3D or from Blender?

    #72554
    kdv
    Participant

    but if you look in the Blender file, you’ll see the the red cube is not in that collection

    Really? Are you sure? Parent, child and grchild are all in the “export” group.

    Also all of them are in the “Collection” group. They are in both groups in fact. But this doesn’t matter much in your case ‘cos even if you export only one object, Parent, it will be exported with its children. And yes, there will be duplicated objects: exported as themselves and as children. That’s how the export to glTF puzzle works for now. :unsure:

    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.

    #72556
    backpackvacuum
    Customer

    Really? Are you sure? Parent, child and grchild are all in the “export” group

    Yes. See how grchild is greyed out in the “export” collection? That means that it’s not in that collection. See screenshot, “export” is not listed in grchild’s collections, but it is listed in child’s collections.

    Attachments:
    You must be logged in to view attached files.
    #72559
    kdv
    Participant

    My fault, for Blender grchiled is not in export. But when exported to Verge3D it is in export. The rest issues read above.

    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.

    #72560
    kdv
    Participant

    Exporting .gltf from Verge3D without children and at current animation frame

    It will work this way (unparenting/parenting the red cube).

    https://v3d.net/v8n

    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.

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