Re: [realXtend] SkyX component in tundra
Thanks Ali for giving it a look.. :) On Tue, Apr 24, 2012 at 7:45 PM, Ali Kämäräinen stinkfi...@gmail.comwrote: Just tested this myself, and seems that there is a bug somewhere. Will investigate in the near future. -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org
[realXtend] SkyX component in tundra
Hi, I have used SkyX component in the scene. I have set time multiplier to 0.02. Since the time is different on different clients, it shows different environment settings on the clients. How can I synchronize the time among the clients?? Regards, Vaibhav Vaidya -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] SkyX component in tundra
Hi, Set 'timeMultiplier' to 0 and use the 'time' attribute to synchronize the time between all participants. The changes that the time multiplier does for the 'time' attribute are not replicated as it would produce substantial amount of the network traffic. If you want to animate the time, you can create a simple script that increments the time attribute, say, each 10 seconds. Grey skies, Ali Kämäräinen -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] SkyX component in tundra
On Apr 23, 2012, at 7:46 PM, Vaibhav Vaidya wrote: I tried this also. I created a simple script which increments the time attribute by some amount but the problem is that if I choose run mode to server, the script doesn't execute. And, if I choose run mode to both, the second client gets initialized with some initial value and it starts increment from that value and hence, not synchronized with the previously connected client. Perhaps the server doesn't run with SkyX as it needs shaders etc? If that's the case, one solution is to have a abstract server side script that only does the incrementing, and then another script on the client side that reads those values and puts them to SkyX. Vaibhav ~Toni On Mon, Apr 23, 2012 at 7:38 PM, Ali Kämäräinen stinkfi...@gmail.com wrote: Hi, Set 'timeMultiplier' to 0 and use the 'time' attribute to synchronize the time between all participants. The changes that the time multiplier does for the 'time' attribute are not replicated as it would produce substantial amount of the network traffic. If you want to animate the time, you can create a simple script that increments the time attribute, say, each 10 seconds. Grey skies, Ali Kämäräinen -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org
Re: [realXtend] SkyX component in tundra
Ok.. I can write a script which runs on the server but how to write a some other script script read value from this script? On Mon, Apr 23, 2012 at 10:20 PM, Toni Alatalo t...@playsign.net wrote: On Apr 23, 2012, at 7:46 PM, Vaibhav Vaidya wrote: I tried this also. I created a simple script which increments the time attribute by some amount but the problem is that if I choose run mode to server, the script doesn't execute. And, if I choose run mode to both, the second client gets initialized with some initial value and it starts increment from that value and hence, not synchronized with the previously connected client. Perhaps the server doesn't run with SkyX as it needs shaders etc? If that's the case, one solution is to have a abstract server side script that only does the incrementing, and then another script on the client side that reads those values and puts them to SkyX. Vaibhav ~Toni On Mon, Apr 23, 2012 at 7:38 PM, Ali Kämäräinen stinkfi...@gmail.comwrote: Hi, Set 'timeMultiplier' to 0 and use the 'time' attribute to synchronize the time between all participants. The changes that the time multiplier does for the 'time' attribute are not replicated as it would produce substantial amount of the network traffic. If you want to animate the time, you can create a simple script that increments the time attribute, say, each 10 seconds. Grey skies, Ali Kämäräinen -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org -- http://groups.google.com/group/realxtend http://www.realxtend.org