-
Notifications
You must be signed in to change notification settings - Fork 53
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
From Ogre 2.1 to Ogre 2.2 #272
Conversation
f8ddf8a
to
ce84c10
Compare
@mjcarroll and @iche033, this PR is ready for a initial review. There is a know issue in the Ogre2SelectionBuffer but the rest of classes should work fine:
|
I fixed the Ogre2Selectionbuffer. I will create a PR on top of this one to enable EGL |
Can you split the |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
0e0be44
to
e5979b8
Compare
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.
A few comments, moving on to checking tests and examples
if (texture == nullptr){ | ||
return; | ||
} | ||
|
||
// TODO(anyone) handle Bayer conversions |
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.
This may be handed by Ogre::Image2
if I understand correctly?
Signed-off-by: ahcorde <[email protected]>
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.
did a first pass review. Looking good
ogre2/src/Ogre2DepthCamera.cc
Outdated
rt0TexDef->automipmaps = false; | ||
rt0TexDef->hwGammaWrite = Ogre::TextureDefinitionBase::BoolFalse; | ||
rt0TexDef->format = Ogre::PFG_RGBA32_FLOAT; | ||
rt0TexDef->textureFlags |= !Ogre::TextureFlags::Uav; |
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.
there is a compile warning here and other places with this line. I think it's for removing the flag? i.e. rt0TexDef->textureFlags &= ~Ogre::TextureFlags::Uav;
? or maybe we can just set it to Ogre::TextureFlags::RenderToTexture
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Co-authored-by: Michael Carroll <[email protected]> Signed-off-by: ahcorde <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #272 +/- ##
==========================================
+ Coverage 58.59% 58.71% +0.11%
==========================================
Files 174 174
Lines 17064 17184 +120
==========================================
+ Hits 9999 10089 +90
- Misses 7065 7095 +30
Continue to review full report at Codecov.
|
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]>
INTEGRATION_lidar_visual is passing however there's lot of:
in stderr which aren't happening in Edifice. I'm taking a look to see what's going on. UpdateOK it doesn't seem to be a rendering bug. This error happens before rendering.
I don't see This leads me to believe there was a change in how |
Probably a copy-paste bug, after enabling DEPTH_CLAMP we must disable once we're done; but we call glEnable again instead of disabling it. Signed-off-by: Matias N. Goldberg <[email protected]>
I ticketed gazebo-tooling/release-tools#509 so the macOS and Windows builds to turn yellow when Ogre 2 isn't found. For macOS, we may need to set |
The OGRE2 rendering plugin builds correctly on Windows with OGRE2.2, but tests fail with:
|
Ahh I hadn't noticed that Windows found Ogre2, all good! @iche033 , can we get this in? |
yes merging! 🤞 |
This PR updates the Ogre2 from Ogre 2.1 to Ogre 2.2.
There are some issues that need to be resolved yet
Related with: