Jump to content

[SOLVED] Possible to add external GUI-Framework


photo

Recommended Posts

Posted

Hello

 

 

Is it possible to add, over the plugin system, an other GUI-Framework into the engine?

We have only the Binary-Version of Unigine and no access to the source code.

 

 

Thanks and greets

Manuel

Posted

Hi,

 

Yes, of course, you can write a plugin that renders your custom GUI. But keep in mind there are some C++ API limitations:

1. Rendering of your GUI to a texture and passing it to the engine is not possible.

2. Engine renderer functionality is not accessible via C++ API.

3. Your GUI can be rendered only atop of the screen.

 

Other than that, all is possible! ;)

  • 5 weeks later...
Posted

Hello

 

The "big" problem with these limitations is that fullscreen will never work.

What would be very,very, very nice is a new widget type which can be accessed from c++ and provides an interface to write into the widget.

Something likes an OpenGL/DirectX overlay on some parts of the application. (where the widget is placed)

 

I have no idea if it is possible but it would be a nice extension.

 

-- A question on the edge, is it possible to get complete ActionScript sample?

 

 

Thanks

Manuel

 

Hi,

 

Yes, of course, you can write a plugin that renders your custom GUI. But keep in mind there are some C++ API limitations:

1. Rendering of your GUI to a texture and passing it to the engine is not possible.

2. Engine renderer functionality is not accessible via C++ API.

3. Your GUI can be rendered only atop of the screen.

 

Other than that, all is possible! ;)

Posted

Hi Manuel,

 

The "big" problem with these limitations is that fullscreen will never work.

It will! There is absolutely no problem with rendering in a full screen mode.

 

What would be very,very, very nice is a new widget type which can be accessed from c++ and provides an interface to write into the widget.

Something likes an OpenGL/DirectX overlay on some parts of the application. (where the widget is placed)

I have no idea if it is possible but it would be a nice extension.

For now we stick to approach when widgets are only created on the script side or loaded from UI files. With a Plugine system though, you can render anything atop of the scene.

 

-- A question on the edge, is it possible to get complete ActionScript sample?

You mean an example of a working Flash interface? A Shooter prototype uses Flash-based one.

×
×
  • Create New...