March 1931
icon1 admin | icon2 Flex , Projects | icon4 03 31st, 2009 | icon3 No Comments »

Hello. It's been some time since the last post for several reasons: 1) do not have time to be nothing, 2) lack of time, fashion, 3) Good weather motorcycle pojeżdzenie :)

In this work we started a fairly large project that will be used to support certain events. The whole will be written in the flexi + php database connection. The project decided to use "serious" framework, rather, because my simple advice could not have (come on its part will be used). To flex are two popular frameworks based on MVC: Cairngorm and pureMVC . Both frameworks are free. We chose pureMVC because it has often been featured in various major forums, it is ported to several (teen) languages (eg C + +, Java, C #, PHP, etc.) and is not combine for everything, but has the same architecture of MVC, and for this very little "weighed". The first day he went to fight with him but already it is with any other similar remuneration przystępniejszy and easier to understand. I really like it, certainly speed up the production system and to facilitate its subsequent expansion.

In addition, the company I write a program to support workers and project management. Here the whole is written in C + +, wxWidgets library (rox!) To the GUI, and mysqlpp to connect to mySQL database, which also use the program. The program will help to log what you did, how much time is spent and on what, thanks to us will be easier in a future oceniach temporary work, and we will have a better representation of time which we spent a given task. Not long into this space the screen from the main screen of the program.

Even propo wxWidgets reminded me of one important thing. If someone bothers need to download sources and compile them (after compiling the directory takes about 1GB!) And wondered why it has not finished libek I have a solution for him: wxPack. It is a "package" ready for Visual'a libek and mingw, additionally contains optional controls and best free designer this is bibloteki wxFormBuilder. Obviously, everything in the stable versions najowszych duzoooo and occupying less space and time than manually compiling it.

March 1917
Engine 2 cont'd
icon1 admin | icon2 Projects | icon4 03 17th, 2009 | icon3 3 Comments »

Now that I have support for shaders would be a sin not to use them to post processing. But for this I missed one more thing: fast rendering to texture. I did this earlier but using free methods such as glCopyPixels. Fortunately, OpenGL has introduced something much faster, namely: Frame Buffer Object. This extension gives us the opportunity to 'off screen' 'rendering of this scene to the texture but not only. It is also possible to record whether the depth buffer stencil'a. I was able to implement this to my renderer, and by the way I wrote the tests, the three simple effects post processing'owe: bloom, grayscale and Sephia. Below screenshots showing this effect (in the lower left corner of the scene is rendered using the square to a small FBO in which these effects can be seen in the background scene rendered "normal")

March 1915
Some demoscene ...
icon1 admin | icon2 demoscene , design | icon4 03 15th, 2009 | icon3 1 Comment »

Hello. Recently the Polish demoscene portal (www.scene.pl ) Slaves came out with an interesting initiative to organize compo called "Code SCENE.PL Compo # 1". The purpose of this contest was to write a graphic effect related to a greater or lesser extent with the old scenowym effect, namely chessboard. As long scenowego nothing I did and I hunger for creativity, I decided something skrobnąć. And so, after working a few minutes after the scratch slowly until it formed a small production. Interestingly, the compo took off work until 7 (the current one is exactly the problem and its firing), which is a big success as the compo Move away during this difficult period of Polish demoscene. Perhaps this result is due to the main prize sponsored by the organizer, and not just that: a bottle of wedding wedding bimberku Slaves'a - born in 2008. I think that this award was to participate in the "doping" to work :) . Here I leave a link to the contest, which currently takes the vote, a link to my work and some illustrative screenshots.

Link to competition and other work: www.scene.pl

Link to my work: http://www.scene.pl/compo/4% 20 -% 20scene_fx_compo_bojkar.zip

Link to video: http://www.youtube.com/watch?v=N0f4XsKFRfE&feature=channel_page

Screenshots:

March 1912
Shader Editor
icon1 admin | icon2 others , designs | icon4 03 12th, 2009 | icon3 2 Comments "

Since the last shader plugged into the engine, I decided to find a convenient tool to create them. I decided to test several programs: Typhoon ShaderDesigner 1.5.9.4, Nvidia FX Composer 2.5 and AMD RenderMonkey 1.82. The main features that I wanted to have such a program are: support for GLSL, of course, speed, simple but having a lot of possibilities (changing the mesh, adding variables, material management, etc.), prompting syntax.

So let's start the first program that is Typhoon ShaderDesigner version 1.5.9.4. It was my first program for creating shaders of which have met with. With all three, the program boasts the lightest installer, which "weighs" only 10mb. Unfortunately, this involves some disadvantages but for the moment. The program fires up as soon after the start appears to us at first glance a simple and intuitive GUI. Unfortunately, as is going into it is found that the addition of uniforms, whether the texture is no longer such an intuitive and even quite 'wild'. All windows are docked, of course, but a change in their organizations is extremely coarse, and this after the change and re-activating the program, arrangement is referred to as the standard. Actual writing of code and modifikacja materials is very cool. Prompting editor has syntax that works to put it mildly weird, live your life, sometimes works and sometimes not. As the meshes we have a few ready-made objects, and we can add your own but, unfortunately, in their own format (*. gsd) for a total dyskwalfikuje this option. A major drawback of this application is that it is no longer just developed. To sum up: straight, coarse, to write quickly on something simple but fun imho more interesting not so much.

Another application I tested was a Nvidia FX Composer. This is the heaviest application of all three (weight instalki 230mb), which also shows the speed of launching applications. On my already slightly leciwym fire equipment can be a good few seconds which is not cool. As they wait longer for a few seconds appears to us the whole application, you can easily see that we are dealing with something more serious than ShaderDesigner GUI is quite strong and powerful at the same time as intuitive. You also have the dock windows but their configuration is much easier and more accurate, no problem We put the system to suit your needs. At first glance the extension list assetów (lights, meshes, textures, etc), advanced materials and textures editors. Let's go to the most important thing is the code editor. Syntax coloring and numbering of lines of code is almost identical to what we have in Visual Studio, which is nice and clear. Prompting editor has syntax and, unlike ShaderDesignera works very well. However, despite the many advantages of the program is a big minus that it dyskwalfikuję in my case: the lack of standard support GLSL. Therefore, I decided to try another program:

AMD RenderMonkey. I must admit that fimi Nvidia more than ATI's site and having not a good experience with ATI graphics cards, and behind which is also not very fond of, I thought that their soft is a lot worse than the FX Composer. But appearances can be confused and so was the case. Weight instalki is in the middle of the rest of the programs - 99MB, which is to "swallow". The downside is that you must have an account (free) for AMD to be able to download the program (in addition do not know why but I ściągało their servers on average, only 30kb / s). The program fires up as quickly as ShaderDesigner. Graphical user interface GUI reminds me of the Visual Studio 6.0, which is predictable but useful. Here we also have dockable windows, which we have any possibility to change the location and size of the gui. At first glance, we have little option but fortunately it's only an illusion. The simple and intuitive way, we can add textures, models (here we can add any mesh in popular formats, such as: 3ds, obj), variables, etc. Unfortunately some may complain to the code editor. The first thing is syntax. Key words are nicely colored, just like in Visual Studio to color the sea, but not that solid such as gl_Position colored in pink is a little too far ... the worst I could not find the option to change the color color, and we must live with the pink color . Prompting syntax is unfortunately not the best. General prompting I could not run, while prompting stores sites does have some missing me some numbering of lines of code, and also I could not find the options to include these.

In conclusion I chose RenderMonkey. First, good GLSL support, works fairly quickly (as opposed to FX Composer), is simple and yet has a much needed option. Has a well developed adding textures and changing. This program made the biggest impression on me and I will be using it.

PS I urge all coders to participate in the Code SCENE.PL Compo. I also try to take part and I'm sure the praise of his production. Details: http://www.scene.pl/

March 1
Engine Continued
icon1 admin | icon2 Projects | icon4 03 1st, 2009 | icon3 4 Comments »

Yesterday I managed to hook up shaders. I will be writing to their use of language GLSL, GLSL linking obługi-and it turned out fabulously simple. Now you can finally add some interesting effects to the renderer. Here's an example screen with an example shader.

Yesterday I got from a friend cool musical about Java:

"Saying that Java is good, because I work on all systems is like saying that anal sex is good, because it operates in both sexes."