View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Trainee TraineeMember since: 21.11.2007, 23:13Posts: 154 Likes: 0
 

 Post Topic: Control Cryengine with your smartphone using OSC. Tutorial
PostPosted 30.10.2012, 23:19 
Hello!
This is a little video tutorial on how to use the OSC (Open Sound Control) protocol to get data in and out of CDK. This is possible thanks to hendrikp's awesome plug in system for the free sdk

http://hendrikp.github.com/Plugin_SDK/

Basically I will be using a little app called TouchOsc to talk to the engine and control things inside there using flowgraphs.

Links:

the plugin System
http://hendrikp.github.com/Plugin_SDK/
The plugin
https://github.com/hendrikp/Plugin_OSC
TouchOsc app
http://hexler.net/software/touchosc
OSC datamonitor
http://www.kasperkamperman.com/blog/osc-datamonitor/

User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 710Location: Germany Likes: 6
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 31.10.2012, 00:01 
If you ask me the best CryEngine Tutorial yet ;)

Great work and thanks to all who helped achieve it.


User avatar   Uber Modder Uber ModderMember since: 20.01.2009, 02:39Posts: 1913Location: DFW, Texas Likes: 25
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 31.10.2012, 00:32 
Awww yea.
Trying this out tonight!


Lead Flowgraph Designer, Binary Sword Pty Ltd
Flowgraphs? I'm your guy
Sarcasm is ON OFF
Quote by Lavizh:
Holy shitsticks. That's pure beauty!

Image
User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 710Location: Germany Likes: 6
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 31.10.2012, 01:26 
Quote by Tracer:
Awww yea.
Trying this out tonight!


Added a precompiled version for you guys to try ;)
https://github.com/hendrikp/Plugin_OSC/downloads

you also need the plugin sdk installer of course.


  Beginner BeginnerMember since: 29.06.2012, 03:41Posts: 31 Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 31.10.2012, 22:48 
mind = 8o

im going to have some fun with this
User avatar   Trainee TraineeMember since: 20.04.2012, 08:48Posts: 102Location: Beijing Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 29.12.2012, 16:56 
Thank hendrikp for the amazing plugin and kimba23 for the tutorial.I am trying to do the osc signal tranfer between my ipod touch(also galaxy nexus) and CDK.The osc monitor shows the pc receives the osc messege normally,but in CDK it just doesn't show any input values.
I've attach the screenshot.Please help analyze it for me.Thank you!
Attachments:

osc_mntr.jpg
osc_ip.jpg
osc_touch.jpg



WE CAN WATCH THE WORLD DEVOURED IN ITS PAIN.
User avatar   Trainee TraineeMember since: 20.04.2012, 08:48Posts: 102Location: Beijing Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 29.12.2012, 17:01 
And here is my flowgraph settings.
The sHost should be the IP of PC running CDK and the nType should be UDP-Server when we are using OSC touch to drive CDK,right?
The osc monitor receives the messege right,but the CDK just doesn't show any input values.
Please help with it.
Thank you!
Attachments:

osc_fg.jpg


WE CAN WATCH THE WORLD DEVOURED IN ITS PAIN.
  Trainee TraineeMember since: 21.11.2007, 23:13Posts: 154 Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 29.12.2012, 17:47 
Hey aldrickbanks. It all looks good, one thing you should try is to not have the osc monitor open before you open free cdk. For some reason, osc likes to send only to one program at a time.
Hope that works!
User avatar   Trainee TraineeMember since: 20.04.2012, 08:48Posts: 102Location: Beijing Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 29.12.2012, 18:21 
Appreciate it,Kimba23!Got it done.


WE CAN WATCH THE WORLD DEVOURED IN ITS PAIN.
User avatar   Trainee TraineeMember since: 20.04.2012, 08:48Posts: 102Location: Beijing Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 30.12.2012, 10:17 
Is it too greedy for one time to ask what audio analyzer you use for this tutorial:)?


WE CAN WATCH THE WORLD DEVOURED IN ITS PAIN.
  Beginner BeginnerMember since: 21.11.2012, 15:08Posts: 2 Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 26.02.2013, 14:37 
Thank you for this tutorial...
In the video you briefly mention a camera control . Any chance to get a look at the flow graph sketch for it?
  Trainee TraineeMember since: 21.11.2007, 23:13Posts: 154 Likes: 0
 

 Post Topic: Re: Control Cryengine with your smartphone using OSC. Tutori
PostPosted 26.02.2013, 15:39 
@aldrickbanks. I use a separate computer to do the sound analysis and send the data through the network, a mac in fact, I use quartz composer. i believe something like max/msp or pure data would do the trick.
@kooops Ok maybe tonight i make you a little flowgraph

cheers