1 May 2010 14:55
Re: Another OSG+Qt integration example
Hi Robert, Ha, I've almost forgot this submission. How did you dig it out of the vast archives? ;) In my memory this example had a problem of not working properly with FBO. Qt uses a separated QGLFramebufferObject class to do it. I will soon build the latest Qt distribution to see if this could be solved. Under Windows, the example is fine with multi-threaded. I'm also going to have more tests with my Ubuntu tonight. BTW, this made me recall another osgposter example, which discussed the implementation of high-res rendering. Is it possible to reopen that thread someday? :) But I'd like to first have a review myself. Cheers, Wang Rui 2010/4/30 Robert Osfield <robert.osfield@...>: > Hi Wang Rui, > > Sorry about the very long delay on reviewing this example, just dug it > up from my email archives. I've taken the latest code drop from this > thread and merged it with svn/trunk and checked it in. I got Qt > makeCurrent errors and crash after the first frame if I just used the > code directly, and had to set the viewer widget to run SingleThreaded > to get it work without problems. Using SingleThreaded does mean the > performance isn't great though, but this might be down to the ATI > driver not working well with multiple contexts on my Linux machine.(Continue reading)
> In my memory this example had a problem of not working properly with
> FBO. Qt uses a separated QGLFramebufferObject class to do it.
FBO should be done entirely on the OSG side as it's pure OpenGL, I
would expect pbuffer would need extra work though.
> I will
> soon build the latest Qt distribution to see if this could be solved.
> Under Windows, the example is fine with multi-threaded. I'm also going
> to have more tests with my Ubuntu tonight.
>
> BTW, this made me recall another osgposter example, which discussed
> the implementation of high-res rendering. Is it possible to reopen
> that thread someday? :) But I'd like to first have a review myself.
I'll have to catch up with you on this the week after next as next
week I'm away on trip all week giving an OSG training course.
Cheers,
Robert
RSS Feed