Skip to content

batching of draw calls of all objects with same mesh - maintaining independent properties of objects #4160

@davidedc

Description

@davidedc

Would it be possible to batch the draw calls like explained here? http://youtu.be/rfQ8rKGTVlg?t=14m44s

He basically batches together in the same draw call many objects with the same mesh, sending to the shader the per-object information.

Note that this is not equivalent to a mesh merge, as all objects maintain their independent position and properties that can be still changed at will between frames.

Advantage being that, say for drawing x boxes, one would issue far less than x draw calls (and related calls for setting uniforms, etc.). In the demo of the link, this buys quite a lot of performance...

Would this make sense? Would it be possible?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions