Patrik Posted June 26, 2011 Share Posted June 26, 2011 PFWGui is an OpenGL gui library. The library has been mainly developed and tested in the LeadWerks engine under Windows operating system. The goal is to support any OpenGL engine but LeadWerks is the only one I've tested it with so far. A DirectX version is also planned. The library is still in a very early stage and no thorough testing has been done yet so use at your own risk. PFWGui makes use of FTGL for font rendering, Simple OpenGL Image Library (SOIL) for image loading and ksignal for the signal/slot mechanism in the gui. PFWGui + Source code is available at my google code page: http://code.google.com/p/pfwgui// Features: - Several gui components - Event driven - No dependencies to leadwerks - (should run in any opengl applications) - All "painting" is done by one class + one for font rendering. - Could be switched to allow it to run in DirectX applications also, not tested yet - Signals & slots - True Type Fonts - Customizable colors & Shapes (rounded corners) - Window Management - Window Layouts Current supported gui components: Labels Buttons Checkboxes ComboBoxes EditBoxes ListBoxes ProgressBars ScrollBars Sliders TextBoxes RadioButtons PieCharts BarCharts LineCharts Images GridView 5 Quote Link to comment Share on other sites More sharing options...
Pixel Perfect Posted June 26, 2011 Share Posted June 26, 2011 That looks very nice. I'll have a play with your demo. Thanks! Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Pixel Perfect Posted June 27, 2011 Share Posted June 27, 2011 I think you forgot to include the shaders.pak file as it wouldn't work without that. Very nice demo though Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
franck22000 Posted June 28, 2011 Share Posted June 28, 2011 Will you release this library ? Quote You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Patrik Posted June 29, 2011 Author Share Posted June 29, 2011 I think you forgot to include the shaders.pak file as it wouldn't work without that. Very nice demo though Thanks, ok I must remember to include that one in the next demo then. Will you release this library ? If I get it to such a state that I would feel comfortable releasing it and if there are people that want to use it. I would most likely make a library of it and and release it. Quote Link to comment Share on other sites More sharing options...
franck22000 Posted June 29, 2011 Share Posted June 29, 2011 Thanks for the answer Patte ! Your work is great ! Looking forward for the release ! Quote You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Rekindled Phoenix Posted June 30, 2011 Share Posted June 30, 2011 This GUI looks wonderful! I can't get it to work. Could you include / update the appropriate shaders in the RAR file? Quote Link to comment Share on other sites More sharing options...
franck22000 Posted June 30, 2011 Share Posted June 30, 2011 just copy the shader.pak file of LE SDK inside the folder and it should work Quote You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
Patrik Posted July 3, 2011 Author Share Posted July 3, 2011 I've uploaded a new demo in the first post. Now it contains the shader.pak & the used materials. No new functions or other content though. Yet... Quote Link to comment Share on other sites More sharing options...
VeTaL Posted July 3, 2011 Share Posted July 3, 2011 Troubles with picture, as for me PS: its ok now Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Patrik Posted July 13, 2011 Author Share Posted July 13, 2011 New updates: - Radio Buttons - Bar Charts & Pie Charts New demo coming when I've implemented Line Charts also. Quote Link to comment Share on other sites More sharing options...
flachdrache Posted July 22, 2011 Share Posted July 22, 2011 Now that i actually dealing with "constructing" a menu i realised that all kinds of glsl shaders are "not" reachable with in 3rd party solutions ... if you just use leadwerks build in commands it would be xtreemly nice to share your work here. anyways, keep it up. Quote AMD 64 X2 Dual 5k - 4GB - XFX GForce9800GT - nv196.21 - WinXP Sp3 zBrush4R2 - Silo2Pro - Unwrap3DPro - Gile - MaPZone2.5 Xxploration FPS in progress ... Link to comment Share on other sites More sharing options...
Mumbles Posted July 23, 2011 Share Posted July 23, 2011 Will you release this library ? If I get it to such a state that I would feel comfortable releasing it and if there are people that want to use it. I would most likely make a library of it and and release it. Oh believe me, there will be people interested in this. I am for starters. A more important question would be: is it going to be free? The only bit of a GUI I've managed to do is a progress bar... with blocks and rounded edges! (rather than a solid fill with sharp edges) Some achievement huh? This however, is exceptional stuff Quote LE Version: 2.50 (Eventually) Link to comment Share on other sites More sharing options...
flachdrache Posted July 23, 2011 Share Posted July 23, 2011 imho the style would be quit nice for a HUD too and i might snatch the idea. Number 47 uses such hud which makes it look just funktional inGame - these kinds do suffer quit easy from over doing things however. Quote AMD 64 X2 Dual 5k - 4GB - XFX GForce9800GT - nv196.21 - WinXP Sp3 zBrush4R2 - Silo2Pro - Unwrap3DPro - Gile - MaPZone2.5 Xxploration FPS in progress ... Link to comment Share on other sites More sharing options...
Patrik Posted August 1, 2011 Author Share Posted August 1, 2011 Update: - The gui is now completely event driven. No need to poll input etc. - No dependencies to leadwerks anymore. Should run in any OpenGL application. - All gui "painting" is handled by one class. Can be switched out to a DirectX "painter" to allow it to run in DirectX applications also. New Components: - Line Charts - Image component - allows scaling, zooming & panning Screen shots LineCharts Image component Oh believe me, there will be people interested in this. I am for starters. A more important question would be: is it going to be free? That's nice to hear. I haven't decided yet, but most likely it will be a free library. Quote Link to comment Share on other sites More sharing options...
franck22000 Posted August 1, 2011 Share Posted August 1, 2011 Very nice like always, you will made the life easier for hundreds of LE owners with this lib ! I want it now Quote You guys are going to be the death of me. Josh Link to comment Share on other sites More sharing options...
VeTaL Posted August 2, 2011 Share Posted August 2, 2011 What about layout editor? ))))) Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
Patrik Posted August 2, 2011 Author Share Posted August 2, 2011 Very nice like always, you will made the life easier for hundreds of LE owners with this lib ! I want it now Thanks. There are still some features missing before I can release a test version. What about layout editor? ))))) Maybe later. First I need to get window management and component layout implemented. Quote Link to comment Share on other sites More sharing options...
ZioRed Posted August 2, 2011 Share Posted August 2, 2011 Very good work! I haven't decided yet, but most likely it will be a free library. When you will be ready with a cool visual editor I would think a little more on this, it could reveal a nice earn if you sell it on Asset Store even at low price, I hate to see only models and textures on the store and I'd like to see specialized libraries and scripts there to let it grow up. Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Patrik Posted September 9, 2011 Author Share Posted September 9, 2011 Ok finally some updates The gui now supports basic window management. Resizable & movable windows. The windows can also have layouts assigned to them. The layouts handles the components attached to the window i.e. positions and rescales the components in relation to the window. A new demo is available for download in the first post if you want to check out the new features. Example Quote Link to comment Share on other sites More sharing options...
diedir Posted September 10, 2011 Share Posted September 10, 2011 really nice demo, runnig very well. it would be very interesting if you'll sell it or share it. great work things that should be in LE since beginning though.... Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Patrik Posted September 25, 2011 Author Share Posted September 25, 2011 A test version of the library is now available in the first post. To use it you need to include the "include" folder in your project and link it agains PFWGui.lib Also you need to have the ftgl.dll file in your application folder FTGL is used for font rendering. Currently the font folder is harcoded to Data/Fonts where arial.ttf must be located. A simple example is included in the examples folder. More are coming, along with some documentation. As it's a test version expect some bugs. Quote Link to comment Share on other sites More sharing options...
wayneg Posted September 25, 2011 Share Posted September 25, 2011 sweet! Quote Link to comment Share on other sites More sharing options...
Andr3wHur5t Posted September 26, 2011 Share Posted September 26, 2011 Cool! Quote Tools: AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro Programing & Scripting Languages: C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby Link to comment Share on other sites More sharing options...
peubuy Posted September 26, 2011 Share Posted September 26, 2011 Very nice! thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.