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: Michele Bosi

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,186

    Re: What are 3D textures useful for?

    Thank you guys for your replyes, it was enlighting :)

    Cheers,
    mic
  2. Replies
    12
    Views
    11,533

    Re: how to specify a matrix vertex attribute

    Got it,
    maybe is useful to recap then, taking Ilian example, he wasn't sure about it but it seems that we can "officialize" it:

    attribute mat4 MyMat;

    generates 4 vertex attributes (vec4...
  3. Replies
    12
    Views
    11,533

    Re: how to specify a matrix vertex attribute

    Thank you very much HexCat, this usage is a text-book level one! this moves this feature from my "almost deprecated wish list" to the "must have features list" :)
  4. Replies
    12
    Views
    11,533

    Re: how to specify a matrix vertex attribute

    Thank you HexCat,
    it actually turned out also for me that you have to specify each column of the matrix on a different vertex attribute, which as you showed are allocated consecutively, finally...
  5. Replies
    12
    Views
    11,533

    Re: how to specify a matrix vertex attribute

    Thank you guys I know that I can "emulate" a matrix just sending four vectors, what I am trying to understand is: what is the "official way" of doing it given the fact that according to the...
  6. Replies
    12
    Views
    11,533

    how to specify a matrix vertex attribute

    According to GLSL specifications (http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.20.8.pdf) page 23 "The attribute qualifier can be used only with float, floating-point vectors, and matrices"...
  7. Replies
    6
    Views
    2,186

    What are 3D textures useful for?

    Hello to all,
    googling around (and yahooing to be politically correct...) I realized how difficult it is to find sample applications that demonstrate some practical use of 3D textures, so here I am...
  8. Replies
    19
    Views
    39,724

    Re: gl_FragCoord.z

    Thank you V-man, that's so easy that I cannot expalin how I couldn't think about it before! Will try it immediately...
  9. Replies
    19
    Views
    39,724

    Re: gl_FragCoord.z

    Thank you guys, the source code of gluUnproject seems the definitive reference :)
  10. Replies
    19
    Views
    39,724

    gl_FragCoord.z

    Hello,
    I would like to know in what space is defined the value gl_FragCoord.z. As far as I know gl_FragCoord.x and y are in screen coordinates, but the .z component seems to gives values always...
Results 1 to 10 of 10