diff options
Diffstat (limited to 'tests/scenes/simple_cube_animation')
-rw-r--r-- | tests/scenes/simple_cube_animation/maps/QT-symbol.png | bin | 0 -> 4541 bytes | |||
-rw-r--r-- | tests/scenes/simple_cube_animation/maps/materials/shadow.png | bin | 0 -> 334 bytes | |||
-rw-r--r-- | tests/scenes/simple_cube_animation/maps/materials/spherical_checker.png | bin | 0 -> 11066 bytes | |||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef | 25 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/Basic Green.materialdef | 25 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/Basic Red.materialdef | 25 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef | 63 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/Copper.materialdef | 14 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/materials/copper.shader | 178 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/presentations/simple_cube_animation.uip | 62 | ||||
-rw-r--r-- | tests/scenes/simple_cube_animation/simple_cube_animation.uia | 16 |
11 files changed, 408 insertions, 0 deletions
diff --git a/tests/scenes/simple_cube_animation/maps/QT-symbol.png b/tests/scenes/simple_cube_animation/maps/QT-symbol.png Binary files differnew file mode 100644 index 0000000..752a2e2 --- /dev/null +++ b/tests/scenes/simple_cube_animation/maps/QT-symbol.png diff --git a/tests/scenes/simple_cube_animation/maps/materials/shadow.png b/tests/scenes/simple_cube_animation/maps/materials/shadow.png Binary files differnew file mode 100644 index 0000000..599b1cc --- /dev/null +++ b/tests/scenes/simple_cube_animation/maps/materials/shadow.png 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 differnew file mode 100644 index 0000000..e42394d --- /dev/null +++ b/tests/scenes/simple_cube_animation/maps/materials/spherical_checker.png diff --git a/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef b/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef new file mode 100644 index 0000000..c35d47b --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/Basic Blue.materialdef @@ -0,0 +1,25 @@ +<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 new file mode 100644 index 0000000..273a348 --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/Basic Green.materialdef @@ -0,0 +1,25 @@ +<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 new file mode 100644 index 0000000..38b8eb7 --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/Basic Red.materialdef @@ -0,0 +1,25 @@ +<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 new file mode 100644 index 0000000..4defa98 --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/Basic Texture.materialdef @@ -0,0 +1,63 @@ +<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 new file mode 100644 index 0000000..7688098 --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/Copper.materialdef @@ -0,0 +1,14 @@ +<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 new file mode 100644 index 0000000..cf9e1ad --- /dev/null +++ b/tests/scenes/simple_cube_animation/materials/copper.shader @@ -0,0 +1,178 @@ +<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 new file mode 100644 index 0000000..f8fae90 --- /dev/null +++ b/tests/scenes/simple_cube_animation/presentations/simple_cube_animation.uip @@ -0,0 +1,62 @@ +<?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 new file mode 100644 index 0000000..ca2d770 --- /dev/null +++ b/tests/scenes/simple_cube_animation/simple_cube_animation.uia @@ -0,0 +1,16 @@ +<?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> |