-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added command line argument for examples to pick version of Ogre #277
Added command line argument for examples to pick version of Ogre #277
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind to sign the commit ? https://github.com/ignitionrobotics/ign-rendering/pull/277/checks?check_run_id=2178517512
Sorry about, I believe I just signed the commit. I have also configured my GPG key so I think my future commits should contain my signature now. |
looks good to me. Just waiting for CI to finish |
Signed-off-by: WilliamLewww <WilliamMilesLew@gmail.com>
* Added example for custom shaders with different uniform types Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added buffer shader parameter Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added ogre uniform buffer update Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed uninitialized variables Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added matrix uniform update Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed shader paths Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added command line argument to pick version of Ogre (#277) Signed-off-by: WilliamLewww <WilliamMilesLew@gmail.com> Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed C-style cast and formatting issues Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Changed raw pointer buffer to shared pointer buffer Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Specified uniform buffer to be a word buffer Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed codecheck errors Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added documentation for word buffer Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added tests for word buffer shader parameter Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed updating int uniform buffer Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added tests for int and float uniform buffers Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Updated example to show different types of uniforms Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Apply suggestions from code review Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com> Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Apply style suggestions Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Removed support for engines other than OGRE1 Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Changed "WordBuffer" to "Buffer" Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Removed raw pointer when getting buffer Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Added windows support Signed-off-by: William Lew <WilliamMilesLew@gmail.com> * Fixed code check formatting issues Signed-off-by: William Lew <WilliamMilesLew@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Updated the following examples to use a command line argument to determine which version of Ogre to use (Ogre1 vs. Ogre2):