Re: [Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-27 Thread Ramy Atalla via Interest
Hi DR. SeanThanks for reply.I tried both methods none of them works, Overall I think I have a problem controlling the animation (start/stop/restart).I have a slider which generates a value between 0-5000 for the duration of the animation, On value change of the slider it calls a function which

[Interest] [Qt3d] Does the duration of NumberAnimation update when you change its value?

2016-04-25 Thread Ramy Atalla via Interest
Hi,I am trying to do a rotation animation and control the rotation speed by changing the value of the duration, But it doesn't work . My question is it feasible or there another way ? QQ2.NumberAnimation {id:wheelanimation property int carspeed:0 targets: [wheel1Transform ,

[Interest] Change image.source onClicked with if statement function

2016-04-20 Thread Ramy Atalla via Interest
Hello I am trying to emulate a traffic light,I have four images to toggle between,I made a function to check the equality of the source image and change it on click,but it doesn't work,I think the problem in checking the equality of the source. Any ideas...ThanksRamyimport QtQuick 2.4 Item{

[Interest] [QT3D] Lights

2016-04-20 Thread Ramy Atalla via Interest
HelloThere are different kinds of lights (Spot,Point,Directional,etc) in QT3D,I am trying to emulate a car headlights with foggy rays effect and taillights glowing effect . which one you recommend to use and if you can provide me with a simple example will be great.Thanks Ramy

[Interest] [QT3D] How to implement a glass material with PhongMaterial

2016-03-28 Thread Ramy Atalla via Interest
In one of the posts I read that you added a transparency alpha property to PhongMaterial, Could you please give an example of how to implement that to make glass material.Thanks Ramy ___ Interest mailing list Interest@qt-project.org