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

non-responsive part in depth image example #2

Open
antimodular opened this issue Feb 17, 2016 · 1 comment
Open

non-responsive part in depth image example #2

antimodular opened this issue Feb 17, 2016 · 1 comment

Comments

@antimodular
Copy link

hello again.

thanks again for taking the time to make the depth image example.

i am noticing when making the simple window size change to ofSetupOpenGL(1200,768,OF_WINDOW);
part of the depth image that i set up to be agua.setup(1024, 768); does not react to the ripples.
in fact it seems the ripples bounce off an invisible border inside the image.

all this works unless the OF_WINDOW has not the same size as the agua.setup()

not sure why, but i thought you might like to know.

@antimodular antimodular changed the title none responsive part in depth image example non-responsive part in depth image example Feb 22, 2016
@mynkit
Copy link

mynkit commented Aug 26, 2021

void GpuCompute::update()
{
fbos[1 - currentReadFbo].begin(false);

I had a similar problem, so I rewrote one sentence in GpuComputer.cpp as follows.

-     fbos[1 - currentReadFbo].begin(false);
+     fbos[1 - currentReadFbo].begin(); 

This seems to be working well.

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

No branches or pull requests

1 participant