Search:

Type: Posts; User: Pakka

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,340

    drawing triangle strips in bulk

    Another beginner question..

    I have a large number of triangle strips to render. However, the strips are (potentially) not connected to each other.

    Is it possible to draw a whole batch of them...
  2. Replies
    5
    Views
    3,002

    Re: Rendering axis-aligned geometry

    Here's an image that illustrates what I want to render:
    http://content.answcdn.com/main/content/img/McGrawHill/Encyclopedia/images/CE177500FG0010.gif

    Can I make WebGL do this, given only one set...
  3. Replies
    5
    Views
    3,002

    Re: Rendering axis-aligned geometry

    Steve, thanks for your help - it works as expected.

    My next step is to render a large number of triangles (triangle strips actually), that are all perpendicular to the x/z plane.

    For example,...
  4. Replies
    3
    Views
    2,626

    Re: drawing polylines in bulk

    I managed to solve this one myself.

    Populate the vertex buffer with all the points from all the polylines.
    Then populate the index buffer with pairs of indices (single lines), each connecting a...
  5. Replies
    3
    Views
    2,626

    drawing polylines in bulk

    I'm using drawArrays(), with mode LINE_STRIP to draw a polyline. So far, so good - everything works.

    I actually have a number of polylines that I want to render in batch.
    However, it's not clear...
  6. Replies
    0
    Views
    1,297

    custom texture format

    I'm rendering a large amount of (triangle) geometry with textures applied.

    My textures are unusual: instead of using the whole RGBA domain, I only need something much more limited: a single-byte...
  7. Replies
    1
    Views
    1,276

    Using integer types to specify geometry

    I have a lot of dense geometry to render.

    Since the geometry is already chunked in a tile-like organization, I don't need the full scale of a 32-bit float for my vertices. In some cases I could...
  8. Replies
    5
    Views
    4,643

    Re: Slow / choppy mouse event handling in Chrome

    Actually, I did try something like this.
    I measured the time required to collect/receive 1000 mouse move events.

    During the test, I tried as best as I could to move the mouse in the same circular...
  9. Replies
    5
    Views
    3,002

    Re: Rendering axis-aligned geometry

    Ah, I expected it to work like this, but was not sure if this was a pattern common enough to yield good performance.

    Thanks for confirming, I'll definitely try this approach. Our vertex could is...
  10. Replies
    5
    Views
    4,643

    Re: Slow / choppy mouse event handling in Chrome

    If I use programmatic animation (rotating the model some small amount every frame), the animation is actually quite smooth in Chrome.

    I can reproduce the (negative) effect using a very minimal...
  11. Replies
    5
    Views
    3,002

    Rendering axis-aligned geometry

    I'm rendering large amounts of sprites that have the same y orientation.
    In other words, the lower z values are all 0, and the higher y values are all 100 (or some other constant value).

    For...
  12. Replies
    5
    Views
    4,643

    Slow / choppy mouse event handling in Chrome

    Strictly speaking, this is not directly related to WebGL, or specific implementations.
    However, I'd expect the issue that I'm seeing to affect a significant amount of applications using WebGL, so...
Results 1 to 12 of 16