KDAB / kuesa

Professional 3D asset creation and integration workflow for Qt
https://www.kuesa.com/
139 stars 27 forks source link

different between qt5.12.9 qt5.14.2 #143

Closed sajadblog closed 4 years ago

sajadblog commented 4 years ago

hi tnx for kuesa project that help perfectly work at 3d application there is a undetermined issue in kuesa application that compiled by qt5.12.9 and qt5.14.2 a simple blender project export to gltf and show at simple application when i compile application with qt5.12.9 material and object color is like solid mode render at blender and when i compile application with qt5.14.2 material and object color is like full mode render at blender just like uploaded picture the test application and gltf is same at two application

test

and i want a fully render mode(that show at 5.14.2) view at a application that compiled by 5.12.9

lemirep commented 4 years ago

Hello, Have you tried with Qt 5.15? Could you attach a sample glTF file so that we can investigate please? Thanks

sajadblog commented 4 years ago

my project must compile by qt 5.12.9 but i can test them at qt5.15 and send you the result.

-blender version 2.83 -kuesa dev branch -and exported by official gltf exporter at blender

testKuesa.tar.gz blender project and gltf file ==> https://gofile.io/d/4NJZ5z

lemirep commented 4 years ago

image That's what I'm getting with Kuesa and Qt 5.15 image Here's what Blender gives me with the original .blend you provided (I don't know how you obtained the full render view, I used the eevee viewport). Both Blender and Kuesa look consistent from what I can see here but I understand that's not the output you are expecting.

One thing I have observed is that the Blender Material uses a custom node graph. As far as I'm aware the gltf exporter, only handles the Principled BSDF if you want PBR based material or Emissive if you want an unlit single color material. The mix shaders on the output however aren't supported so I'm surprised the exported gltf looks so close to blender.

sajadblog commented 4 years ago

after compile some version of kuesa and qt finally i found problem . in dev-branch of kuesa is this problem and when i compile kuesa v1.2 by qt 5.12.9 get right view like what you share. thank you a lot. (y)

sajadblog commented 4 years ago

just a question.is there any reason to force us to use 3dMax or another gltf exporter application,reason like fully support material or any limitation that now exist in blender exporter ? are you accept other application against blender to export and load gltf into kuesa ?

mkrus commented 4 years ago

Kuesa will normally fully support Blender and any well behaved gltf 2.0 exporter.