Forums Gallery Downloads LOGIN |REGISTER

[Video Tutorial] Coherent UI integration into CRYENGINE

Help others by sharing your tutorials here.


 

User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

[Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 15.04.2014, 23:11

Here is a short video tutorial, which shows the steps to integrate Coherent UI into CRYENGINE.



The integration has been updated on GitHub for v3.5.7. To get it to compile for v3.5.8 you need to make a couple of small changes, which are shown in the video.

The integration instructions are at the bottom of the Coherent UI plugin page. And many thanks to Hendrik for his Plugin SDK, which is used in the integration.

Note that you need to request the download here. I got the link to mine the next day.

And in case you missed it, here is a crydev NEWS article on Coherent UI.

Hope it helps! :)

This is the follow-up tutorial. It shows how to use Coherent UI in CRYENGINE after you have integrated it.
Last edited by crydevJim on 19.04.2014, 13:24, edited 1 time in total.
User avatar
nikxio
Just getting started
Just getting started
 
Posts: 11
Member since: 21.06.2012, 19:08
Likes: 6

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby nikxio » 16.04.2014, 11:31

Hey Jim, great work :)

To reiterate my reply from our forums, we'll be updating the plugin for the Engine-as-a-service version of CryEngine as soon as it becomes available. We're hoping that it will provide an extended graphics API so we can do a much better integration than with the FreeSDK.

The graphics bug at the end is something I have not encountered (although I am mostly testing in the GameSDK, which might have some differences) but we will definitely fix it for the new CE version.
Co-founder of Coherent Labs - high performance HTML5 User Interface solution
User avatar
Lavizh
News Posters
News Posters
 
Posts: 12487
Member since: 04.12.2007, 03:23
Location: Planet Tellus
Likes: 786

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby Lavizh » 16.04.2014, 11:43

Should also point out that CoherentUI is not free for commercial usage.
 
 
Image
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 16.04.2014, 21:05

nikxio wrote:Hey Jim, great work :)

To reiterate my reply from our forums, we'll be updating the plugin for the Engine-as-a-service version of CryEngine as soon as it becomes available. We're hoping that it will provide an extended graphics API so we can do a much better integration than with the FreeSDK.

The graphics bug at the end is something I have not encountered (although I am mostly testing in the GameSDK, which might have some differences) but we will definitely fix it for the new CE version.

Sounds great. Thanks for the quick reply.
User avatar
SalahAdDin
Skilled Developer
Skilled Developer
 
Posts: 725
Member since: 20.01.2012, 01:57
Location: Bogotà, Colombia - Istanbul, Turkiye
Likes: 21

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby SalahAdDin » 16.04.2014, 21:49

Wow, thank you very much, THANK YOU :D
Please, don`t Kill me. I speak English so so. Some times i used google translator XD.
User avatar
terbo
Just getting started
Just getting started
 
Posts: 2
Member since: 29.03.2014, 08:03
Likes: 0

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby terbo » 17.04.2014, 18:35

Very cool! Thank you for the tutorial, I followed it and it worked!

Question: How do I interact with the browser anyway? I found a short video on yourtube (/watch?v=Rai7vxH_gs8) that shows it being used but have not found anything on how to actually use it. I am pretty new to Cryengine and CoherentUI.

Thanks again.
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 17.04.2014, 19:26

terbo wrote:Very cool! Thank you for the tutorial, I followed it and it worked!

Thanks, I'm glad it helped!
terbo wrote:Question: How do I interact with the browser anyway?

That's a good question, I haven't figured that out myself yet. Maybe nikxio (or someone else) can shed some light.
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 17.04.2014, 19:47

terbo wrote:Question: How do I interact with the browser anyway?

OK, I figured it out :-)

I had to add a FG node called "SetInput" like in this screenshot:

FG.jpg

This page has some useful tips.

CoherentUI_Plugin:SetInput

Switch input between player and Coherent UI. When enabled, all input is sent to Coherent UI and the mouse cursor is displayed.

Inputs:
Activate Activate the node
Enabled Boolean argument. True enables input to Coherent UI, false disables it
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 17.04.2014, 20:27

nikxio wrote:The graphics bug at the end is something I have not encountered (although I am mostly testing in the GameSDK, which might have some differences) but we will definitely fix it for the new CE version.

Good hint Nick. When I run GameSDK, the HUD shows up correctly:

HUD.jpg

Nice :)
User avatar
terbo
Just getting started
Just getting started
 
Posts: 2
Member since: 29.03.2014, 08:03
Likes: 0

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby terbo » 18.04.2014, 06:38

Thanks again! I am able to interact with the browser now. :)
User avatar
nikxio
Just getting started
Just getting started
 
Posts: 11
Member since: 21.06.2012, 19:08
Likes: 6

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby nikxio » 19.04.2014, 17:49

The editor glitch is fixed now, by the way, someone had forgotten to take into account the texture's pitch when copying into another texture :rolleyes:
Co-founder of Coherent Labs - high performance HTML5 User Interface solution
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 19.04.2014, 18:05

nikxio wrote:The editor glitch is fixed now, by the way, someone had forgotten to take into account the texture's pitch when copying into another texture :rolleyes:

Nice one Nick. Thanks for the fix :)
User avatar
MrTECHMAU5
Just getting started
Just getting started
 
Posts: 64
Member since: 01.05.2013, 02:40
Likes: 2

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby MrTECHMAU5 » 23.04.2014, 23:28

damn!!!! nice job
User avatar
SalahAdDin
Skilled Developer
Skilled Developer
 
Posts: 725
Member since: 20.01.2012, 01:57
Location: Bogotà, Colombia - Istanbul, Turkiye
Likes: 21

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby SalahAdDin » 29.04.2014, 18:01

crydevJim wrote:
nikxio wrote:The editor glitch is fixed now, by the way, someone had forgotten to take into account the texture's pitch when copying into another texture :rolleyes:

Nice one Nick. Thanks for the fix :)


What was the bug and what is the fixed?
Please, don`t Kill me. I speak English so so. Some times i used google translator XD.
User avatar
crydevJim
Developer
Developer
 
Posts: 339
Member since: 22.06.2013, 21:46
Likes: 213

Re: [Video Tutorial] Coherent UI integration into CRYENGINE

Postby crydevJim » 29.04.2014, 20:48

The HUD was incorrectly displayed in the Editor, although fine in the GameSDK.

Here's the link which Nick provided for the fix:

https://github.com/CoherentLabs/Coheren ... d5efb38cfe


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community