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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    247

    Black screen with tessellation shaders

    [SOLVED] Apparently I didn't passed correctly one of the variables from TCS to TES. Strangely it was a quite irrelevant one, but now is fixed.
  2. Passing values through the pipeline question

    Hi all,
    I am sorry to post a question that may be easily tested, but I don't have an OGL4+ hardware at the moment.

    Looking at various tutorial that involve tessellation shaders, each single...
  3. Program crashing on draw call with very basic shaders

    I'm trying to implement shadow maps in my system. When I try to render them with the following:


    shadowprogram.use();
    for(unsigned int i=0; i<NUMBER_OF_SHADOW_MAP_TO_RENDER; i++){...
  4. Normal Mapping and Lighting space confusion

    Hi all, I'm trying to implement normal mapping but I'm confused with which space to use.

    Up to now I'm doing all the light calculation in view space as I'm doing this:

    VERTEX SHADER


    ...
  5. Render on multiple target starting from the same

    EDIT: I've solved, thanks anyway. (Was indeed a stupid error)
  6. Model view matrix stack and multiple programs

    I'm building a framework where each object has an associated program and each object has a 'draw' method.

    What is the best choice, to have a single modelview stack handled by a Renderer class or...
  7. Replies
    1
    Views
    510

    Move a point with rendered axis

    Hi there,

    Suppose I have a point I want to move (translation + rotation). For now I'm just using keyboard. Do you know some tutorial to perform the same operation but with the axis that you can...
  8. Replies
    7
    Views
    1,193

    First of all thank you for the reply. I...

    First of all thank you for the reply.
    I calculate the normals as follow:



    glm::vec3 currFace = m->faces.at(faceIndex);
    glm::vec3 vert1 = m->vertices.at(currFace.x);
    glm::vec3...
  9. Replies
    7
    Views
    1,193

    It's the last time I up the topic because I...

    It's the last time I up the topic because I believe is not a desirable behaviour here on the forum, but I still struggle and I really need to understand what's wrong asap.

    Thank you again.
  10. Replies
    7
    Views
    1,193

    Sorry for upping the topic, but I still can't...

    Sorry for upping the topic, but I still can't find the reason why and it's really puzzling me
  11. Replies
    7
    Views
    1,193

    Oh yeah, thanks! imgur.com/ autDE0q,FVjRLpd#1...

    Oh yeah, thanks!

    imgur.com/ autDE0q,FVjRLpd#1

    . Sorry about that.
  12. Replies
    7
    Views
    1,193

    Sorry for double posting, but it didn't allowed...

    Sorry for double posting, but it didn't allowed me to post screenshots or URL of any sort.
    The behaviour is something like holes in the cube.

    How can I post screenshot in this forum?
  13. Replies
    7
    Views
    1,193

    Strange light behaviour (Fixed pipeline)

    Hi everyone,
    I'm trying to render an object (say cube) with OpenGL 1.1 (I know that doesn't makes sense nowadays, but I've to use this). Everything works fine until I try some lighting.

    First...
Results 1 to 13 of 13