Skip to main content

All Questions

Tagged with
1 vote
1 answer
398 views

Android Object get Jagged at the border

I am new to OpenGL ES 1 in android. My 3D Model border getting Jagged. Please help me to look like a smooth border instead of jagged. Screenshot : https://i.sstatic.net/1Gq83.png ...
user avatar
2 votes
2 answers
640 views

Ray Picking: how can I find which copy of model to pick, if they share the same vertices, but each one is translated before being drawn?

I have a scene, in which I am drawing few different objects - each one has the same vertices and each one is translated to proper place before being drawn. While using libgdx (but I think that this ...
zeroDivisible's user avatar
0 votes
1 answer
2k views

android game using bullet and libgdx

i'm developing a android project for school and i'm currently using libgdx for rendering. It performs quite well, but it lacks a 3d physics library. So i searched and found that Bullet physics engine ...
jernej's user avatar
  • 161
14 votes
3 answers
20k views

OpenGL ES 2.0 Point Sprites Size

I am trying to draw point sprites in OpenGL ES 2.0, but all my points end up with a size of 1 pixel...even when I set gl_PointSize to a high value in my vertex shader. How can I make my point sprites ...
Jonathan's user avatar
  • 783
1 vote
2 answers
535 views

OpenGL ES multiple indices

I need suggestions for the best method of acheiving what I am trying to do: -Using either OpenGL ES 1.x or 2.x I need to pass a bunch of vertices to the GPU. Each one has 3 attributes: Position, ...
Jonathan's user avatar
  • 783
1 vote
1 answer
555 views

OpenGL ES indices optimization

I am using OpenGL ES 1.x/2.x I have 2 attributes to be passed to the GPU(one is colors, one is vertices, one color per vertex). I use indices. Both attributes will use the same indices array This ...
Jonathan's user avatar
  • 783
28 votes
5 answers
75k views

Fastest way to draw quads in OpenGL ES?

I am using OpenGL ES 2.0 I have a bunch a quads to be drawn, would love to be able to have to pass only 4 vertices per quad as if I were using GL_QUADS, but basically I just want to know the best way ...
Jonathan's user avatar
  • 783