Skip to content
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

Fix snapshot showing the UI #39

Closed
wants to merge 1 commit into from
Closed

Conversation

sercero
Copy link
Contributor

@sercero sercero commented Apr 27, 2024

No description provided.

@paroj
Copy link
Member

paroj commented Apr 27, 2024

which rendersystem are you using? works here for me

@sercero
Copy link
Contributor Author

sercero commented Apr 27, 2024

OpenGL 3+, you'll see that my latest screenshots were partially showing the UI.

Also, this double renderOneFrame() is present here:

self.getRoot().renderOneFrame()
self.getRoot().renderOneFrame()

@paroj
Copy link
Member

paroj commented Apr 28, 2024

it seems that our imgui code lags behind by one frame. I would like to investigate this first, before adding this workaround

@paroj
Copy link
Member

paroj commented May 7, 2024

imgui does not seem to lag. please try again, whether latest master fixes the issue

@sercero
Copy link
Contributor Author

sercero commented May 8, 2024

imgui does not seem to lag. please try again, whether latest master fixes the issue

OK, it'll take me a while because I never built OGRE with python support.

Lets see how it goes...

@paroj
Copy link
Member

paroj commented May 8, 2024

OK, it'll take me a while because I never built OGRE with python support.

oh, I meant meshviewer master. The changes are on python side.

Also, for ogre the master SDK includes the python bindings:
https://dl.cloudsmith.io/public/ogrecave/ogre/raw/versions/master/ogre-sdk-master-msvc142-x64.zip

@sercero
Copy link
Contributor Author

sercero commented May 8, 2024

OK, it'll take me a while because I never built OGRE with python support.

oh, I meant meshviewer master. The changes are on python side.

Also, for ogre the master SDK includes the python bindings: https://dl.cloudsmith.io/public/ogrecave/ogre/raw/versions/master/ogre-sdk-master-msvc142-x64.zip

Oh, thanks.

Yes, I saw in create_win_package.bat that you download that package but since it was "master"....

No problem now I understand.

@sercero
Copy link
Contributor Author

sercero commented May 8, 2024

Yes, now it works.

Thanks.

@sercero sercero closed this May 8, 2024
@paroj
Copy link
Member

paroj commented May 8, 2024

FYI the issue was that we were downloading the image from the backbuffer after swap buffers. This is platform specific and can result in an image that is 2 frames old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants