Search found 29 matches

by AshmenGlue
Sat Jan 14, 2006 3:49 pm
Forum: Beginners Help
Topic: 2D Alpha Channel
Replies: 1
Views: 160

2D Alpha Channel

Is there any way to draw 2D images in Irrlicht with smooth edges. makeColorKeyTextures seems to give me very bad edges. I've looked around and only saw stuff like setMaterialType to ADD_COLOR something something. But that's for drawing 3D geometry only. I'd like to draw a 2D Image for a mouse cursor.
by AshmenGlue
Thu Jan 12, 2006 11:03 am
Forum: Beginners Help
Topic: Mapping software
Replies: 3
Views: 241

I don't get the determined by my exporter part? The API doesn't make it really clear either.

Also, if let's say my 3d mesh map has more than one texture file, what should I do? put it all into one texture file?
by AshmenGlue
Thu Jan 12, 2006 7:45 am
Forum: Beginners Help
Topic: Mapping software
Replies: 3
Views: 241

Mapping software

I've been using the Quark tutorial someone (sorry I forgot your name) posted to create maps. But maybe it's just me but I've found Quark's interface VERY clunky, compared to say Worldcraft (the now Hammer Editor). Is there a way to configure Hammer Editor to compile Quake files? Does it followe the ...
by AshmenGlue
Sun Jan 08, 2006 4:38 pm
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

Sorry dude, it was my bad. I was using setMD2Animation(scene::EMAT_STAND); and RUN and whatsoever to call my animations. Turns out it only works with the default models in Irrlicht. When I used setMD2Animation("stand"); it works perfect. Also, I've found out through some searching on the f...
by AshmenGlue
Sun Jan 08, 2006 5:57 am
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

Nono, my code WORKS. When I use the default faerie.md2 the CODE WORKS.

It's when I use my new model that the animation doesn't play.
by AshmenGlue
Sat Jan 07, 2006 6:43 pm
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

I don't think you understand. My code works with the md2 models included with irrlicht. There's wrong with this new model I made and I'm trying to find out why.
by AshmenGlue
Sat Jan 07, 2006 4:25 pm
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

I used MilkShape3D. Modelled it, then added my own joints to the mesh, assigned them to vertices, and did some simple animations. Then I made the md2.qc and exported it as an MD2.
by AshmenGlue
Sat Jan 07, 2006 9:50 am
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

dhenton9000, I've tried your way of setting the FrameLoops. It doesn't work either. The result I get is still the model playing through all its animations.
by AshmenGlue
Sat Jan 07, 2006 6:59 am
Forum: Advanced Help
Topic: String conversion and AnimationEndCallBack
Replies: 11
Views: 979

Sorry for not replying here. I've found the answer to the string problem. I used the STL func mbstowcs to convert a char* to a wchar_t*. It was that simple. I just store the received string in a char*, passed it into the funct and got my w_char_t* which I can then display on screen. Sudi: Sorry I di...
by AshmenGlue
Sat Jan 07, 2006 6:51 am
Forum: Beginners Help
Topic: Deriving class from IGUIWindow
Replies: 6
Views: 327

Maybe I could be wrong but you could try including the header file to IGUIButton since if I'm not wrong, the error apparently is cause there is some linking problem with this line :

virtual irr::gui::IGUIButton* getCloseButton(void);
by AshmenGlue
Sat Jan 07, 2006 6:45 am
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

I know what you mean. The thing is, it works when I put like faerie.md2 or sydney.md2 in. It's this model. I'm not sure what exactly I have to do for the model to work in Irrlicht. As far as I know now, the MD2 model has it's animation names correct, but it just doesn't play correctly when loaded in...
by AshmenGlue
Fri Jan 06, 2006 8:48 pm
Forum: Beginners Help
Topic: MD2 Animation Not Playing Correctly
Replies: 11
Views: 539

MD2 Animation Not Playing Correctly

This is so much of a programming question rather than a modelling one. I've created a custom MD2 model and exported it. When I load it into my program. It seems to just playthrough all the animations available, and not just the STAND animation like it's supposed to. When I hit the run button, it jum...
by AshmenGlue
Fri Dec 30, 2005 10:51 am
Forum: Advanced Help
Topic: String conversion and AnimationEndCallBack
Replies: 11
Views: 979

This is really really very frustrating. rincewind your code compiles fine but when I try to print it I get some crazy symbols or hexidecimal. I've tried printing the result with printf (I get crazy stuff), with cout (hexidecimal), with wcout(nothing shows up). I even tried converting the wchar_t bac...
by AshmenGlue
Thu Dec 29, 2005 8:48 pm
Forum: Advanced Help
Topic: String conversion and AnimationEndCallBack
Replies: 11
Views: 979

Sudi: Even after removing the c_str() I still get the second type cast error. Why is that so?

dhenton9000: I'm downloading it right now. Thanks.
by AshmenGlue
Thu Dec 29, 2005 5:48 pm
Forum: Advanced Help
Topic: Changing Gamestates
Replies: 6
Views: 627

Thanks. I used IrrWizard partially to work out a structure.