Problem rendering 3D mesh in embedded device
-
wrote on 3 Oct 2019, 12:49 last edited by
Hello everyone,
I'm using QT Creator to test applications on an mbedded device, the Toradex Apalis iMX6 with Boot2QT as OS.
I'm having problems displaying 3d models in the device, if I compile for Desktop everything works normally, but when I load the program on the board the 3d model is not rendered.
Any idea? -
Hi,
Might be a silly question but did you deploy the models on the device ? Or are they embedded within your binary ?
-
wrote on 4 Oct 2019, 09:18 last edited by
The model was loaded in the project on QT Creator, when i build for pc it works, but deploy don't. Even if i use an integrated CuboidMesh it doesn't display
-
Did you got any error/warning messages when running your application ?
-
wrote on 7 Oct 2019, 11:01 last edited by
This is what it outputs to me when i deploy to the board:
<--
"FB_MULTI_BUFFER" "2"
"QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
"QTWEBENGINE_DISABLE_SANDBOX" "1"
"QT_GSTREAMER_CAMERABIN_VIDEOSRC" "mxc_v4l2=imxv4l2videosrc,v4l2src"
"QT_IM_MODULE" "qtvirtualkeyboard"
"QT_QPA_EGLFS_FORCEVSYNC" "1"
"QT_QPA_EGLFS_PHYSICAL_HEIGHT" "137"
"QT_QPA_EGLFS_PHYSICAL_WIDTH" "218"
"QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS" "/dev/input/event0"
"QT_QUICK_CONTROLS_1_STYLE" "Flat"
"XDG_RUNTIME_DIR" "/run/user/0"
"/usr/share/examples/qt3d/simple-qml/simple-qml" ()
QML debugging is enabled. Only use this in a safe environment.
--> -
Are you building the application directly on the module ?
1/6