Comments (10)
@billyquith Might you please rethink adding the Irrlicht renderer to GWork? I know many members of the Irrlicht community who would use GWork. If not please add documentation on how users can create their own renderers for GWork specifically and I'll go ahead and create it and post a pull request! Thank you for your time.
from gwork.
I know many members of the Irrlicht community who would use GWork.
Ok, I'll consider it. Maintaining the renderers is work though. If the people that want to use it make a comment on this issue it will make it more likely to happen. I'd be interested to know what people want to use it for.
from gwork.
I'll pass the word around; My reasoning for creating the renderer in the first place and subsequently using it was because Irrlicht's built in GUI looks absolutely horrible and is missing many of the features provided by GWork/GWEN (I hate to say that because I love the engine). I'm also very proficient in the provided controls and can use it to make beautiful in-game menus.
Fortunately the renderer for Irrlicht should require very little to no upkeep at all once it's first created. The one I made here a few years ago should basically be copy paste.
Thank you again for your time and dedication to this project!
from gwork.
You should be able to port the GWEN version pretty easily. The project uses cmake instead of premake, is all UTF8, and had a resource loader. Most of the other renderer stuff is pretty similar.
From: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=50017
The unit-tests are perfect. I'm kinda stuck using garry's fork after spending two weeks binding 72 of the control classes into lua, 30,000 lines of code later I'm not going to switch :P I'm happy to hear though this has helped someone in a commercial application!
I'm also adding reflection to Gwork, using Ponder, and this will supply Lua bindings. Hopefully I'll find some time to push this out over Xmas.
from gwork.
I originally created the Irrlicht Renderer almost 4 years ago; Somewhere during that time I got rid of my GitHub repo and lost all the work I did. Fortunately my current project doesn't require lua bindings and don't think it ever will.
Reflection to lua with Ponder sounds interesting, I could see myself using it in the future, but not for every project. Hopefully it will be an optional flag users can tick in cmake. Keep up the good work!
from gwork.
I've got it working except for a color bug which I can't pin down. Tried a boat load of things to get the yellow color to change but with no luck..
https://i.imgur.com/8SwUuj2.png
You can see the current code in this commit.
https://github.com/kklouzal/GWork/commit/39515535c4bed141d0d60cc8bc80437fa6070582
I wasn't able to get the cmake script to properly generate the project files so at the moment you have to manually add your header/library paths to the project.
from gwork.
@billyquith do you have any idea why the yellow text and blocks are appearing? If I manually change the code in the following function to set the color to red it draws everything red so it seems like GWork is setting the color to yellow somewhere when it shouldn't or not changing the color somewhere it should?
void Irrlicht::SetDrawColor(Gwk::Color color)
{
DrawColor.set((irr::u32)color.a, (irr::u32)color.r, (irr::u32)color.g, (irr::u32)color.b);
}
from gwork.
I think perhaps the get colour of pixel function is not working. It samples the skin to get a colour to be used.
from gwork.
There we go! I was still using the old naming scheme "Colour" I'm happy to see you changed it to "Color" :)
https://i.imgur.com/fK5csYE.png
from gwork.
Done.
from gwork.
Related Issues (20)
- Created a Discord server for anyone that wants to chat on GWorK
- Segfault when clicking on ImagePanel in GworkAllegro5Sample HOT 2
- CacheToTexture Never Updates Cached Textures? HOT 1
- Refactor colour picker HOT 1
- Baking FreeType Into Gwork? HOT 12
- Reduce compiler coverage in tests
- "LARGE_INTEGER" and "QueryPerformanceCounter" problem HOT 2
- Can't build OpenGL sample with MinGW HOT 1
- Can't use GWork as cmake `subdirectory`. HOT 1
- Fix OpenGL Core for OSX HOT 2
- OpenGL* renderer: UTF-8 multi-byte symbols are not rendering HOT 17
- GLFW input handler is now working with GLFW3 HOT 1
- Resource management refactoring HOT 12
- Add WYSIWYG editor
- Support multiple renderers
- Add Font Module
- Investigate Gwk::Utility::Widen too slow HOT 1
- SFML2 Compile fails - Linux Mint 18.3 HOT 2
- Error: expression in new-declarator must have integral or enumeration type HOT 1
- OpenGL renderer broken HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwork.