I am trying to programatically generate movie/video file using Google Earth COM APIs (along with Google earth Pro). But unfortunately I could not find any COM APIs to automate movie maker feature in Google earth pro.
Basically my project idea is that: client will provide tour information to server, then some server side service will launch google earth pro locally on server to export tour video to local file, which then will streamed down to client. So client will not need to have google earth plugin installed.
and also as per my knowledge generating movie file using Google earth plugin is not possible (please correct me if I am wrong)
Can anyone point me to some solution?
The Google Earth COM API is being depreciated and developers are being encouraged to use the Google Earth Plugin Api instead.
Using the plug-in in an embedded application would easily allow you to achieve this as you could just capture the frames from the plug-in and then render them to a video file using your desired codec.
I have put together a library of controls that work with the Google Earth Api in managed code. They may not be exactly what you need but they should give some idea of the main principals (e.g. loading, geocoding, screen-grab, etc)
Related
I'm working at my new mobile game. The work is going well but when I tried to use google play services at the game, it didn't work by several reasons that I couldn't understand.
There are many guides about using google play service, but still they are all scattered. So I can't totally understand about this.
Could you help me to how to use google play service step by step?
Or link that can solve my problem.
You may check this link for Google Play Games plugin for Unity. This plugin allows you to access the Google Play Games API through Unity's social interface. The plugin provides support for the following features of the Google Play Games API:
sign in
unlock/reveal/increment achievement
post score to leaderboard
cloud save read/write
show built-in achievement/leaderboards UI
events
video recording of gameplay
nearby connections
turn-based multiplayer
real-time multiplayer
To use the plugin, you must first configure your game in the Google Play Developer Console. Follow the instructions on creating a client ID. Be particularly careful when entering your package name and your certificate fingerprints, since mistakes on those screens can be difficult to recover from.
check it
play-unity-plugins
-play billing
-play instant
-play assets delivery
-anfd so on
I had started out doing a games/apps (just make for fun so doesn't have exciting gameplay) where it can read out the word that show on screen. Had tested out http://translate.google.com/translate_tts?tl=en&q=Hello%20World , but it doesn't work out so I started a trial on Google Cloud Platform, and now I stuck on how to use its Text-To-Speech function on Unity. Is it possible to use Google TTS on Unity? Cause, when I use using Google.Could.Text-To-Speech.V1 it shows error where it doesn't recognize Google.
The text-to-speech API works by making an HTTP POST request to https://texttospeech.googleapis.com/v1/text:synthesize, with the text in the body of the request. I'm not familiar with Unity3d, but a quick check of the documentation shows you can use UnityWebRequest.Post to make a HTTP POST request - note that this means your game must be online.
Check the quickstart guide for more information.
Alternatively, a quick Google search shows there are various plugins/assets available directly for Unity3d which may be better suited.
I'm interested in using Actions and the Assistant to create dynamic dialog for a video game.
Specifically I would want players to be able to speak (literally) to characters and for the characters responses to be determined by Actions, just like the Assistant.
Is there any version of the Assistant available that can be integrated into a game? As far as I can see they offer a lot of the building block services to developers, through the cloud, but nothing as fully featured as Google Assistant
Sounds like a cool scenario. Not something Actions on Google supports directly, but if you want to experiment, you could use the Google Assistant SDK to host the Assistant in your game and respond to queries that are meant for your players.
https://developers.google.com/assistant/sdk/
Love to see what you come up with.
It pretty much comes down to which Framework you use when building your game. If you use Unity for instance, you can use API.AI's Unity SDK.
There are also a lot of other SDKs provided. I don't think you really have to include the complete Google Assistant SDK, since you most likely will want to write your own responses (?). Some SDKs have speech recognition included, for others you will need a Speech Recignition framework, for instance Google Cloud Speech API.
I want to implement WebGL model viewer using Unity. This viewer is integrated into existing website. On this website there is a list of models and when user clicks on a model a window pops out displaying this model (like sketchfab). I integrate model viewer which was built with Unity WebGL using
<iframe src="./path-to-unity-webgl-viewer"></iframe>
How can I communicate with the viewer. Is there a way to create some javascript API using Unity which can be accessed from outside Unity app?
Yes! See: https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html
I did this for my games site, https://simmer.io by using SendMessage and JSLib as described in that article. Once you have that communication going, you need to do an additional layer of cross frame communication.
If this is on the same domain as you, it's easy (Communication between iFrames?). If the frames are on separate domains, you use cross domain messaging. See: http://blog.teamtreehouse.com/cross-domain-messaging-with-postmessage
I want to load a 3D object from a URL to a CloudRecoTarget, anyone knows how to do it?
Can you specify your intention more precise? I'm not sure if if get it.
Where is your problem and what kind of technology are you using (App, Server...)?
I guess you want to upload a 3D object, that you are downloading from somewhere of the web, to the Vuforia Cloud Database to create a Vuforia Marker that can be used in Unity for an AR application.
Usually you have a server that handles the communication between the app and the Vuforia API. Your server can simply add a target (your 3d object) to the cloud database and after analysing the target you can download the marker from Vuforia. That's the way I've done it.
Probably you can do this without a server using Unity and C# only. Have a look at the Vuforia API to write you own Vuforia Client in C#. Maybe there is a code snippet somewhere.