-
-
Notifications
You must be signed in to change notification settings - Fork 983
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
BillboardChain not (always) facing camera #2482
Comments
This seems to be an issue with OGRE 1.9 only (still the default for ROS in Ubuntu 20.04). Updating to OGRE 1.12 this works! |
no idea. I am afraid you will have to Closing as it is fixed in master. |
I would like to reopen this issue: Preparing a git bisect, I noticed that the bug is still existing in OGRE 1.12.4 (Ubuntu 20.04 system version). It seemed to work last time I checked, because I explicitly updated/recreated the BillboardChain frequently. I verified that |
does this also happen with a |
No idea. Our code doesn't use |
you could try using it at the same place where you use BillboardChain to mark the vertices or something. |
We use a BillboardChain to show various line strips in rviz: ros-visualization/rviz#1287 (comment)
However, camera updates are not correctly considered when rendering the BillboardChain: we can look "behind" the billboard, because the object is not camera-facing as it should.
Only if the same scene is rendered into a
RenderTexture
(when the mouse gets into the aabb of the BillboardChain), the camera pose is updated and the object correctly displays again.We use Ogre::Root::renderOneFrame() to render the scene into all RenderTargets. Doesn't that call the required update() methods?
Any hints on what is missing are highly appreciated.
screen-recording.mp4
The text was updated successfully, but these errors were encountered: