# Search:

Type: Posts; User: Pakka

1. ## Thread: drawing triangle strips in bulk

by Pakka
Replies
0
Views
1,568

### 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. ## Thread: Rendering axis-aligned geometry

by Pakka
Replies
5
Views
3,450

### 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. ## Thread: Rendering axis-aligned geometry

by Pakka
Replies
5
Views
3,450

### 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. ## Thread: drawing polylines in bulk

by Pakka
Replies
3
Views
3,229

### 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. ## Thread: drawing polylines in bulk

by Pakka
Replies
3
Views
3,229

### 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. ## Thread: custom texture format

by Pakka
Replies
0
Views
1,547

### 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. ## Thread: Using integer types to specify geometry

by Pakka
Replies
1
Views
1,527

### 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. ## Thread: Slow / choppy mouse event handling in Chrome

by Pakka
Replies
5
Views
5,759

### 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. ## Thread: Rendering axis-aligned geometry

by Pakka
Replies
5
Views
3,450

### 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. ## Thread: Slow / choppy mouse event handling in Chrome

by Pakka
Replies
5
Views
5,759

### 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. ## Thread: Rendering axis-aligned geometry

by Pakka
Replies
5
Views
3,450

### 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. ## Thread: Slow / choppy mouse event handling in Chrome

by Pakka
Replies
5
Views
5,759

### 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