Search found 13 matches

by haffax
Tue Nov 23, 2010 12:27 pm
Forum: Off-topic
Topic: C++ or C# better for .net programming?
Replies: 5
Views: 1107

C# is better in almost all aspects when programming .Net. You have for instance linq and lambdas both of which are AFAIK not nativly supported by managed C++. Also many CLI features that are at the foundation of .Net like garbage collection and delegates are tacked onto C++ which makes them feel clu...
by haffax
Tue Nov 09, 2010 10:33 am
Forum: Off-topic
Topic: JavaScript buggy game
Replies: 8
Views: 1017

You have to start to move before the car hits the ground, else it is stuck.
by haffax
Sat Oct 23, 2010 12:17 am
Forum: Beginners Help
Topic: Hashes ...
Replies: 14
Views: 946

Well, it still depends on the question about why you want to hash the strings in the first place. If it is for performance gains when you compare or find these strings, MurmurHash clearly wins. Using MD5 actually makes comparison slower for most use cases compared to just using strcmp. MD5 uses 128b...
by haffax
Thu Oct 21, 2010 9:51 am
Forum: Beginners Help
Topic: Hashes ...
Replies: 14
Views: 946

What do you mean with "cut off strings"? Is this a hash for using strings as keys to a hash table or in some other way having a shorter handle for a string? In that case MD5 is a bad choice as are all cryptographic hashes. 128 bit hash size is overkill and hash generation is slow. Better u...
by haffax
Tue Aug 24, 2010 12:51 pm
Forum: Beginners Help
Topic: Why light not affect huge scale objects?
Replies: 3
Views: 291

When scaling a node in Irrlicht, the normals are scaled too, which messes up lighting, which is what you experience here.
To prevent this from happening, set the material flag EMF_NORMALIZE_NORMALS to true for the material of the scaled mesh.
by haffax
Wed Aug 04, 2010 10:07 am
Forum: Beginners Help
Topic: Shaders multi-pass, techniques support
Replies: 14
Views: 2276

I realize the cost of state changes and the importance of batching, but I don't see how your implied method of rendering all the first passes, then the second passes, etc. uses any less state changes. You still need to set the material once per mesh, per pass, unless you optimize it so that setMate...
by haffax
Tue Aug 03, 2010 11:36 pm
Forum: Beginners Help
Topic: Shaders multi-pass, techniques support
Replies: 14
Views: 2276

And looking at the OGRE documentation, I don't think that it automatically blends multiple passes together for you either. I think (if I'm reading this right; correct me if I'm wrong) that the techniques and passes are what I described above - just different options for what shader to use. Actually...
by haffax
Mon Oct 05, 2009 11:35 pm
Forum: Off-topic
Topic: Why so many people use MSVC?
Replies: 70
Views: 12681

Lil Margin wrote:
BTW, i thought the Express Edition was fully functional Sad , only limited for non-commercial works
really?
No.
Visual Studio Express FAQ wrote: Can I use Express Editions for commercial use?
Yes, there are no licensing restrictions for applications built using Visual Studio Express Editions.
by haffax
Sat Oct 03, 2009 11:14 pm
Forum: Off-topic
Topic: "Irrlicht" pronunciation :D.
Replies: 22
Views: 5457

Reiner has pronunciation of Irrlicht all wrong, but his Streichholzschächtelchen is almost right. Anyway, I wouldn't pronounce Irrlicht like the girl either. The lichtpart is right, but eerrrrrrr is wrong. The Irr part is more like the ur in urban, though a bit more ee-like. Hard to describe obvious...
by haffax
Mon Sep 14, 2009 10:32 pm
Forum: Project Announcements
Topic: Buggy Race
Replies: 31
Views: 14331

Nice I would say but unfortunately, the buggy seem to fly over the floor (maybe it's due to ssao). Probably more due to the glare effect. The glare steals a lot of the details too, I'd turn it down a notch or two. Also it looks from the video as if there are dark areas bleeding over to lighter ones...
by haffax
Fri Sep 11, 2009 4:33 pm
Forum: Open Discussion and Dev Announcements
Topic: Engine Screenshots for Engine - Get in Front of New Users
Replies: 9
Views: 1608

@bitplane, you should change the URLs from https to http, else users not currently logged in with their sourceforge account can't see the gallery.
by haffax
Thu Sep 10, 2009 1:42 pm
Forum: Game Programming
Topic: Framework/engine design
Replies: 9
Views: 3441

Designing an engine in UML never worked for me. Especially since class diagrams only show the static aspects and modeling dynamic aspects is way too tedious this way. After getting enough general ideas from the internet, books, etc. I start on paper by laying out subsystems in a a way that seems sen...
by haffax
Thu Aug 20, 2009 10:52 am
Forum: Game Programming
Topic: classes vs structure
Replies: 11
Views: 3404

Maybe an example for illustration: class Animal { public: virtual void call() = 0; } class Dog : public Animal { public: virtual void call() { std::cout << "woof"; } } class Cat : public Animal { public: virtual void call() { std::cout << "meow"; } } Animal* animal = createAnimal...