Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9.0 Beta 1
-
None
-
Windows 8, Ubuntu 14.04 LTS
-
8b45682dfb5bff49c6a7e9ed7b1bbe56e5801585
Description
Hello!
I have .obj model of wheel. In the viewer it loads and looks correct.
When I load this .obj model throuth SceneLoader all right, but there are only fragment of tyre protector texture.
Texture does not repeated.
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Scene3D 2.0
import Qt3D.Core 2.0
import Qt3D.Render 2.0
import Qt3D.Input 2.0
import Qt3D.Extras 2.0
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Rectangle {
id: scene
anchors.fill: parent
anchors.margins: 0
color: "darkGray"
Scene3D {
id: scene3d
anchors.fill: parent
anchors.margins: 0
focus: true
aspects: ["input", "logic"]
cameraAspectRatioMode: Scene3D.AutomaticAspectRatio
visible:true
Entity {
id: sceneRoot
Camera
FirstPersonCameraController
{ camera: camera } components: [
RenderSettings {
activeFrameGraph: ForwardRenderer
},
InputSettings { }
]
SceneLoader
{ id: wheelMesh source: "qrc:///disk_g.obj" } Transform {
id: wheelTransform
property real userAngle: 70
matrix:
}
DirectionalLight
DirectionalLight
{ id: wheelLight1 worldDirection: Qt.vector3d(0, 0.707, -0.707) color:"White" intensity: 1.0 }Entity
{ id: wheelEntity components: [ wheelMesh, wheelLight, /*wheelLight1,*/ wheelTransform ] } }
}
}
Attachments
For Gerrit Dashboard: QTBUG-59531 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
193807,2 | AssimpImporter: properly handle texture wrapping | 5.9 | qt/qt3d | Status: MERGED | +2 | 0 |