Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Hank Finley

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Hi GClements, I wanted to pick up the...

    Hi GClements,
    I wanted to pick up the conversation on rendering font glyph textures, I have an idea of a solution but the process I may need some help with.

    I am using (what I think they call)...
  2. Replies
    4
    Views
    990

    Hi Tonyo, My text is going to be rendered...

    Hi Tonyo,

    My text is going to be rendered character by character not as a string of characters. So this changes things a bit, how would you solve this?

    My map is flat, z = 0.
  3. Replies
    4
    Views
    990

    Please bear with me I'm new to this. Can you...

    Please bear with me I'm new to this. Can you explain any further?
  4. Nevermind GLES20.glBlendFunc(GLES20.GL_ONE,...

    Nevermind GLES20.glBlendFunc(GLES20.GL_ONE, GLES20.GL_ONE_MINUS_SRC_ALPHA); seems to sort the issue
  5. Semi-transparent pixels on texture turning grey OpenGL-ES 2.0

    I am trying to get a white outline/background texture to display behind my font textures to make them clearer on my map I have created.
    To do this I have created a bitmap with the same fonts, except...
  6. I have modified things to be a little simpler, or...

    I have modified things to be a little simpler, or so I thought.
    I have tried creating a bitmap with the same fonts, except bold and white. This is going to provide me with a white...
  7. I have found this fragment shader at example...

    I have found this fragment shader at example:


    precision mediump float;
    uniform sampler2D u_Texture;
    varying vec2 v_TexCoordinate;

    void main()
    {
    vec3 irgb = texture2D(u_Texture,...
  8. Yes I am only using the alpha. Edge detection...

    Yes I am only using the alpha. Edge detection sounds promising I will check it out.
    PSS: Next time round I will do that.
  9. Thanks Carsten, I think if I can implement it in...

    Thanks Carsten, I think if I can implement it in the shader I will, however implementing what Valve has done into it has got me a little baffled.

    Below is my vertex and fragment shader.

    public...
  10. Replies
    4
    Views
    990

    How to render road name text

    I am using a texture atlas and character sprites to render road names on a map.

    This text will not be updated whilst the program is running.

    All text will be loaded into one vbo, which will...
  11. Creating a white outline around text texture Open-ES 2.0

    Hi, I have just learned how to render text on to the screen. This text is rendered on top of a map. For clarity, what I would like to do is make a white outline or glow (just a couple of pixels wide)...
  12. Ok looks like a I'll be reading a while about all...

    Ok looks like a I'll be reading a while about all this.
    What about the process for loading road names? I was thinking of gradually loading and displaying them.
    They would need to be centered along...
  13. Thankyou! It is looking great. I have made it so...

    Thankyou! It is looking great.
    I have made it so it resembles google maps scale bar, so it scales in multiples of 1, 2, 5.

    I know there are many questions out there about rendering text, and I am...
  14. Started playing around with what I understood...

    Started playing around with what I understood from your advice and created it without issue. I created a new view and projection in the existing matrices, these values were the size of the screen...
  15. These almost sound contradictory: "If you're...

    These almost sound contradictory: "If you're using shaders, you don't necessarily need separate model-view and projection matrices" and "But the general point is that you wouldn't use the same...
  16. Hi GClements, from your comments how you say...

    Hi GClements,
    from your comments how you say that I don't apply movement transformations makes sense.

    The piece I am confused mostly is how to start the vertex coordinate data. My screen is 480...
  17. Drawing objects as per screen coords in OpenGL-ES 2.0

    Hi,

    I have a 2D map that I have created in OpenGL-ES 2.0. I'd like to add a scalebar.

    As this will not be moved when the user pans the map, I need it to be drawn in screen coordinates somehow,...
  18. Mix of mapping and OpenGL-ES 2.0 - Creating a scale bar- Java

    Hi,
    Firstly, apologies about the nature of this question, it is a mixture of mapping and OpenGL, at this point the two are part of the same solution and there are users here that have experience...
  19. Hi, finally got around to modifying the way these...

    Hi, finally got around to modifying the way these coordinates were set. It has worked perfectly, thanks for all the help and advice!
    Kind regards Hank.
  20. The data is in a projection of 4326 lat-long. ...

    The data is in a projection of 4326 lat-long.
    The data is stored as doubles, as soon as I extract it, it is set to floating point.
    After this I assess the min and max bounds of all the data, from...
  21. Ok hopefully you might know what's going on here,...

    Ok hopefully you might know what's going on here, I have this map that I'm trying to design on android using opengl-es 2.0. For the most part everything is looking pretty good. I have plotted out...
  22. GClements thank you for all your help! My...

    GClements thank you for all your help! My textured points look fantastic, this issue is now resolved.
    Curious have you much experience with GIS?

    Used this to flip the texture coords:

    ...
  23. After looking at the images that were working I...

    After looking at the images that were working I found that creating a texture 256x256 must have been a factor, my old texture was 54x54. After increasing the size it worked.

    So last thing I'm...
  24. Hi I added in glBlendFunc() and...

    Hi I added in glBlendFunc() and glEnable(GL_BLEND), visually this did not have an affect. I have tried this in a couple of different spots without luck.

    [Edit] Actually it was the image itself, I...
  25. I'm not really sure how it works but is there a...

    I'm not really sure how it works but is there a way to apply the one set of texture coordinates to each position set? Seems a bit of waste to duplicate the same texture data over and over. I could...
Results 1 to 25 of 41
Page 1 of 2 1 2