diff options
Diffstat (limited to 'tests/scenes')
14 files changed, 0 insertions, 485 deletions
diff --git a/tests/scenes/customvertex/customvertex.uia b/tests/scenes/customvertex/customvertex.uia deleted file mode 100644 index 84488102..00000000 --- a/tests/scenes/customvertex/customvertex.uia +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<application xmlns="http://qt.io/qt3dstudio/uia"> - <assets initial="customvertex"> - <presentation id="customvertex" src="presentations/customvertex.uip"/> - </assets> - <statemachine ref="#logic"> - <visual-states> - <state ref="Initial"> - <enter> - <goto-slide rel="next" element="main:Scene"/> - </enter> - </state> - </visual-states> - </statemachine> -</application> diff --git a/tests/scenes/customvertex/materials/simple.shader b/tests/scenes/customvertex/materials/simple.shader deleted file mode 100644 index bdbd21e9..00000000 --- a/tests/scenes/customvertex/materials/simple.shader +++ /dev/null @@ -1,29 +0,0 @@ -<Material name="simple" version="1.0"> - <MetaData> - <Property formalName="Scale" name="scale" type="Vector" default="1 1 1" stage="vertex" category="Material" /> - <Property formalName="Color" name="color" type="Color" default="1 1 1" stage="fragment" category="Material" /> - </MetaData> - <Shaders type="GLSL" version="330"> - <Shader> - <VertexShader> - attribute vec3 attr_pos; - uniform mat4 modelViewProjection; - - void main() { - gl_Position = modelViewProjection * vec4(attr_pos * scale, 1.0); - } - </VertexShader> - <FragmentShader> - out vec4 fragColor; - void main() { - fragColor = vec4(color.rgb, 1.0); - } - </FragmentShader> - </Shader> - </Shaders> -<Passes> - <Pass> - </Pass> -</Passes> -</Material> - diff --git a/tests/scenes/customvertex/presentations/customvertex.uip b/tests/scenes/customvertex/presentations/customvertex.uip deleted file mode 100644 index eba06daa..00000000 --- a/tests/scenes/customvertex/presentations/customvertex.uip +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<UIP version="5" > - <Project > - <ProjectSettings author="" company="" presentationWidth="1920" presentationHeight="1080" maintainAspect="False" preferKtx="False" > - <CustomColors count="16" >#7391ff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors> - </ProjectSettings> - <Classes > - <CustomMaterial id="simple" name="simple" sourcepath="../materials/simple.shader" /> - </Classes> - <Graph > - <Scene id="Scene" > - <Layer id="Layer" variants="" > - <Camera id="Camera" /> - <Light id="Light" /> - <Model id="Sphere" > - <CustomMaterial id="simple_001" class="#simple" /> - </Model> - </Layer> - </Scene> - </Graph> - <Logic > - <State name="Master Slide" component="#Scene" > - <Add ref="#Layer" disabledepthprepass="True" /> - <Add ref="#Camera" /> - <Add ref="#Light" /> - <State id="Scene-Slide1" name="Slide1" > - <Add ref="#Sphere" name="Sphere" position="0 0 0" sourcepath="#Sphere" /> - <Add ref="#simple_001" name="Material" color="0.333333 0.666667 0" scale="1 2 1" /> - </State> - </State> - </Logic> - </Project> -</UIP> diff --git a/tests/scenes/simple_cube_animation/maps/QT-symbol.png b/tests/scenes/simple_cube_animation/maps/QT-symbol.png Binary files differdeleted file mode 100644 index 752a2e2f..00000000 --- a/tests/scenes/simple_cube_animation/maps/QT-symbol.png +++ /dev/null diff --git a/tests/scenes/simple_cube_animation/maps/materials/shadow.png b/tests/scenes/simple_cube_animation/maps/materials/shadow.png Binary files differdeleted file mode 100644 index 599b1ccc..00000000 --- a/tests/scenes/simple_cube_animation/maps/materials/shadow.png +++ /dev/null diff --git a/tests/scenes/simple_cube_animation/maps/materials/spherical_checker.png b/tests/scenes/simple_cube_animation/maps/materials/spherical_checker.png Binary files differdeleted file mode 100644 index e42394dd..00000000 --- a/tests/scenes/simple_cube_animation/maps/materials/spherical_checker.png +++ /dev/null diff --git a/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef b/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef deleted file mode 100644 index c35d47b8..00000000 --- a/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef +++ /dev/null @@ -1,25 +0,0 @@ -<MaterialData version="1.0"> - <Property name="shaderlighting">Pixel</Property> - <Property name="blendmode">Normal</Property> - <Property name="diffuse">0 0.482353 1 1</Property> - <Property name="specularamount">0</Property> - <Property name="specularroughness">0</Property> - <Property name="opacity">100</Property> - <Property name="emissivecolor">1 1 1 1</Property> - <Property name="emissivepower">0</Property> - <Property name="bumpamount">0.5</Property> - <Property name="displaceamount">20</Property> - <Property name="translucentfalloff">1</Property> - <Property name="diffuselightwrap">0</Property> - <Property name="specularmodel">Default</Property> - <Property name="speculartint">1 1 1 1</Property> - <Property name="ior">1.5</Property> - <Property name="fresnelPower">0</Property> - <Property name="vertexcolors">False</Property> - <Property name="sourcepath"></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Material</Property> - <Property name="name"><![CDATA[materials/Basic Blue]]></Property> - <Property name="path"><![CDATA[C:/dev/q3dstudio/qt3dstudio/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef]]></Property> -</MaterialData>
\ No newline at end of file diff --git a/tests/scenes/simple_cube_animation/materials/Basic Green.materialdef b/tests/scenes/simple_cube_animation/materials/Basic Green.materialdef deleted file mode 100644 index 273a348c..00000000 --- a/tests/scenes/simple_cube_animation/materials/Basic Green.materialdef +++ /dev/null @@ -1,25 +0,0 @@ -<MaterialData version="1.0"> - <Property name="shaderlighting">Pixel</Property> - <Property name="blendmode">Normal</Property> - <Property name="diffuse">0.180392 1 0 1</Property> - <Property name="specularamount">0</Property> - <Property name="specularroughness">0</Property> - <Property name="opacity">100</Property> - <Property name="emissivecolor">1 1 1 1</Property> - <Property name="emissivepower">0</Property> - <Property name="bumpamount">0.5</Property> - <Property name="displaceamount">20</Property> - <Property name="translucentfalloff">1</Property> - <Property name="diffuselightwrap">0</Property> - <Property name="specularmodel">Default</Property> - <Property name="speculartint">1 1 1 1</Property> - <Property name="ior">1.5</Property> - <Property name="fresnelPower">0</Property> - <Property name="vertexcolors">False</Property> - <Property name="sourcepath"></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Material</Property> - <Property name="name"><![CDATA[materials/Basic Green]]></Property> - <Property name="path"><![CDATA[C:/dev/q3dstudio/qt3dstudio/tests/scenes/simple_cube_animation/materials/Basic Green.materialdef]]></Property> -</MaterialData>
\ No newline at end of file diff --git a/tests/scenes/simple_cube_animation/materials/Basic Red.materialdef b/tests/scenes/simple_cube_animation/materials/Basic Red.materialdef deleted file mode 100644 index 38b8eb7b..00000000 --- a/tests/scenes/simple_cube_animation/materials/Basic Red.materialdef +++ /dev/null @@ -1,25 +0,0 @@ -<MaterialData version="1.0"> - <Property name="shaderlighting">Pixel</Property> - <Property name="blendmode">Normal</Property> - <Property name="diffuse">1 0 0.0156863 1</Property> - <Property name="specularamount">0</Property> - <Property name="specularroughness">0</Property> - <Property name="opacity">100</Property> - <Property name="emissivecolor">1 1 1 1</Property> - <Property name="emissivepower">0</Property> - <Property name="bumpamount">0.5</Property> - <Property name="displaceamount">20</Property> - <Property name="translucentfalloff">1</Property> - <Property name="diffuselightwrap">0</Property> - <Property name="specularmodel">Default</Property> - <Property name="speculartint">1 1 1 1</Property> - <Property name="ior">1.5</Property> - <Property name="fresnelPower">0</Property> - <Property name="vertexcolors">False</Property> - <Property name="sourcepath"></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Material</Property> - <Property name="name"><![CDATA[materials/Basic Red]]></Property> - <Property name="path"><![CDATA[C:/dev/q3dstudio/qt3dstudio/tests/scenes/simple_cube_animation/materials/Basic Red.materialdef]]></Property> -</MaterialData>
\ No newline at end of file diff --git a/tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef b/tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef deleted file mode 100644 index 4defa98f..00000000 --- a/tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef +++ /dev/null @@ -1,63 +0,0 @@ -<MaterialData version="1.0"> - <Property name="shaderlighting">Pixel</Property> - <Property name="blendmode">Normal</Property> - <Property name="diffuse">0.752941 0.756863 1 1</Property> - <Property name="diffusemap"><![CDATA[./maps/materials/spherical_checker.png]]></Property> - <Property name="diffusemap2"><![CDATA[./maps/QT-symbol.png]]></Property> - <Property name="specularamount">0</Property> - <Property name="specularroughness">0</Property> - <Property name="opacity">100</Property> - <Property name="emissivecolor">1 1 1 1</Property> - <Property name="emissivepower">0</Property> - <Property name="bumpamount">0.5</Property> - <Property name="displaceamount">20</Property> - <Property name="translucentfalloff">1</Property> - <Property name="diffuselightwrap">0</Property> - <Property name="specularmodel">Default</Property> - <Property name="speculartint">1 1 1 1</Property> - <Property name="ior">1.5</Property> - <Property name="fresnelPower">0</Property> - <Property name="vertexcolors">False</Property> - <Property name="sourcepath"></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Material</Property> - <Property name="name"><![CDATA[materials/Basic Texture]]></Property> - <Property name="path"><![CDATA[C:/dev/qt/NDD/qt3ds2/tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef]]></Property> - <TextureData name="diffusemap"> - <Property name="scaleu">1</Property> - <Property name="scalev">1</Property> - <Property name="mappingmode">UV Mapping</Property> - <Property name="tilingmodehorz">Tiled</Property> - <Property name="tilingmodevert">Tiled</Property> - <Property name="rotationuv">0</Property> - <Property name="positionu">0</Property> - <Property name="positionv">0</Property> - <Property name="pivotu">0</Property> - <Property name="pivotv">0</Property> - <Property name="subpresentation"></Property> - <Property name="sourcepath"><![CDATA[./maps/materials/spherical_checker.png]]></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Image</Property> - <Property name="name"><![CDATA[Image]]></Property> - </TextureData> - <TextureData name="diffusemap2"> - <Property name="scaleu">2</Property> - <Property name="scalev">3</Property> - <Property name="mappingmode">UV Mapping</Property> - <Property name="tilingmodehorz">Tiled</Property> - <Property name="tilingmodevert">Tiled</Property> - <Property name="rotationuv">0</Property> - <Property name="positionu">0</Property> - <Property name="positionv">0</Property> - <Property name="pivotu">0</Property> - <Property name="pivotv">0</Property> - <Property name="subpresentation"></Property> - <Property name="sourcepath"><![CDATA[./maps/QT-symbol.png]]></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">Image</Property> - <Property name="name"><![CDATA[Image]]></Property> - </TextureData> -</MaterialData>
\ No newline at end of file diff --git a/tests/scenes/simple_cube_animation/materials/Copper.materialdef b/tests/scenes/simple_cube_animation/materials/Copper.materialdef deleted file mode 100644 index 76880986..00000000 --- a/tests/scenes/simple_cube_animation/materials/Copper.materialdef +++ /dev/null @@ -1,14 +0,0 @@ -<MaterialData version="1.0"> - <Property name="uEnvironmentTexture" type="Texture"><![CDATA[./maps/materials/spherical_checker.png]]></Property> - <Property name="uEnvironmentMappingEnabled">True</Property> - <Property name="uBakedShadowTexture" type="Texture"><![CDATA[./maps/materials/shadow.png]]></Property> - <Property name="uShadowMappingEnabled">False</Property> - <Property name="roughness">0</Property> - <Property name="metal_color">0.807843 0.45098 0.211765 1</Property> - <Property name="sourcepath"><![CDATA[./materials/copper.shader]]></Property> - <Property name="importid"></Property> - <Property name="importfile"></Property> - <Property name="type">CustomMaterial</Property> - <Property name="name"><![CDATA[materials/Copper]]></Property> - <Property name="path"><![CDATA[C:/dev/qt/NDD/qt3ds2/tests/scenes/simple_cube_animation/materials/Copper.materialdef]]></Property> -</MaterialData>
\ No newline at end of file diff --git a/tests/scenes/simple_cube_animation/materials/copper.shader b/tests/scenes/simple_cube_animation/materials/copper.shader deleted file mode 100644 index cf9e1ad4..00000000 --- a/tests/scenes/simple_cube_animation/materials/copper.shader +++ /dev/null @@ -1,178 +0,0 @@ -<Material name="copper" version="1.0"> - <MetaData > - <Property formalName="Environment Map" name="uEnvironmentTexture" description="Environment texture for the material" type="Texture" filter="linear" minfilter="linearMipmapLinear" clamp="repeat" usage="environment" default="./maps/materials/spherical_checker.png" category="Material"/> - <Property formalName="Enable Environment" name="uEnvironmentMappingEnabled" description="Enable environment mapping" type="Boolean" default="True" category="Material"/> - <Property formalName="Baked Shadow Map" name="uBakedShadowTexture" description="Baked shadow texture for the material" type="Texture" filter="linear" minfilter="linearMipmapLinear" clamp="repeat" usage="shadow" default="./maps/materials/shadow.png" category="Material"/> - <Property formalName="Shadow Mapping" name="uShadowMappingEnabled" description="Enable shadow mapping" type="Boolean" default="False" category="Material"/> - <Property formalName="Roughness" name="roughness" type="Float" min="0.000000" max="1.000000" default="0.000000" description="Roughness of the material.\n0 = fully specular\n1 = fully diffuse" category="Material"/> - <Property formalName="Metal Color" name="metal_color" type="Color" default="0.805 0.395 0.305" description="Color of the material" category="Material"/> - </MetaData> - <Shaders type="GLSL" version="330"> - <Shader> - <Shared> </Shared> -<VertexShader> - </VertexShader> - <FragmentShader> - -// add enum defines -#define scatter_reflect 0 -#define scatter_transmit 1 -#define scatter_reflect_transmit 2 - -#define QT3DS_ENABLE_UV0 1 -#define QT3DS_ENABLE_WORLD_POSITION 1 -#define QT3DS_ENABLE_TEXTAN 1 -#define QT3DS_ENABLE_BINORMAL 0 - -#include "vertexFragmentBase.glsllib" - -// set shader output -out vec4 fragColor; - -// add structure defines -struct layer_result -{ - vec4 base; - vec4 layer; - mat3 tanFrame; -}; - - -// temporary declarations - vec4 tmpShadowTerm; - -layer_result layers[1]; - -#include "SSAOCustomMaterial.glsllib" -#include "sampleLight.glsllib" -#include "sampleProbe.glsllib" -#include "sampleArea.glsllib" -#include "square.glsllib" -#include "calculateRoughness.glsllib" -#include "evalBakedShadowMap.glsllib" -#include "evalEnvironmentMap.glsllib" -#include "luminance.glsllib" -#include "microfacetBSDF.glsllib" -#include "physGlossyBSDF.glsllib" -#include "simpleGlossyBSDF.glsllib" -#include "fresnelLayer.glsllib" - -bool evalTwoSided() -{ - return( false ); -} - -vec3 computeFrontMaterialEmissive() -{ - return( vec3( 0, 0, 0 ) ); -} - -void computeFrontLayerColor( in vec3 normal, in vec3 lightDir, in vec3 viewDir, in vec3 lightDiffuse, in vec3 lightSpecular, in float materialIOR, float aoFactor ) -{ -#if QT3DS_ENABLE_CG_LIGHTING - layers[0].base += tmpShadowTerm * vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += tmpShadowTerm * microfacetBSDF( layers[0].tanFrame, lightDir, viewDir, lightSpecular, materialIOR, roughness, roughness, scatter_reflect ); - -#endif -} - -void computeFrontAreaColor( in int lightIdx, in vec4 lightDiffuse, in vec4 lightSpecular ) -{ -#if QT3DS_ENABLE_CG_LIGHTING - layers[0].base += tmpShadowTerm * vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += tmpShadowTerm * lightSpecular * sampleAreaGlossy( layers[0].tanFrame, varWorldPos, lightIdx, viewDir, roughness, roughness ); - -#endif -} - -void computeFrontLayerEnvironment( in vec3 normal, in vec3 viewDir, float aoFactor ) -{ -#if !QT3DS_ENABLE_LIGHT_PROBE - layers[0].base += tmpShadowTerm * vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += tmpShadowTerm * microfacetSampledBSDF( layers[0].tanFrame, viewDir, roughness, roughness, scatter_reflect ); - -#else - layers[0].base += tmpShadowTerm * vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += tmpShadowTerm * sampleGlossyAniso( layers[0].tanFrame, viewDir, roughness, roughness ); - -#endif -} - -vec3 computeBackMaterialEmissive() -{ - return( vec3(0, 0, 0) ); -} - -void computeBackLayerColor( in vec3 normal, in vec3 lightDir, in vec3 viewDir, in vec3 lightDiffuse, in vec3 lightSpecular, in float materialIOR, float aoFactor ) -{ -#if QT3DS_ENABLE_CG_LIGHTING - layers[0].base += vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += vec4( 0.0, 0.0, 0.0, 1.0 ); -#endif -} - -void computeBackAreaColor( in int lightIdx, in vec4 lightDiffuse, in vec4 lightSpecular ) -{ -#if QT3DS_ENABLE_CG_LIGHTING - layers[0].base += vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += vec4( 0.0, 0.0, 0.0, 1.0 ); -#endif -} - -void computeBackLayerEnvironment( in vec3 normal, in vec3 viewDir, float aoFactor ) -{ -#if !QT3DS_ENABLE_LIGHT_PROBE - layers[0].base += vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += vec4( 0.0, 0.0, 0.0, 1.0 ); -#else - layers[0].base += vec4( 0.0, 0.0, 0.0, 1.0 ); - layers[0].layer += vec4( 0.0, 0.0, 0.0, 1.0 ); -#endif -} - -float computeIOR() -{ - return( false ? 1.0 : luminance( vec3( 1, 1, 1 ) ) ); -} - -float evalCutout() -{ - return( 1.000000 ); -} - -vec3 computeNormal() -{ - return( normal ); -} - -void computeTemporaries() -{ - tmpShadowTerm = evalBakedShadowMap( texCoord0 ); -} - -vec4 computeLayerWeights( in float alpha ) -{ - vec4 color; - color = fresnelLayer( normal, vec3( 25.65, 25.65, 25.65 ), 1.000000, metal_color.rgb, layers[0].layer, layers[0].base, alpha ); - return color; -} - - -void initializeLayerVariables(void) -{ - // clear layers - layers[0].base = vec4(0.0, 0.0, 0.0, 1.0); - layers[0].layer = vec4(0.0, 0.0, 0.0, 1.0); - layers[0].tanFrame = orthoNormalize( mat3( tangent, cross(normal, tangent), normal ) ); -} - - </FragmentShader> - </Shader> - </Shaders> -<Passes > - <ShaderKey value="4"/> - <LayerKey count="1"/> - <Pass > - </Pass> -</Passes> -</Material> diff --git a/tests/scenes/simple_cube_animation/presentations/simple_cube_animation.uip b/tests/scenes/simple_cube_animation/presentations/simple_cube_animation.uip deleted file mode 100644 index f8fae907..00000000 --- a/tests/scenes/simple_cube_animation/presentations/simple_cube_animation.uip +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<UIP version="6" > - <Project > - <ProjectSettings author="" company="" presentationWidth="600" presentationHeight="600" maintainAspect="False" preferKtx="False" > - <CustomColors count="16" >#7391ff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors> - </ProjectSettings> - <Graph > - <Scene id="Scene" > - <Layer id="Layer" variants="" > - <Camera id="Camera" /> - <Light id="Light" > - <Model id="Sphere" variants="" > - <Material id="Default_animatable" /> - </Model> - </Light> - <Model id="Cube" variants="" > - <Material id="Basic Green_animatable" /> - </Model> - <Model id="Cube2" variants="" > - <Material id="Basic Red_animatable" /> - </Model> - </Layer> - </Scene> - </Graph> - <Logic > - <State name="Master Slide" component="#Scene" > - <Add ref="#Layer" background="SolidColor" backgroundcolor="0.584314 0.0941176 0.34902 1" /> - <Add ref="#Camera" /> - <Add ref="#Light" brightness="400" lighttype="Point" > - <AnimationTrack property="position.x" type="EaseInOut" >0 -341.785 100 100 5 269.972 100 100</AnimationTrack> - <AnimationTrack property="position.y" type="EaseInOut" >0 0 100 100 5 0 100 100</AnimationTrack> - <AnimationTrack property="position.z" type="EaseInOut" >0 0 100 100 5 0 100 100</AnimationTrack> - </Add> - <State id="Scene-Slide1" name="Slide1" playmode="Play Through To..." > - <Set ref="#Layer" endtime="5000" > - <Action id="Layer-Action" eyeball="True" triggerObject="#Scene" event="onPressureDown" targetObject="#Scene" handler="Next Slide" /> - </Set> - <Set ref="#Camera" endtime="5000" /> - <Set ref="#Light" endtime="5000" /> - <Add ref="#Sphere" name="Sphere" endtime="5000" scale="0.1 0.1 0.1" sourcepath="#Sphere" /> - <Add ref="#Default_animatable" name="Default_animatable" blendmode="Normal" bumpamount="0.5" diffuse="1 1 0 1" diffuselightwrap="0" displaceamount="20" emissivecolor="1 1 1 1" emissivepower="0" fresnelPower="0" importfile="" importid="" ior="1.5" opacity="100" shaderlighting="None" sourcepath="" specularamount="0" specularmodel="Default" specularroughness="0" speculartint="1 1 1 1" translucentfalloff="1" type="Material" vertexcolors="False" /> - <Add ref="#Cube" name="Cube" endtime="5000" position="-458.877 -70.3589 600" sourcepath="#Cube" > - <AnimationTrack property="rotation.x" type="EaseInOut" >0 0 100 100 1 0 100 100 4 0 100 100 5 90 100 100 7 90 100 100 10 0 100 100</AnimationTrack> - <AnimationTrack property="rotation.y" type="EaseInOut" >0 0 100 100 1 0 100 100 4 90 100 100 5 0 100 100 7 0 100 100 10 0 100 100</AnimationTrack> - <AnimationTrack property="rotation.z" type="EaseInOut" >0 0 100 100 1 -90 100 100 4 -90 100 100 5 -90 100 100 7 0 100 100 10 0 100 100</AnimationTrack> - <AnimationTrack property="scale.x" type="EaseInOut" >0 1 100 100 2 1.5 100 100 3 1.5 100 100 6 2 100 100 7 1 100 100 8 1 100 100 9 1 100 100</AnimationTrack> - <AnimationTrack property="scale.y" type="EaseInOut" >0 1 100 100 2 1.5 100 100 3 1.5 100 100 6 2 100 100 7 2 100 100 8 1 100 100 9 1 100 100</AnimationTrack> - <AnimationTrack property="scale.z" type="EaseInOut" >0 1 100 100 2 1 100 100 3 1.5 100 100 6 2 100 100 7 2 100 100 8 2 100 100 9 1 100 100</AnimationTrack> - </Add> - <Add ref="#Basic Green_animatable" name="Basic Green_animatable" blendmode="Normal" bumpamount="0.5" diffuse="0.180392 1 0 1" diffuselightwrap="0" displaceamount="20" emissivecolor="1 1 1 1" emissivepower="0" fresnelPower="0" importfile="" importid="" ior="1.5" opacity="100" shaderlighting="Pixel" sourcepath="" specularamount="0" specularmodel="Default" specularroughness="0" speculartint="1 1 1 1" translucentfalloff="1" type="Material" vertexcolors="False" /> - </State> - <State id="Scene-Slide2" name="Slide2" playmode="Play Through To..." playthroughto="Previous" > - <Set ref="#Layer" endtime="5000" /> - <Set ref="#Camera" endtime="5000" /> - <Set ref="#Light" endtime="5000" /> - <Add ref="#Cube2" name="Cube2" endtime="5000" position="-401.836 -18.4752 600" scale="3 3 3" sourcepath="#Cube" /> - <Add ref="#Basic Red_animatable" name="Basic Red_animatable" blendmode="Normal" bumpamount="0.5" diffuse="1 0 0.0156863 1" diffuselightwrap="0" displaceamount="20" emissivecolor="1 1 1 1" emissivepower="0" fresnelPower="0" importfile="" importid="" ior="1.5" opacity="100" shaderlighting="Pixel" sourcepath="" specularamount="0" specularmodel="Default" specularroughness="0" speculartint="1 1 1 1" translucentfalloff="1" type="Material" vertexcolors="False" /> - </State> - </State> - </Logic> - </Project> -</UIP> diff --git a/tests/scenes/simple_cube_animation/simple_cube_animation.uia b/tests/scenes/simple_cube_animation/simple_cube_animation.uia deleted file mode 100644 index ca2d770f..00000000 --- a/tests/scenes/simple_cube_animation/simple_cube_animation.uia +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<application xmlns="http://qt.io/qt3dstudio/uia"> - <assets initial="simple_cube_animation"> - <presentation id="simple_cube_animation" src="presentations/simple_cube_animation.uip"/> - <dataInput metadata="" name="newDataInput" type="Float"/> - </assets> - <statemachine ref="#logic"> - <visual-states> - <state ref="Initial"> - <enter> - <goto-slide rel="next" element="main:Scene"/> - </enter> - </state> - </visual-states> - </statemachine> -</application> |