- 2020-07-09 at 1:40 pm #29891core3dLicensee
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?
Attachments:You must be logged in to view attached files.2020-07-09 at 4:33 pm #29911jemLicensee
@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.
- You must be logged in to reply to this topic.