Search found 9650 matches

by CuteAlien
Tue Apr 11, 2006 3:00 pm
Forum: Beginners Help
Topic: Trying to get ambience on purely transparent polygons
Replies: 5
Views: 185

hybrid wrote:Yes, obj files have inverted colors. Use my objmtl.patch to fix this problem.
Hm, i've posted to that already in the other thread ;). Somehowthe patch works for me only if i remove the part where the colors are inverted.
by CuteAlien
Tue Apr 11, 2006 2:47 pm
Forum: Project Announcements
Topic: Created obj + mtl loader
Replies: 42
Views: 27175

Nice work hybrid. My patch really is just a hack that "works", but so far i'm not deep enough in that stuff to provide a good solution and i'd be very glad if this could be done with less buffers :-) But i want to give feedback about another thing: In readColor you invert all the values (2...
by CuteAlien
Tue Apr 11, 2006 2:26 pm
Forum: Beginners Help
Topic: Trying to get ambience on purely transparent polygons
Replies: 5
Views: 185

Thanks, that worked. I checked my code after that again and found out that my ambience colors where inverted when loading the .obj file and it does work now also in my code :)
by CuteAlien
Tue Apr 11, 2006 12:59 pm
Forum: Beginners Help
Topic: Trying to get ambience on purely transparent polygons
Replies: 5
Views: 185

Trying to get ambience on purely transparent polygons

Not sure if this is possible, because i failed so far doing it, but maybe someone has an idea: I have a model with material type EMT_TRANSPARENT_ALPHA_CHANNEL. My textures have pixels where the r,g,b compontent is set to 0, so only the alpha component should be used. I'd like it to be shown with the...
by CuteAlien
Mon Apr 10, 2006 9:11 pm
Forum: Off-topic
Topic: What you use?
Replies: 22
Views: 1215

It's mostly Kanotix for me (a distro based on Debian-SID and Knoppix). Sometimes i boot a Win98SE, but that's mainly because i don't have other Windows-Versions here (yeah, you _can_ still buy Computers without Windows). But if i had the choice (spelled: money) my second System wouldn't be 98 but 20...
by CuteAlien
Mon Apr 10, 2006 1:15 am
Forum: Beginners Help
Topic: game with irrlicht
Replies: 7
Views: 926

I think the best way is to check out some other OpenSource games. You can find a lot of them for example at http://sourceforge.net/ Try to find one that is already working and preferably similar to your own game. Otherwise I can just give some common hints when building classes. Like "if it doe...
by CuteAlien
Fri Apr 07, 2006 6:50 pm
Forum: Advanced Help
Topic: [SOLVED]Particle disapear when node rotate and rotation glob
Replies: 16
Views: 2292

Thx Pr3t3nd3r!

I just tested your code and it worked great :-)
by CuteAlien
Thu Apr 06, 2006 5:52 pm
Forum: Beginners Help
Topic: Realtime shadows
Replies: 5
Views: 469

is there a reson why most of my posts don't get any reply? Yeah - there is this really secret 'inner' forum where we decide to whom we answer and which persons we ignore ;-) Or it might be that you just didn't search enough for other posts in this forum which describe the same problem. Unfortunalty...
by CuteAlien
Sun Apr 02, 2006 3:24 pm
Forum: Beginners Help
Topic: The general stuff about making games.
Replies: 5
Views: 424

The format of your level really depends on what you need in your game. I can give you an example of a very simple levelformat (uses tinyXml and standard template lib): struct SkyboxSettings { SkyboxSettings(); void ReadFromXml(TiXmlElement * settings_); std::string mTextureUp; // texture filename st...
by CuteAlien
Sat Apr 01, 2006 11:40 am
Forum: Advanced Help
Topic: Octree serialization to avoid huge loading time
Replies: 3
Views: 982

Creating an COctTreeTriangleSelector for OctTreeSceneNode's was also too slow for me. But the OctTreeSceneNode has certainly already an octree, so i wrote a selector which does use that octree and which get's created after the octree generation of the OctTreeSceneNode. I have still the problem that ...
by CuteAlien
Sat Apr 01, 2006 8:20 am
Forum: Advanced Help
Topic: Compiling issues w/ Irrlicht using C::B and MinGW gcc?
Replies: 2
Views: 214

Hm, i work with c::b on linux and on windows (with MingGW gcc). It worked by simply importing the dev-c++ project files in C::B. I use stl in my project and had no problems so far, but i also didn't know about the issue. So maybe i've just been lucky so far. Irrlicht itself does not use the standard...
by CuteAlien
Wed Mar 29, 2006 12:38 pm
Forum: Code Snippets
Topic: (C++) Smooth Alignment of Up-Vector (p.E to floor)
Replies: 2
Views: 3715

(C++) Smooth Alignment of Up-Vector (p.E to floor)

Neither Math nor Quaternions are my strength, but the following code works for me and might be of use for others. The problem i solved with it is was the smooth alignment of objects (like cars) which move over an uneven floor. Originally i just aligned the up-vector directly to the normal of my slid...
by CuteAlien
Tue Mar 28, 2006 3:13 pm
Forum: Beginners Help
Topic: How to set a texture with obj file ?
Replies: 8
Views: 353

by CuteAlien
Mon Mar 27, 2006 3:21 am
Forum: Advanced Help
Topic: slowdown in opengl/linux after resizing
Replies: 1
Views: 167

slowdown in opengl/linux after resizing

What happens is that my game often starts freezing on each renderstep for several seconds. This happens after resizing the application window to fullscreen, or sometimes already when it's close to fullscreen. Even when starting the application several times without recompiling this bug appears only ...
by CuteAlien
Tue Mar 21, 2006 3:42 pm
Forum: Beginners Help
Topic: How to fix fps rate
Replies: 1
Views: 336

Capping the framerate ain't necessarly a good idea (with animation stuff interpolating the positions is usually better), but basicly you just don't call the updates for drawing more often than you need it. Somthing like this (not compiled or checked): const int timeStep = 33; // 1000 / fps static in...