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

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    214

    hi there, i have given a very detailed...

    hi there,

    i have given a very detailed intoduction on how to set up freeglut in my last workshop, maybe it gives you a idea:
    https://www.youtube.com/watch?v=_OAYRV5fjuE

    regards
    uwi2k2
  2. Replies
    1
    Views
    239

    hi, i cant see the bug in your code, but...

    hi,

    i cant see the bug in your code,
    but maybe you wanne start more `simple` ... some basic opengl ...
    So mybe try this one .. its slow and step by step:...
  3. Replies
    1
    Views
    180

    Hi, basicly its like loading anything else...

    Hi,

    basicly its like loading anything else from a file...
    Do you have the propper understanding of Textures and UV Coordinates ?
    Maybe just start here:...
  4. hi there, for the beginners among you, i will...

    hi there,

    for the beginners among you, i will offer a "free opengl online workshop for beginners" in late November 2015 and / or December 2015......
  5. Replies
    2
    Views
    309

    Hi, for basic understanding you may start...

    Hi,

    for basic understanding you may start here:
    http://www.opengl2go.net/2015/10/17/published-006-introduction-to-shaders/

    And if you wanne find input for the OLD way of shaders ( 2.1 ) look...
  6. hi there, maybe i can help you with my podcast...

    hi there,

    maybe i can help you with my podcast episode that i recorded about how set up freeglut and glew the right way ...
    003 – Your First Window With OpenGL Context. With FreeGLUT & GLEW....
  7. Podcast on OpenGL & Vulkan for beginners and advanced Users

    Hi all,

    i am following this forum for a long time, and as some of the questions come up over and over again i just decided to start a Podcast on OpenGL.

    You can find it on iTunes:...
  8. Replies
    3
    Views
    769

    How realistic and precise is OpenGL ??

    Hi there ,

    today i was just wondering how accurate opengl rendering is ?
    does anyone know a project were people have compared a rendered 3d szene to a photo taken from reality ..
    to masure if...
  9. Replies
    3
    Views
    582

    hi, i just took a quik look, but i am very...

    hi,

    i just took a quik look, but i am very sure you forget to rotate the normals.
    as the normals are relevant for the dotproduct of light, you need to have a matrix that only includes rotation ....
  10. Replies
    2
    Views
    696

    hi, for the plane the basic problem may be the...

    hi,

    for the plane the basic problem may be the result of the dot() product.
    if your light is shining straight from left to rigrt at its position, than the left half of the plane would be < 1....
  11. hi there, taking a look at you FS i see that...

    hi there,

    taking a look at you FS i see that it will cause problems on some GPU“s.
    There are uniforms that dont have a effect on the final result of the shader ..
    so those are 'optimized away' ...
  12. Replies
    7
    Views
    1,151

    hi, after every frame you can copy the render...

    hi,

    after every frame you can copy the render result into a buffer and store it ti your HD.
    This is a slow prozess but as long as you keep the szene 256x256 px it should be fine ..
    sztart...
  13. hi, well there is not really the ONE format...

    hi,

    well there is not really the ONE format you should use ...
    Of course there are a lot of libs, but its always a good idea to think about :"what mesh data do i need ? "
    As there are so many...
  14. Replies
    4
    Views
    1,198

    hi, without looking deeper it may be that the...

    hi,

    without looking deeper it may be that the normals of your 3d model are wrong.
    open it in a 3d program and check it.

    regards
    uwi2k2
  15. Replies
    4
    Views
    978

    hi, you are using the so called: fixed...

    hi,

    you are using the so called: fixed function pipeline , from opengl .. lets say the OLD WAY :-)

    So you dont need shaders and dont need to manage matrix on your own ...

    thats the best /...
  16. Replies
    3
    Views
    745

    hi, yes of course you can. e.g. You draw the...

    hi,

    yes of course you can.
    e.g. You draw the cube to a texture in you own FBO ( Frame Buffer Object ).
    Or you draw dont redraw the szene till a chenge happend.
    So in you render loop like:
    if(...
  17. hi, to check for glErrors is always a good...

    hi,

    to check for glErrors is always a good pratice to find the lines that cause your trouble !
    but you may try to change the clear color ans see if it has affect ...
    this is at least a hint that...
  18. Replies
    4
    Views
    849

    hi, ok - got it.. than you should try:...

    hi,

    ok - got it..
    than you should try: glCullFace() and hide backfaces ... it this works fine .. than the order of the triangles it really the problem ...
    than you need some complex logic to...
  19. Replies
    2
    Views
    952

    hi, well yes you can do that in opengl ... but...

    hi,

    well yes you can do that in opengl ... but first of all need to know what OS you are on ...
    in android or ios it will be opengl ES 2.0 or 3.0

    cu
    uwi2k2
  20. Replies
    3
    Views
    1,022

    hi, basicly you can do things like this with a...

    hi,

    basicly you can do things like this with a simple vertex shader that is using the 2d image ( grayscale ) as a displacement map for a mesh.
    So, the lighter the pixel on the 2d img is , the...
  21. Replies
    4
    Views
    849

    hi, it looks like both objets are in exacly...

    hi,

    it looks like both objets are in exacly same place ..
    that would lead to so calld "z-fighting".
    Just keep in mind that a transpernt pixel still writes some depth information ...
    Blending...
  22. hi, thats really simple. you create and...

    hi,

    thats really simple.
    you create and compile 2 pairs of shaders. so you have 2 programmobjects.

    than you use the first programm ( shader pair )
    gluseprogramm( progOne )
    than you draw...
  23. Replies
    1
    Views
    555

    hi, the basics are still the same ... - you...

    hi,

    the basics are still the same ...
    - you create a texture
    - you fill it with your texture data
    - you bind it ..
    now 2 new thinks come along:
    - you create a "sampler2d" variable in your...
  24. Replies
    3
    Views
    1,017

    hi, i am pretty sure that you are reading to...

    hi,

    i am pretty sure that you are reading to few channels ...
    baybe you final render img is in RGBA .. but you are only copying data to RGB .. that means all gets messd up by 1 byte .. or you are...
  25. Replies
    1
    Views
    586

    hi, did you solved it allready ... otherwise...

    hi,

    did you solved it allready ... otherwise lezs just take a look together on skype or teamviewer ..
    skype: uwi2k2 .. i guess we can solve this.

    cu
    uwi2k2
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4