Coder Social home page Coder Social logo

Comments (15)

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Hi, I was on holidays. Can you check older versions of AB?
I've added the "mouse loop" feature recently which I think does the problem in your case.

from awesomebump.

nevr2k avatar nevr2k commented on August 23, 2024

Hey there, np thanks for the follow up.

i tried 2.1 but i cant get it compiled - getting an error

/usr/lib/qt/bin/rcc -name content ../content.qrc -o qrc_content.cpp
Makefile:597: recipe for target 'qrc_content.cpp' failed
RCC: Error in '../content.qrc': Cannot find file 'content/Capsule.obj'
make: *** [qrc_content.cpp] Error 1
17:44:55: The process "/usr/bin/make" exited with code 2.

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, I know where is the problem.
Please remove the Capsule.obj file from the content.qrc file.
You can do it through the Qt creator or just by opening this file
in any text editor and remove the line:
content/Capsule.obj

from awesomebump.

Robert42 avatar Robert42 commented on August 23, 2024

Hey, I also have the 3d viewport navigation problems.

I think, there are two different problems. The error described in this issue (the navigation lags back to origin) occures the first time in the commit be8bb6f (I have used git bisect)

But I had a second issue, that the viewport lags for one or two seconds. That issue is already reproducable in 2.x versions.
Edit: I think I was able to workaround the second issue by replacing all updateGL calls with a new function markDirty, which makes sure, that updateGL will be queued (exactly once) for the next main-loop execution.
But I am currently to tired to create a pull request, this will have to wait for tomorrow.

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, thanks for info. I'm waiting for P-R.

from awesomebump.

Robert42 avatar Robert42 commented on August 23, 2024

Ok, my Pull Request is online. But I don't like it, because it's somehow ugly. You can use if you want. Maybe you just want to look at it and develop a better solution.

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, thanks. Yeah its a really big pull request.
Can you try something simpler before I do your pull request?
You can disable all image processings during the mouse dragging:

You need to add one new variable: e.g: bool bMouseDragging; in class GLImage.
In cpp file you can find such line:
if(!bSkipStandardProcessing){
change it to something like that:
if(!bSkipStandardProcessing && !bMouseDragging){
then in function:
void GLImage::mousePressEvent(QMouseEvent *event)
add line:
bMouseDragging = true;
and in:
void GLImage::mouseReleaseEvent(QMouseEvent *event){
add line:
bMouseDragging = false;
and updateGL() at the end.

What about that? I know that you will lost all image effects during mouse dragging, but such solution is much simpler.

from awesomebump.

Robert42 avatar Robert42 commented on August 23, 2024

Ok, I've tried the bMouseDragging trick, but I couldn't see a difference between "before" and "after" using bMouseDragging to controll the image effects

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok thank, I was courious, because It should help to reduce the GPU computation time, but if the problem is in drivers as you wrote, your solutions will be better. I will take a look at your PR this evening.

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, I did the merge. Once again thanks for this fix, I see improvement!
Can you check new commit just in case? If everything will be ok, you can close this issue.

from awesomebump.

Robert42 avatar Robert42 commented on August 23, 2024

You're welcome :)
I've checked, and it looks ok for me.

from awesomebump.

nevr2k avatar nevr2k commented on August 23, 2024

i will give it a try with this improvement.
fixing and using the 2.1 compile by removing Capsule.obj is not an option for me

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, please give me a feedback if it works now.

from awesomebump.

nevr2k avatar nevr2k commented on August 23, 2024

works flawlessly.

thanks a lot from my side Robert for the fix/PR and Krzysztof for PR check implement and of curse making and maintaining AB : -)

from awesomebump.

kmkolasinski avatar kmkolasinski commented on August 23, 2024

Ok, I'm closing this issue.

from awesomebump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.