Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tgfrerer/openFrameworks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: nickvido/openFrameworks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 2 files changed
  • 1 contributor

Commits on Aug 16, 2013

  1. add read-only access to programmable GL matrix stack

    in ye olden OpenGL 2.0, you could call:
    
    ````glGetFloatv(GL_MODELVIEW_MATRIX, matrixPtr);````
    
    To read back the current matrix state from the GPU.
    
    This is not possible with modern OpenGL, since the matrix stack is now client-side.
    
    With this PR, we get this functionality back into the programmable GL renderer pipeline. Query the current matrix state as in:
    
    ````ofMatrix4x4 currentModelViewMatrix = ofGetGLProgrammableRenderer()->getModelViewMatrix();````
    
    Since these are read-only methods, they are marked ````const````
    
    Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
    tgfrerer committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    b23201f View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2013

  1. add feature getCurrentMatrix() w/ syntax as suggested by @arturoc

    const ref access to current GL matrices for programmable GL renderer. Now with:
    
    * cleaner syntax
    * doxygen doc
    
    Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
    tgfrerer committed Nov 19, 2013
    3 Configuration menu
    Copy the full SHA
    eccb1c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e107223 View commit details
    Browse the repository at this point in the history
  3. remove old PR code

    Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>
    tgfrerer committed Nov 19, 2013
    Configuration menu
    Copy the full SHA
    317e5d4 View commit details
    Browse the repository at this point in the history
Loading