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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    144

    Instancing rendering nothing

    Hello, I'm learning about instancing but my code is rendering nothing and I don't know what is the problem.

    I'm creating a little library that help me to use opengl easily so it has a class...
  2. Performance issues rendering a lot of different objects.

    Hello,

    I'm working with opengl to recognize Brazilian Sign Language and I need some help about performance because I need to render a lot of meshes.

    In my research I need to render 64 groups...
  3. issues about shaders and transformations

    - If I'm not wrong, shaders are programs that run in GPU, right?
    - Do we send data to this programs using glUniformMatrix*?
    - I don't know if it's right but if I send a MVP matrix to the shader,...
  4. Replies
    1
    Views
    1,162

    I solved this problem modifying my code that...

    I solved this problem modifying my code that calculate the transformation matrix



    glm::mat4 sgl::Object::getTransformationsMatrix(sgl::Camera cam){
    if(this->father == NULL){
    //cout<<"has...
  5. Replies
    1
    Views
    1,162

    Hierarchical Modeling - OpenGL 3.0+

    Hello everyone, I'm trying to create a hand with a basic geometric shapes that will do some transformations hierarchically. So rotation is working well but the translation is te problem. When I...
  6. Yah, it's a stupid error of transformation, the...

    Yah, it's a stupid error of transformation, the rotation that I do must be with a negative angle (I'm an idiot I know). Thanks a lot.

    But the second error that if I put the camera at with Z=0 than...
  7. A lot of doubts about transformation and view.

    Hello everyone, first of all thanks to try help me.
    Second sorry about my English, I'm brazilian.

    I'm trying to model a low-poly hand using basic objects like cyliders and spheres that I will use...
  8. Replies
    1
    Views
    354

    I found the error, is that I using as data of...

    I found the error, is that I using as data of vertexbuffer a copy of the vector that I pass as parameter, so the right code will be it:



    sgl::Object::Object(std::vector<glm::vec3> vertices){...
  9. Replies
    1
    Views
    354

    It's rendering nothing

    I'm trying to create my own lib that can simplify code, so I'm trying to write the tutorials that we can found on web using my lib but I'm have some trouble and I don't know why it's rendereing...
  10. Replies
    2
    Views
    476

    I found the problem, is the data type of the mat...

    I found the problem, is the data type of the mat that I was saving the image. Sorry for the post
  11. Replies
    2
    Views
    476

    this is the image:...

    this is the image: imageshack.us/a/img267/2125/depthmap.png
  12. Replies
    2
    Views
    476

    DepthMap with glreadPixels

    Hello everyone,

    I'm trying to get a depthmap of the scene using glreadpixels, mi command is it:

    glReadPixels(0, 0, img.cols, img.rows, GL_DEPTH_COMPONENT, GL_FLOAT, img.data);

    and save it...
Results 1 to 12 of 12