SdkTrays for Mogre Finally here !

durium

11-05-2013 00:50:50

Hello world!


[edit:05/13/13] : read the second post : http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=29927#p101498


So i was looking at some of the ogre samples and discovered the SdkTrays GUI System and i really liked it.
I actually want to integrate it to my app.

Does it exists for Mogre ? If not is there an easy way to integrate it ?
Thanks for your help!

durium

13-05-2013 22:08:16

So basically I had fun translating the whole SdkTrays.h from C++ to C#.

It might have some bugs in it and I'm still working on it so I'll update the post soon when i find and solve more bugs.
Also I didn't try the progress bar but it is very likely that it won't work because mogre doesn't wrap ResourceGroupListener's functions.

So have fun with it !

Note the file is to big to be posted in it's raw form so you'll have to download it from here :
  1. code on github (coloration) : https://github.com/gauberR/SkyLands/blob/10bb38eacbc422b7ef984f4a6f781f61796ad69e/SkyLands/src/main/csharp/Main/Base%20Ogre/SdkTrays.cs[/*:m]
  2. raw : https://raw.github.com/gauberR/SkyLands/10bb38eacbc422b7ef984f4a6f781f61796ad69e/SkyLands/src/main/csharp/Main/Base%20Ogre/SdkTrays.cs[/*:m][/list:u]

andyhebear1

20-05-2013 02:16:14

So basically I had fun translating the whole SdkTrays.h from C++ to C#.

It might have some bugs in it and I'm still working on it so I'll update the post soon when i find and solve more bugs.
Also I didn't try the progress bar but it is very likely that it won't work because mogre doesn't wrap ResourceGroupListener's functions.

So have fun with it !

Note the file is to big to be posted in it's raw form so you'll have to download it from here :
  1. code on github (coloration) : https://github.com/gauberR/SkyLands/blob/master/SkyLands/src/main/csharp/Main/Base%20Ogre/SdkTrays.cs[/*:m]
  2. raw : https://raw.github.com/gauberR/SkyLands/master/SkyLands/src/main/csharp/Main/Base%20Ogre/SdkTrays.cs[/*:m][/list:u]

good

Beauty

20-05-2013 14:23:58

good work, Durium :D

We should add a copy to the wiki.
So it doesn't get lost (after months or years) and other people can use it in the future.
If you like, I can create an empty wiki page for you. Than you just need to add the code, links and a few information. Also a screenshot would be nice.