-
Notifications
You must be signed in to change notification settings - Fork 276
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
Extend ShaderParam system to support textures #1310
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1310 +/- ##
============================================
Coverage 62.06% 62.07%
============================================
Files 278 278
Lines 23378 23378
============================================
+ Hits 14510 14511 +1
+ Misses 8868 8867 -1
Continue to review full report at Codecov.
|
I'm running into a segfault:
The waves model has been successfully downloaded from fuel but I think it is having trouble trying to load the shaders. I can try again on a different machine to see if I get the same result. |
I have not been able to reproduce this yet. From discussion offline, rebuilding the workspace with gcc 9.3.0 could potentially resolve this issue. |
Compiling everything with gcc 9.3.0 worked! |
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1 |
Signed-off-by: Ian Chen [email protected]
🎉 New feature
depends on:
Summary
This PR updates the
ShaderParam
system (introduced in #1275) with the ability to parse texture params and pass them to custom shadersEasier to review without white space diff:
https://github.com/ignitionrobotics/ign-gazebo/pull/1310/files?w=1
Test it
To test, launch the
shader_param.sdf
example world. It should download the Waves model from Fuel and render it correctly:Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.