The same scene rendered using direct lighting (left) and global illumination (right). This feature will be included in the next version of irrEdit.
Looks great, IMO. I wanted to test if the color bleeding worked using the red cube. Some texels on the floor are a bit more red, but I'm not sure if it really does work as I wanted it too. So I built a better test scene:
Again, a scene rendered using direct lighting (left) and global illumination (right).
Obviously, color bleeding works as expected, yay. As you can see, there are some artifacts, maybe really something Steve already suspected in a comment on the previous entry. But I'm happy it looks like this so far, hope I've some time to improve this until the release.
irrEdit. The following screen shot shows the first result:
A scene lighted with a single point light, calculated with two different lighting algorithms
It doesn't look very impressive yet, I know. Especially if you compare the calculation times: The scene on the left image needed 0.3 seconds to be calculated, the right one about 40 seconds. And this gets even less impressive if you think that you can produce nearly the same result by using the fast version with a shadow opacity value of about 0.8 (which is the default value in irrEdit currently and has been changed to 1.0 here to make the difference more obvious). In addition, I'm not very sure if the result is 100% correct. I didn't make a lot of tests yet. But it's a first step.
I still have to play around and adjust some stuff in the radiosity renderer, but it works. The cool thing about it: It already theoretically can do nice things like color bleeding and area lights. Another cool feature: Everything is currently implemented in software, everything is running on the CPU, and I already prepared the renderer to run in multiple threads, on multiple cores. But I also prepared it to utilize the GPU for its calculations, just a few dozen lines need to be added to let the renderer use those crazy fast graphics hardware available today.
Cool, my work Einige BRDF Modelle is being cited in the diploma thesis of Jing Qian, 'Generierung, Verwaltung und Verarbeitung von bidirectional Texture Functions (BTFs) zur photorealistischen Bildgenerierung mit komplexen Oberflächenmodellen' (hu!). Finally it was useful for something. :)
documentary about 9/11, directly from google video, duration: 1:24h. Shows the facts in a more objective way (than sometimes usual on this blog) and IMO the incredible incompetence of the politicans as well as the strange selfcensorship of the media after 9/11. One of the interesting buzzfacts presented there which I didn't know yet:
- Money spent on the Lewinski investigation: > $100 million
- Money spent on 9/11 investigation: $3 million (after public pressure later raised to only $14 million)
this irrEdit 0.5 release announcement on the front page. Thanks for posting :)
IE7 (although not available as german version yet) has been released today, and I played around with it a bit. Nice tool. Some things I noticed:
- Tabbed browsing, yippe! But why did they make the toolbar share the same row with the tool buttons? Do they still think the average user will only open 4-5 pages at maximum at the same time? Strange. Also, it looks like there is no way to reorder the tool bar rows, only horizontal moving is possible after unlocking it. Very strange.
- Looks like they invested some time into the .rss reader. It is very clear and functional, and I like it. Except the fact that it doesn't display feeds with DTDs in it. It doesn't even try to display the real content then, it simply displays an error message.
- All fonts are now blurred or very antialiased. Makes me feel like I need new glasses. It's adjustable but a bit shocking in the beginning.
- The interface looks ugly when using the Win2k skin. With the WindowsXP style it's ok.
- The report-as-pishing-site-with-one-click-button at the bottom makes me shiver. No, nobody would ever report pages of competitors as pishing pages, right?
- Some .css stuff on some of my websites doesn't work with it anymore, but nothing important. And as long as Opera and Firefox still agree that I am right and IE is wrong, I think I'll just keep it like that.
publicity. Currently, there is a new case where this lawyer sues Take Two/Rockstar Games before their new violent game even reached the shelves. And as usual, all the media is reporting about it, ranting about the fact that this guy will never stop.
Of course, there is a way to stop him: Just stop reporting about it. It's not easy for the magazines and websites doing this, I know. It's a nice and funny topic, and a lot of readers will comment the article and start the default games-are-bad/lawyers-are-stupid discussions about it. People want to read stuff like this. But maybe the media could start by simply not mentioning the name of this lawyer. Wouldn't this be an idea? It's just how you would handle trolls in discussion boards. Heise for example did this already and is simply talking about 'a lawyer' in their article. Nice, although I don't know if this was their intention.
fefe as usual:
- As nearly every programmer, I always thought about starting a company on my own. Time to stop thinking about it? A survey indicates U.S. companies average 305 pending international lawsuits per year.
- Universities are "fertile recruiting grounds" for terrorists, according to the british government. So universities now should spy on their students. But only on "Asian-looking" and Muslim students.
- Israeli President Moshe Katsav suspected to have carried out sex crimes of rape, sexual molestation by force and without consent.
- 14 year old girl ran anti-Bush page on MySpace and then got questioned by the Secret Service.
- Since 1999, the management of the German Rail increased their own salary by 300 percent (german link).
- The police found rocket launchers, chemicals, and a nuclear or biological suit at the home of a british dentist. Wondering why there is no talk about terrorists and nothing mentioned about it in the media? Possibly correlated to the fact that the dentist doesn't look Arabic enough?
- Saying "Your policies in Iraq are reprehensible" to Cheney and get arrested for "assaulting the vice president".
- Already 650.000 people dead because of the war in Iraq (german article).
- Looks like guards at Guantanamo Bay even bragged about beating detainees and described it as a common practice.
irrEdit 0.5. It includes some new features, several bug fixes and a few added user requested features. Have fun with it. It now looks like that:
The scene loaded in the shot shows a level from Arena, a game created by Marko Jelen/Drunken Knight Games using Irrlicht. The level has been lighted with the irrEdit built in lightmapper. Here's another one:
BTW: Thanks for the overwhelming interest in irrEdit, it's quite motivating. :)
irrEdit is ugly. So I updated it a bit. Subclassed some widgets, changed some colors and icons, adapted some 3d elements. The change is not very obvious, but if you are using the tool, it feels a lot more clean now. Here's a shot:
But just wait some days, I'll release irrEdit 0.5 with some other nice new features in the next few days, so you can try it our yourself.
And BTW: Is it just me or isn't 1 GB a bit too huge for a one level multiplayer only demo? Especially if there is only one download sever in the german area, because they bought the exclusive right (which again seems very useless IMO)?
Yesterday I had to do the laundry, but unfortunately the clothes horse was full due to bad coordination with other residents here. And finally, I found some use for the network cable. I strained it three times across the whole room and it served well its new purpose. Although AK and MP already demanded it, no pictures are going to be shown of it (also because I'm trying to get rid of "AH! the Bolzplatz-Shirt again!"-comments :) ).
lightmap generator of irrEdit a bit, I modeled a small test level and placed a lot of lights into it. Unfortunately after about the 10th import of 3D data and the 20th added light, all new lights started to get 'dark' somehow. But only when using Direct Lighting, lighting without shadows had no problems. It looked like this, the light in the middle has the same brightness as the two in the background, but it influenced the scene only very subtile.
That was pretty strange. Because the level was quite huge already, and in the last 3D data import I had seen some very degenerated triangles in the geometry which I didn't create, I suspected some weired geometry to make the irrEdit collision engine (simply a collision manager optimized for raycasting) go mad. So I plugged it out and replaced it with the irrlicht buit in collision manager. The result needed some more seconds to calculate, but it was the same. Strange.
Then I reduced the test scenario by creating a new scene, importing the part of the mesh where the problem happened, placing lights at that positions and retried. The problem disappeared. Confusion. I loaded the original scene, reduced it to the same test scene by deleting not used parts but the problem still was there. More confusion.
Ok. So, why the hell didn't the light rays of that single light reach the walls? Idea: Because fortunately we are using a very flexible 3D engine under the hood and this is possible by adding only one line of code, lets just create a small white cube at the vertices of every triangle hit by the light. Just to see where the light will stop. Result:
Do you see it? All light rays stopped directly near the light! And even more strange: They form the shape of a cube! I mean, I would have understood it if the white cubes where arranged like a sphere or something similar, but a cube exactly enclosing the light? Unlikely.
And now I knew. The problem was not a bug. It was a feature of irrEdit. Stupid me. And somehow I had clicked and enabled it for that light:
In irrEdit it is possible for every object to occlude the light. And 'all objects' of course also includes lights. Which is pretty senseless, a light occluding itself makes it a bit.. ahem, dark. Shadows in irrEdit with directLighting have an adjustable opacity value, and it's at 0.8f by default, which caused that light not to be 100% dark but lighted the scene very subtile.
Conclusion: Cool, I don't even know all the features of the product I wrote myself. To prevent such a situation for users and for my stupid self in the future, and because it doesn't make a lot of sense I now disabled the possibility to enable this feature for lights.
- Anyone who breaches the "allegiance" to President Bush may soon be treated as terrorist subject to possible arrest, torture and conviction in front of a military tribunal.
- Related: Waterboarding, the apparently currently used method of torture in the U.S. looks like this.
- Debian is going to rename Firefox.
- Homeland Security is going to monitor negative opinions of U.S. in foreign countries via
- According to this study, when given brief access to NEDAP voting machines at any time before the election, anyone can gain complete and virtually undetectable control over the election results.
- C.I.A.Chief warned Rice on Al Qaeda just before Sept. 11.
this one or this from bulgaria and this from london. This one looks interesting too. I think those guys from sarajevo should have taken the trouble to improve their version a bit, because it reminds of the old school horror movies too much. :)
If you bought that newspaper last weekend, maybe you've seen a short interview with me in it. If not, and you are interested, it has been published on their website as well so you can read it there, if you speak german at least. It was my first interview with a real newspaper, until now I only did interviews per email and with websites. It was fun, and also a bit strange, because the photographer took about dozens of pictures from me, only for that small picture in there.
The article itself is nice too, as far as I can tell. Some things written in there are not correct, but who cares. Hey, its an interview with me in a real, printed newspaper, and that's pretty cool. :)