<< | Next Archive>>

CopperCube 3.1, and WebGL engine Copperlicht 1.5 released

I just uploaded the latest free update of the 3D editor CopperCube (version 3.1) and at the same time also the newest update of the WebGL 3D engine CopperLicht (version 1.5).

I added an improved material window which now groups similar materials, the possibility of attaching any object to a camera (like weapons in first person shooters as described in the previous blog post), improved dynamic lighting in WebGL and Flash (it's now working exactly as in the fixed function pipeline of Direct3D and OpenGL), new actions and behaviors (restart a scene, do something before first frame, improved keyboard controlled object), dynamic variables (like "#scenenode1.health" for game AI), faster publishing, improved 3D file importers, bug fixes.
The WebGL 3D library now supports vertex colors, and just like the editor, dynamic lighting there is now also correct. Of course it supports also all the new features of CopperCube 3.1.

Phew, all that was quite some work, so I need a short break now. :)


I wonder if it would be OK to create a mail filter which automatically moves an incoming mail into the spam folder, if the mail body contains the word 'SEO'. Would anybody ever send me a mail with that word in it, and I would want to read that mail? Hm...

Why I prefer JavaScript to C++ and ActionScript when developing 3D code

I'm currently working on the next update for CopperCube. A lot of people are making games and interactive applications with it, so there are now quite a few useful feature requests for making even more stuff possible, and I'm implementing everything which I find makes sense. But I still try to keep the editor simple as it is, in order not to confuse new users. Here's a screen shot of one of the new upcoming features:

Carrying and handling animated weapons (or generally, all objects attached to the player) in the first person shooter mode will be much easier with the next update. Just drag the object to the camera, and most should work automatically. I hope to get the update out soon, but there is still a lot of work to do.

One thing I noticed is that I now tend to work on new features in WebGL mode first. I have Direct3D and OpenGL in C++, Stage3D in Actionscript and WebGL in JavaScript to choose from where I can write in code for CopperCube. And although I am a C++ person (woha, I am writing C++ code now for more than 13 years), I seem to prefer JavaScript because it is possible to make quick changes to the code, and see instantly how it works. I think it speeds up development time for certain features by a factor of at least 2. The problem with compiled languages also is that you have to wait for the sometimes slow compiler to finish, and sometimes, you get distracted during this time. (Honestly, who doesn't surf the web while waiting for the compiler?) :)

One reason obviously is that JavaScript doesn't need that long to compile (if it does at all), just hit F5 in the browser and you see your new code in action. With the powerful debuggers integrated in Chrome, Opera, Firefox and even InternetExplorer, finding bugs is a piece of cake now. The only drawback is the lack of static type checking, but for features as new and updated shaders, tweaks in existing animation code, optimizations of math routines etc, the JavaScript/WebGL combination has become my favourite now.

So if you like playing around with realtime 3D graphics and you never tried out WebGL, I can recommend to have a look at it. It's really fun.

GTB Demo

Just tried out the just released demo of Gratuitous Tank Battles. I've heard of the recent upcoming 'new' Tower Defense genre, but altough I played a few flash titles, I'm not a big fan of these games. GTB is such a game. But it's still a downloadable PC game with everything you'd expect like detailed graphics (try zooming in, really nice), good music and sound effects, and lot of features to tweak and configure your games, and a way to play online. I was positively surprised by the demo, and actually liked it.

I'd probably not tried out the game if it wasn't using the C++ audio library I've created, irrKlang. But I'll probably start this game a few times and play around with it, it's fun.

Internet Addiction

Yesterday, there was a big outage of a major cellphone and internet provider in Austria. Starting in the afternoon, no phone and internet worked until the end of the day for quite a lot of people in many regions of Austria, and I was one of them. If you are living in the countryside, and suddenly both your phone and your internet stops working, there is nothing you can do about it and you get no information about this, you feel quickly very cut off. You also notice how the internet has changed your life and that you are very, very used to it now. And you remember that a few years ago, you lived your life happily without any cellphone and internet, and it didn't really make a difference. The only problem is if you run a web based online company. :) So I'll probably get a second internet connection from a different company, in order to prevent such a thing to happen again. It would be quite bad if this would occur during the middle of a new software release, for example.

The crash will come quickly now

About a year ago I blogged about The Upcoming Collapse. Most commenting readers agreed with me on what I was writing there, but I also received a few angry mails about it, and one person even demanded furiously that I should stop writing political stuff on this blog. Well then, better stop reading right now. :)

What am I talking about

After all, as you can now see for yourself in the news, I was pretty close, and the crash is now very near. Greece (10 mio people) is de-facto bankrupt. Spain is much bigger and already there (50 Mio people), and Italy (60 Mio people) also announced they are in trouble. This now sets off an avalanche which is unstoppable. As written before: In the last 4 years since 2008, where everybody learned that this was coming, nothing, really nothing has been done by the politicians to stop this. Instead, we simply gave all our money to the banksters. All the billions of euros paid never helped anyone, except the people 'working' in the banks.

What will happen now

It's too late now for creating a solution for this fiat-money problem. Politicians will continue playing the game in order to delay the crash, but it's all too late. Banks will crash. States will. People will loose all their money. And their jobs. A few currency reforms if it goes well, political revolutions or even war if it goes bad. Don't believe a second the people telling you that this will not happen. Look for example at the Italian bank 'BNI': Last week, from one day to the other, without warning, they simply closed. (german article about this here) People are unable to access ATMs or use online Banking. They can't get to their money. It's reality. Already now. BTW: Did you see any mainstream media report about this? Probably not. What do you think why not?

What you can do now

Well, if you haven't planned for this years ago, it's probably even too late for you now. Since it's probably very likely now that you will loose all your money, take it from the bank. If you don't trust paper money, maybe also buy something nice with it which doesn't loose its value that fast. Like a car. Or something you like. Some people buy gold or silver with it. Apart from that: Yes, you are fucked now, as we are all. You can thank our politicians and the banksters for that.

Yes, sorry for this negative blog post. But it's a bit depressing seeing people talking about this crisis, telling you that nothing will happen, because the politicians just sent $x billion euros to country $y.