Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2580

Qt3DRender.QSceneLoader() and Qt3DRender.QMesh() should accept file objects rather than just file paths.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.6.1
    • PySide
    • None
    • Windows

      Qt3DRender.QSceneLoader() and Qt3DRender.QMesh() only support passing file paths, which is a huge downside, for performance reasons, working in memory is highly needed, the fact that I have object files in memory, and in case I want to load them in a view, I have to write them to disk first then pass their paths to those classes to load them, then delete them later is very inefficient.

      Also documentation of how Qt3DRender.QSceneLoader() works is nowhere to be seen, It's the only class that can correctly load objects and their materials with ace, so manually mimicking it's functionality for just having the ability to read from memory is just looks impossible for me.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            ahmedahmedeg Ahmed Ahmed Abd Al Maksoud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes