Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 4 of 4 FirstFirst ... 234
Results 31 to 32 of 32

Thread: Vertex cache optimization

  1. #31
    Intern Contributor
    Join Date
    Oct 2010
    Posts
    60

    Re: Vertex cache optimization

    I have done this all.
    I have two meshes (one index buffer and one vertex buffer for each mesh). Before rendering I optimize them. Then in each frame I have a loop with two iterations in which there is glDrawElements call. I don`t have materials, textures and others. My scene is very simple.
    Note: I use JOGL.

  2. #32
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    2,882

    Re: Vertex cache optimization

    Gonna need more details to help you, but given that you said Java and simple (suggesting small batches probably), I would suspect you might be CPU bound submitting batches or state changes.

    If it's simple, convert to C for testing, and see if any perf diff. If not, you've got something simple you can post for folks to review/try.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •