Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Current state of 3D support in EntityBase

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19217

    Marcin

    Hi Felgo,
    Potentially would like to replace some of the 2D graphics with 3D models in my game.
    I am trying to figure out what is the best way to start, or if it’s even worth doing, considering the effort it needs.
    I see 3 angles from which I can try it, if you have any suggestion/comments please tell me ūüôā

     

    1. First and most important question. Despite the way I will handle it, is it relatively easy to add custom visible element for EntityBase?
    I would like to keep the game 2d(the world would stay only in x and y axis), just some graphics would be replaced.
    Would it be possible to not use, lets say Image or MultiResolutionImage, but to use some Item with 3d asset here?

     

    2. Considering I would be able to use different visual representation in EntityBase, what should I use?
    Is there any support, to make things easier, from Felgo side, to do it?
    To use 3d model in 2d world?

     

    3. If there is no a way from Felgo side to make things easier, would Qt 3D element work here?

     

    4. If would be problem from Felgo and Qt side, what about using some more pure OpenGL approach here, and to use more native 3d models in EntityBase?
    How would that work?

     

    Any hints appreciated.
    I understand it can be hard, or not worth the effort, but would try to use some 3d models in entities while keeping the world and coordinates 2d.

    #19224

    G√ľnther
    Felgo Team

    Hi Marcin,

    back when Qt 3D was released as Tech-Preview, we did a small prototype how to show a 3D UI for our Box2D-backed physics scene with entities (the CarChallenge 3D demo).

    As we’re¬†mainly¬†a¬†2D game¬†engine¬†and also¬† currently strongly focusing on app development, we did not yet put¬†additional effort into¬†an easy¬†Qt 3D integration. In general, the 2D physics¬†world and entities do not really care how the items are visualized. You should be able to use Qt 3D in combination with Felgo to get some 3D elements into your game. When talking about pure OpenGL, you can have a look at shader effect development with Qt:¬†http://doc.qt.io/qt-5/qml-qtquick-shadereffect.html

    We can also help with integrating Qt 3D and do some prototyping for your use-case with a support package. Just get in touch via email if this is interesting for you.

    Best,
    G√ľnther

    #19230

    Marcin

    Hi G√ľnther,
    Than you for answer.
    Most important thing for me is that it should be not a problem to use any visual representation in EntityBase, so this opens some possibilities.
    Will look then at Qt 3D and OpenGL solutions.
    As for support package, not at the moment but it can change, we will see.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.