Adding PBR to our QT application
-
wrote on 3 May 2022, 19:41 last edited by
Hello
My developer is having the hardest time implementing pbr in QT.
he added pbr easily in visual studio and it works perfectly. Then when he tried to implement the exact same code in our QT creator software, he couldnt get anything working.we are new to QT so we now seeing that QT handles opengl very differently from Visual Studio.
please help. We are willing to hire a QT expert for this. Please help us accomplish this task.
thank you -
-
wrote on 4 May 2022, 01:13 last edited by
my developer saw that already. it offers zero help.
not sure why this is such a difficult thing to find instructions on implementation -
my developer saw that already. it offers zero help.
not sure why this is such a difficult thing to find instructions on implementationwrote on 4 May 2022, 03:40 last edited by@unvrlite89 did you see this QtCon talk? It talks long about PBR and also show QML and some shader code how to work with it in Qt. HTH.
-
my developer saw that already. it offers zero help.
not sure why this is such a difficult thing to find instructions on implementation@unvrlite89 your developer doesn't read well :P
reading the article I learned, KDAB did this 6 years ago and it was done via the Shaders and with Qt3D. So I looked into Qt3D and lo and behold I actually found these:
Qt6:
https://doc-snapshots.qt.io/qt6-6.2/qt3d-pbr-materials-example.html -
wrote on 4 May 2022, 10:56 last edited by
Thanks for the replies you guys. the issue is. My developer already saw those links and examples.
everything you guys are sharing, i have seen already and googled like crazy to find those and i shared it with my developer two days ago. but he said it wasnt helpful.we are not using QML
or Qt3d(whatever qt3d actually is) we are new to QT so all these different products they offer, i have no clue what they do. we are just using QT creator IDE and some opengl widgets to create our software. My developer has added the custom PBR code he wrote for my app. while it worked perfectly when tested in Visual studio. the same code added to our QT creator App is only showing a black box with no texture. and my developer is frustrated and doesnt know what to do... thats why i came on the forum. he has already seen all those links. but what he has done is much better than even the QT examples, we just need it to actually work. -
@unvrlite89 your developer doesn't read well :P
reading the article I learned, KDAB did this 6 years ago and it was done via the Shaders and with Qt3D. So I looked into Qt3D and lo and behold I actually found these:
Qt6:
https://doc-snapshots.qt.io/qt6-6.2/qt3d-pbr-materials-example.htmlwrote on 4 May 2022, 11:06 last edited by@J-Hilk we saw those already two days ago. because its all the help that QT provided but it didnt help my developer.
my developer has fully implemented the PBR code into our QT app. doenst QT have a service where they can have an expert look at our code to see what is wrong and fix it?
because like i said, our PBR implementation worked perfectly when we tested it in Visual studio. We alsways test things first in Visual studio before applying it to our QT app..
and for some reason, the PBR code is not showing any textures in QT, all its showing is a black box with no lighting and no texturecant someone from QT just take a look at our code and tell us what is wrong? im new to QT i thought QT would be easier but i might just have to remake our app in Visual Studio, this is such a headache.
Everything we are struggling to do with QT, Visual studio did it easier.
-
@J-Hilk we saw those already two days ago. because its all the help that QT provided but it didnt help my developer.
my developer has fully implemented the PBR code into our QT app. doenst QT have a service where they can have an expert look at our code to see what is wrong and fix it?
because like i said, our PBR implementation worked perfectly when we tested it in Visual studio. We alsways test things first in Visual studio before applying it to our QT app..
and for some reason, the PBR code is not showing any textures in QT, all its showing is a black box with no lighting and no texturecant someone from QT just take a look at our code and tell us what is wrong? im new to QT i thought QT would be easier but i might just have to remake our app in Visual Studio, this is such a headache.
Everything we are struggling to do with QT, Visual studio did it easier.
wrote on 4 May 2022, 11:09 last edited by JonB 5 Apr 2022, 11:13@unvrlite89 said in Adding PBR to our QT application:
cant someone from QT
You are not speaking to anybody from the Qt Company here. You are speaking to a bunch of developers, just like yourselves, who choose to help other users with questions, voluntarily and unpaid. That is what this forum is, a user forum.
If you want support from The Qt Company they offer a commercial version of Qt and paid support options.
BTW, if you already have a working version using MSVC/VS, and you are only targeting Windows, why are you wanting to move to Qt, what is your goal/improvement over what you have now?
-
@unvrlite89 said in Adding PBR to our QT application:
cant someone from QT
You are not speaking to anybody from the Qt Company here. You are speaking to a bunch of developers, just like yourselves, who choose to help other users with questions, voluntarily and unpaid. That is what this forum is, a user forum.
If you want support from The Qt Company they offer a commercial version of Qt and paid support options.
BTW, if you already have a working version using MSVC/VS, and you are only targeting Windows, why are you wanting to move to Qt, what is your goal/improvement over what you have now?
wrote on 4 May 2022, 11:19 last edited by@JonB well my developer chose QT because he liked the way QT builds user interfaces. that was the only reason he wanted to use qt.. instead of visual studio.
but he likes to test out all codes in visual studio as he has more experience with VS. and every feature we add to our software, he first tests in VS then adds to QT.. when we wrote our custom PBR code, it looks incredible in VS, then he added it to QT and well... nothing but a blck box showed up.
Now im unsure of what to do. i should not have to pay for QT support to help me when i know its working perfectly in VS.. thing is.. we have already done quite a bit in QT and to now have to switch back to VS is going to make my developer pull his hair out
-
@JonB well my developer chose QT because he liked the way QT builds user interfaces. that was the only reason he wanted to use qt.. instead of visual studio.
but he likes to test out all codes in visual studio as he has more experience with VS. and every feature we add to our software, he first tests in VS then adds to QT.. when we wrote our custom PBR code, it looks incredible in VS, then he added it to QT and well... nothing but a blck box showed up.
Now im unsure of what to do. i should not have to pay for QT support to help me when i know its working perfectly in VS.. thing is.. we have already done quite a bit in QT and to now have to switch back to VS is going to make my developer pull his hair out
@unvrlite89 you can use your Qt code in VS
https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools-19123
if that's what you're looking for?
-
@unvrlite89 you can use your Qt code in VS
https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools-19123
if that's what you're looking for?
wrote on 4 May 2022, 11:33 last edited by@J-Hilk trust me i already suggested this to my developer
but its not as simple as just taking QT over to VS.. my developer said Qt's way of handling opengl is totally different from how VS handles it. In VS its more straight forward.but anyway, i cant chat all day. i'll be doing my best to hire someone who directly works in QT so we can get work done. QT frustrated my developer so much he quit on me yesterday so now i have no developer. I have to rehire. and this time. im hiring a QT expert.
thanks alot guys
-
wrote on 14 May 2022, 06:02 last edited by
Mmmm PBR...Pabst Blue Ribbon
https://en.wikipedia.org/wiki/Pabst_Blue_Ribbon