Commit dc8849ed authored by Sandeep Pariyar's avatar Sandeep Pariyar
Browse files

simple3d completely redone with new example

parent 14dd529d
visibleInNavigator: true
canBeDroppedInFormEditor: false
canBeDroppedInView3D: true
import QtQuick
import QtQuick3D
import QtQuick.Timeline
Node {
id: rootNode
Node {
id: qtLogo
y: -2.33196
rotation: Qt.quaternion(0.999829, -0.00118362, 0.018435, 0.000880325)
scale.x: 1
scale.z: 1
Model {
id: qt_green
x: -0.179
y: 1.358
z: 1.28812
source: "meshes/qt_green.mesh"
scale.z: 1
scale.y: 1
scale.x: 1
eulerRotation.z: 0.1276
eulerRotation.y: 45.54668
eulerRotation.x: 0.02902
DefaultMaterial {
id: mat_2_material
opacity: 0.8
bumpAmount: 1
normalMap: glassNormal1
indexOfRefraction: 3
fresnelPower: -5
specularRoughness: 0.001
specularReflectionMap: car_day_hdr
specularAmount: 1
blendMode: DefaultMaterial.SourceOver
specularTint: "#ffffff"
lightProbe: car_day_hdr
diffuseLightWrap: 0.2
translucentFalloff: 2
diffuseColor: "#2fa321"
Texture {
id: glassNormal1
source: "../../../content/images/glassNormal.png"
}
}
materials: [
mat_2_material
]
}
Model {
id: qt
x: 0.179
y: -1.358
z: 2.38132
source: "meshes/qt.mesh"
eulerRotation.z: 0.1276
eulerRotation.y: 45.54668
eulerRotation.x: 0.02902
DefaultMaterial {
id: mat_3_material
blendMode: DefaultMaterial.SourceOver
specularTint: "#e4e4e4"
specularAmount: 0.3
lightProbe: car_day_hdr
diffuseColor: "#ffffff"
}
materials: [
mat_3_material
]
}
}
Model {
id: tube
source: "meshes/tube.mesh"
DefaultMaterial {
id: mat_material
diffuseColor: "#686868"
specularTint: "#567f46"
specularAmount: 1
specularRoughness: 0.001
lightProbe: car_day_hdr
Texture {
id: car_day_hdr
source: "../../../content/images/car_day_hdr.hdr"
mappingMode: Texture.LightProbe
}
}
materials: [
mat_material
]
}
Model {
id: tube_1
rotation: Qt.quaternion(0.5, -0.5, 0.5, -0.5)
source: "meshes/tube_1.mesh"
materials: [
mat_material
]
}
Model {
id: tube_2
rotation: Qt.quaternion(0.707107, 0, 0, 0.707107)
source: "meshes/tube_2.mesh"
materials: [
mat_material
]
}
Model {
id: tube_3
rotation: Qt.quaternion(0.707107, 0, 0.707107, 0)
source: "meshes/tube_3.mesh"
materials: [
mat_material
]
}
Model {
id: tube_4
rotation: Qt.quaternion(0.653282, -0.270598, 0.270598, -0.653281)
scale.y: 1
scale.z: 1
source: "meshes/tube_4.mesh"
materials: [
mat_material
]
}
Model {
id: tube_6
rotation: Qt.quaternion(0.92388, 0, 0.382683, 0)
scale.x: 1
scale.z: 1
source: "meshes/tube_6.mesh"
materials: [
mat_material
]
}
Model {
id: tube_5
rotation: Qt.quaternion(0.653282, 0.270598, -0.270598, -0.653281)
scale.y: 1
scale.z: 1
source: "meshes/tube_5.mesh"
materials: [
mat_material
]
}
Model {
id: tube_7
rotation: Qt.quaternion(1.91069e-15, 4.37114e-08, 1, 4.37114e-08)
source: "meshes/tube_7.mesh"
materials: [
mat_material
]
Model {
id: text_
x: 9.95561e-16
y: -8.12937
z: 9.95561e-16
rotation: Qt.quaternion(0.92388, 0, 0.382683, 0)
scale.x: 1
scale.z: 1
source: "meshes/text_.mesh"
DefaultMaterial {
id: mat_4_material
lightProbe: car_day_hdr
diffuseColor: "#c5c5c5"
}
materials: [
mat_4_material
]
}
}
Timeline {
id: timeline0
startFrame: 0
endFrame: 2000
currentFrame: 0
enabled: true
animations: [
TimelineAnimation {
duration: 2000
from: 0
to: 2000
running: true
loops: Animation.Infinite
}
]
KeyframeGroup {
target: tube_2
property: "rotation"
keyframeSource: "animations/tube_2_rotation.qad"
}
KeyframeGroup {
target: tube_2
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_3
property: "rotation"
keyframeSource: "animations/tube_3_rotation.qad"
}
KeyframeGroup {
target: tube_3
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_6
property: "rotation"
keyframeSource: "animations/tube_6_rotation.qad"
}
KeyframeGroup {
target: tube_6
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: qtLogo
property: "position"
keyframeSource: "animations/qtLogo_position.qad"
}
KeyframeGroup {
target: qtLogo
property: "rotation"
keyframeSource: "animations/qtLogo_rotation.qad"
}
KeyframeGroup {
target: qtLogo
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_4
property: "rotation"
keyframeSource: "animations/tube_4_rotation.qad"
}
KeyframeGroup {
target: tube_4
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube
property: "rotation"
keyframeSource: "animations/tube_rotation.qad"
}
KeyframeGroup {
target: tube
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_5
property: "rotation"
keyframeSource: "animations/tube_5_rotation.qad"
}
KeyframeGroup {
target: tube_5
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_7
property: "rotation"
keyframeSource: "animations/tube_7_rotation.qad"
}
KeyframeGroup {
target: tube_7
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
KeyframeGroup {
target: tube_1
property: "rotation"
keyframeSource: "animations/tube_1_rotation.qad"
}
KeyframeGroup {
target: tube_1
property: "scale"
Keyframe {
frame: 0
value: Qt.vector3d(1, 1, 1)
}
}
}
}
{
"import_options": {
"calculateTangentSpace": {
"description": "Calculates the tangents and bitangents for the imported meshes.",
"name": "Calculate Tangent Space",
"type": "Boolean",
"value": false
},
"dropNormals": {
"description": "Drops normals for all faces of all meshes.",
"name": "Drop Normals",
"type": "Boolean",
"value": false
},
"fbxPreservePivots": {
"description": "Set whether the fbx importer will preserve pivot points (as extra nodes)",
"name": "FBX: Preserve Pivot Points",
"type": "Boolean",
"value": false
},
"findDegenerates": {
"description": "This step searches all meshes for degenerate primitives and converts them to proper lines or points.",
"name": "Find Degenerates",
"type": "Boolean",
"value": true
},
"findInstances": {
"description": "This step searches for duplicate meshes and replaces them with references to the first mesh.",
"name": "Find Instances",
"type": "Boolean",
"value": false
},
"findInvalidData": {
"description": "This step searches all meshes for invalid data, such as zeroed normal vectors or invalid UV coords and removes/fixes them. This is intended to get rid of some common exporter errors.",
"name": "Find Invalid Data",
"type": "Boolean",
"value": true
},
"fixInfacingNormals": {
"description": "Tries to determine which meshes have normal vectors that are facing inwards and inverts them.",
"name": "Fix Infacing Normals",
"type": "Boolean",
"value": false
},
"generateLightmapUV": {
"description": "Unwrap mesh to generate lightmap UV channel",
"name": "Generate lightmap UV channel",
"type": "Boolean",
"value": false
},
"generateMipMaps": {
"description": "Force all imported texture components to generate mip maps for mip map texture filtering",
"name": "Generate Mip Maps",
"type": "Boolean",
"value": true
},
"generateNormals": {
"description": "Generates normals for all faces of all meshes",
"name": "Generate Normals",
"type": "Boolean",
"value": false
},
"generateSmoothNormals": {
"description": "Generates smooth normals for all vertices in the mesh.",
"name": "Generate Smooth Normals",
"type": "Boolean",
"value": true
},
"globalScale": {
"description": "This step will perform a global scale of the model.",
"name": "Enable Global Scale",
"type": "Boolean",
"value": false
},
"globalScaleValue": {
"conditions": [
{
"mode": "Equals",
"property": "globalScale",
"value": true
}
],
"description": "Global Scale factor.",
"name": "Global Scale Value",
"type": "Real",
"value": 1
},
"improveCacheLocality": {
"description": "Reorders triangles for better vertex cache locality.",
"name": "Improve Cache Locality",
"type": "Boolean",
"value": true
},
"joinIdenticalVertices": {
"description": "Identifies and joins identical vertex data sets within all imported meshes.",
"name": "Join Identical Vertices",
"type": "Boolean",
"value": true
},
"optimizeGraph": {
"description": "A postprocessing step to optimize the scene hierarchy.",
"name": "Optimize Graph",
"type": "Boolean",
"value": false
},
"optimizeMeshes": {
"description": "A postprocessing step to reduce the number of meshes.",
"name": "Optimize Meshes",
"type": "Boolean",
"value": false
},
"preTransformVertices": {
"description": "Removes the node graph and pre-transforms all vertices with the local transformation matrices of their nodes.",
"name": "Pre-transform Vertices",
"type": "Boolean",
"value": false
},
"removeComponentAnimations": {
"description": "Removes any animation components from meshes.",
"name": "Remove Animation Components",
"type": "Boolean",
"value": false
},
"removeComponentBoneWeights": {
"description": "Removes any bone weights from meshes.",
"name": "Remove Bone Weight components",
"type": "Boolean",
"value": false
},
"removeComponentColors": {
"description": "Removes any Color components from meshes.",
"name": "Remove Color Components",
"type": "Boolean",
"value": false
},
"removeComponentNormals": {
"description": "Removes Normal component from meshes.",
"name": "Remove Normal Components",
"type": "Boolean",
"value": false
},
"removeComponentTangentsAndBitangents": {
"description": "Removes Tangents and Bitangents components from meshes.",
"name": "Remove Tangent Components",
"type": "Boolean",
"value": false
},
"removeComponentTextures": {
"description": "Removes any embedded texture components from meshes.",
"name": "Remove Texture Components",
"type": "Boolean",
"value": false
},
"removeComponentUVs": {
"description": "Removes any UV components from meshes.",
"name": "Remove UV Components",
"type": "Boolean",
"value": false
},
"removeRedundantMaterials": {
"description": "Searches for redundant/unreferenced materials and removes them.",
"name": "Remove Redundant Materials",
"type": "Boolean",
"value": false
},
"splitLargeMeshes": {
"description": "Splits large meshes into smaller sub-meshes.",
"name": "Split Large Meshes",
"type": "Boolean",
"value": true
},
"transformUVCoordinates": {
"description": "This step applies per-texture UV transformations and bakes them into stand-alone vtexture coordinate channels.",
"name": "Transform UV Coordinates",
"type": "Boolean",
"value": false
},
"useBinaryKeyframes": {
"description": "Record keyframe data as binary files",
"name": "Use Binary Keyframes",
"type": "Boolean",
"value": true
},
"useFloatJointIndices": {
"description": "Stores joint indices as floating point numbers for GLES 2.0.",
"name": "Use Float Joint Indices",
"type": "Boolean",
"value": false
}
},
"source_scene": "C:/Users/sapariya/Documents/3d'/timeMachineQT.fbx"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment