On Freitag, 14. September 2018 05:15:53 CEST dns.bot...@gmail.com wrote:
> Hi,
>
> This was it. I thought QUrl would default to local path. Now I seem to
> remember to have made this assumption in the past as well and then be
> suprised. Is should start to learn. :)
Alternatively use QUrl::fromL
Hi,
This was it. I thought QUrl would default to local path. Now I seem to
remember to have made this assumption in the past as well and then be
suprised. Is should start to learn. :)
Thanks for your help.
Botond
On Thu, 2018-09-13 at 21:55 +0100, Mike Krus wrote:
> Hi
>
> that doesn’t look li
Hi
that doesn’t look like a valid url you are loading there…
try QUrl(“file:///home/botond/Desktop/castle_on_hill.dae”) ?
Mike
> On 13 Sep 2018, at 18:24, Botond D wrote:
>
> Hi,
>
> I've been struggling to load a 3D scene from a Collada (DAE) file. I've been
> experimenting with the followi
I've never used QSceneLoader, but don't you have to check for a status of
Qt3DRender::QSceneLoader::Ready and then use QSceneLoader::entity() to
access the entity that was read in?
Maybe take a look at tests/manual/assimp-cpp for inspiration?
---
Andy Maloney // https://asmaloney.com
twitter ~
Hi,
I've been struggling to load a 3D scene from a Collada (DAE) file. I've
been experimenting with the following piece of code:
Qt3DCore::QEntity *importScene()
{
// Root entity
Qt3DCore::QEntity *rootEntity = new Qt3DCore::QEntity;
auto importedScene = new Qt3DCore::QEntity(rootEnt