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.

geometry instancing

Home Forums General Questions geometry instancing

  • This topic has 1 reply, 2 voices, and was last updated 1 month ago by Avatarjem.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29891
    core3dcore3d
    Licensee

    Hello,
    I’m trying to populate scene with lots of intanced object for optimal performance. When i instance geometries in 3ds max, verge3d won’t see them as instance and assign geometry buffer for each geometry but when i clone objects in verge3d with clone object puzzle, geometry buffer really low and both examples have same draw calls.

    My question is, is there any difference in bufferGeometryInstance and clone puzzle, because in verge3d example there are 1000 objects with 1 draw call.
    If so how can i implement this code to runcode section in my app js file or is there a method to instance geometries with puzzles?

    https://threejs.org/examples/?q=instanc#webgl_instancing_performance

    Attachments:
    You must be logged in to view attached files.
    #29911
    Avatarjem
    Licensee

    @core3d, I have seen the same behavior with instances coming from 3dsMax. From Max, it seems that Verge3D exports each instance as a unique piece of geometry. This behavior makes the .bin file bigger and can bog down the client.

    On the other hand, when I instance geometry in Blender, the instances all share one geometry buffer. I have attached a screenshot of 100 Suzanne instances created in Blender. They all share the same mesh in Blender. You can see that there are only three geometry buffers in Verge3D (the camera and light are the other two objects).

    I don’t have an answer for you. I assumed that I was making a mistake with my model in 3dsMax. I, too, would like to know how to get Verge3D to get object instances in 3dsMax to share geometry buffers.

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.