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: Yandersen

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    445

    Thank you, GClements, indeed the algorithm gives...

    Thank you, GClements, indeed the algorithm gives the same result for intersection point. I manually checked conditions - no_intersection_conditions reported correctly ("false" returned). I rewrote...
  2. Replies
    5
    Views
    445

    Wow... That is too much for me, I guess... I...

    Wow... That is too much for me, I guess... I solved the problem geometrically, through relativity of the volumes (which is calculated as a determinant of 3x3 matrix composed of three vectors forming...
  3. Replies
    5
    Views
    445

    Intersect triangle with segment

    Hi!
    Basic task - to find the intersection point between a line segment with corner points S1 and S2 and a triangle with vertices A,B,C.

    To do this I wrote a function that calculates partial...
  4. Clearly, that was one of a hundreds...

    Clearly, that was one of a hundreds typos/mistakes I mentioned for a last few month. The whole docs have to be "bulldozered", function-by-function.
  5. Thank you, Alfonse! P.S.: man4 pages have more...

    Thank you, Alfonse!

    P.S.: man4 pages have more bugs than information. Shame no one maintains the documentation.
  6. glTextureSubImage2D vs GL_TEXTURE_CUBE_MAP

    Hello!
    In OpenGL4.5 we got DSA providing the alternative texture uploading functions that take a texture ID instead of the target as a parameter:

    void glTextureSubImage2D(
    GLuint texture,
    ...
  7. Replies
    10
    Views
    735

    Seems like the target implementation does not...

    Seems like the target implementation does not support non-POT textures? Nowadays?! :O
  8. Replies
    4
    Views
    490

    You are welcome, but it should. :) Would you...

    You are welcome, but it should. :)
    Would you post a line-drawing part of code?
  9. Replies
    10
    Views
    735

    Check wrapping parameters (GL_TEXTURE_WRAP_S,...

    Check wrapping parameters (GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T) - maybe you see pixels from the opposite side of the image while you prefer edge clamping (GL_CLAMP_TO_EDGE)?
  10. Replies
    3
    Views
    395

    Strange problem. Memory fragmentation, buffer...

    Strange problem. Memory fragmentation, buffer overflow?
    If the drawing code the same, check if the window has depth buffer and it is cleared each frame and the SwapBuffers() called. Maybe?.. :)
  11. Replies
    4
    Views
    490

    Where one line ends another should start. Do not...

    Where one line ends another should start. Do not start or end two lines at the same spot, I guess, and the extra pixel will not be needed - just reverse direction of some lines.
  12. Replies
    1
    Views
    272

    There is not enough info provided to figure out...

    There is not enough info provided to figure out the problem. If the elevation of terrain height values is controlled by some uniform scaling factor, that uniform may have changed somehow to a zero....
  13. Replies
    4
    Views
    364

    Oh, I see. Now I understand. :) Thank you very...

    Oh, I see. Now I understand. :)
    Thank you very much, guys!
  14. Replies
    4
    Views
    364

    Well, for regular cubemap textures I create a...

    Well, for regular cubemap textures I create a GL_TEXTURE_CUBE_MAP type texture, then I upload images using glTexImage2D to 6 different targets: GL_TEXTURE_CUBE_MAP_*_*. Now, if I understand...
  15. Replies
    4
    Views
    364

    Gl_texture_cube_map_array

    Hi!
    I have troubles understanding the process of creation and image' uploading of this new fancy texture type - the specs and wiki did not gave me a clear picture on that process. No examples I...
  16. Replies
    9
    Views
    2,906

    Alfonse, no matter how precise we call it, the...

    Alfonse, no matter how precise we call it, the algorithm will still be the same. The technique is already proven to be working. :)
    BTW, if you like it, feel free to make your own publication on the...
  17. Replies
    9
    Views
    2,906

    Hm, thanks, but I will change it a bit, because...

    Hm, thanks, but I will change it a bit, because vertex' Z is not mapped to [-1...1] range, actually...
  18. Replies
    9
    Views
    2,906

    Changed to gl_FragCoord.z. Thank you, Alfonse!

    Changed to gl_FragCoord.z. Thank you, Alfonse!
  19. Replies
    9
    Views
    2,906

    True Camera via OpenGL4.5

    Gentlemen, I want to share the new (at least to my knowledge) technique with you. :)

    As we know, rendering large scenes had always been tricky: if near clipping plane set too close, depth-fighting...
  20. Replies
    2
    Views
    519

    OMG, I am so ashamed... Thank you, Alfonse, I...

    OMG, I am so ashamed...
    Thank you, Alfonse, I happened to forget about those functions completely...:doh:
  21. Replies
    2
    Views
    519

    DSA requires binding?!

    Hello!
    Playing with Direct State Access functions right now. Just discovered smg unexpected creating a framebuffer: it seems like DSA functions generate GL_INVALID_OPERATION when I attempt to apply...
  22. Replies
    11
    Views
    1,881

    The only thing is if the triangle lays on tips of...

    The only thing is if the triangle lays on tips of the input vectors, then equal distances on the triangle plane will not imply equal rotation angles, actually. But I considered this approach and...
  23. Replies
    11
    Views
    1,881

    Oh, sry, GClements, I see, I get it wrong. So you...

    Oh, sry, GClements, I see, I get it wrong. So you suggest solving those 9 equations with solution containing the t parameter, then determine tmin from there and find the result for tmin. So the...
  24. I don't understand this big fuss about the new...

    I don't understand this big fuss about the new name - I used to and I love the old "OpenGL". There are even a 3rd party libraries grow around it mangling the name and API naming conventions like...
  25. Replies
    11
    Views
    1,881

    Right! Just an illustration: if we take an...

    Right! Just an illustration: if we take an orthotriplet and rotate it by any angle around the central axis - it will match another orthotriplet, and all 3 vectors will be rotated by the same angle in...
Results 1 to 25 of 149
Page 1 of 6 1 2 3 4