View unanswered posts | View active topics It is currently Sun Apr 30, 2017 12:55 pm

Reply to topic  [ 3 posts ] 
 GLC_lib vs. Qt3d 
Author Message

Joined: Thu Jan 26, 2017 8:09 pm
Posts: 4
Post GLC_lib vs. Qt3d
Hello + Salut,

I am looking for a good way to integrate 3d functionality into my Qt/QML based app. "All" I need to do is display a model loaded from a file (3ds, obj or whatever), let the user manipulate its position in space in a restricted manner, and let him/her point at the model to put markers onto it. I would have to store the markers persistently and add them programmatically whenever the model is loaded, so that they appear as if they were part of the model.

I have looked at GLC_lib and Qt3d. The latter not only seems much bigger in scope and consequently rather complex to handle, but I am also seeing technical issues in that even the simplest example won't work in my context (rather complex UI with StackView and nested SwipeView). I am seeing "QOpenGLFrameBuffer missing attachment" messages in the console, and the whole desktop is flickering. Whoa!

With GLC_lib everything works flawlessly so far. Now come my questions:

- what is the future of GLC_lib?
- are there any recommendations regarding GLC_lib/Qt3d?
- are there plans to add OpenGL/ES support? How hard is it to do?

Since I plan to deploy my app on Android (possibly iOS) tablets, the last point is of utmost imortance for me.


Fri Jan 27, 2017 7:54 pm
Site Admin

Joined: Sun Jan 03, 2010 4:27 pm
Posts: 389
Post Re: GLC_lib vs. Qt3d
Thank you for your interest in GLC_lib
- what is the future of GLC_lib?

It is difficult for me to answer this question. The only think I know is that I use GLC_lib in my work every day. So if I need a new feature, I develop it.
- are there any recommendations regarding GLC_lib/Qt3d?

I have never used Qt3d... But I think it's a good lib.
- are there plans to add OpenGL/ES support? How hard is it to do?

I wanted to dot it but I didn't need it and it's a lot of work. I have no plans to add this feature.


Sun Jan 29, 2017 11:31 am

Joined: Thu Jan 26, 2017 8:09 pm
Posts: 4
Post Re: GLC_lib vs. Qt3d
Hello Laurent,

thanks for GLC_Lib, and thanks for answering.

Good to hear that GLC_Lib is in every day use. As I said, I was not able to get Qt3d to work at all, and the errors I am seeing with a very basic example (with which there really wasn't much to do wrong) were so detrimental that I didn't even bother to delve further into the API, which seems over-complex for my purposes anyway.

With GLC_lib, everything works for me (Linux, Qt 5.8, QML) so far. I have also managed to navigate into the code base, and already added a few features I need (being able to set the viewport background, being able to load and preprocess the 3d world in C++ and pass it to the QuickItem). I would really not want to have to give up on these achievements.

However, as I pointed out, GL/ES support is something I cannot do without. Since you don't have any plans, I might be willing to put in effort from my side. I would really appreciate if you could give me some overview of the tasks at hand, and maybe some guidance as to how to proceed. I am a 3d newbie, and have had some exposure to OpenGL in a past job where I even had to write (rather, cannibalize) a shader program or two. Additionally, I have 25 years of programming (5 yrs C++, 3 yrs Qt/Quick) on my back. So it should be doable.

I look forward to hearing from you
regards, Chris

Sun Jan 29, 2017 1:09 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.