Search found 19 matches

by KAHIMA
Fri Jul 17, 2009 3:02 am
Forum: Beginners Help
Topic: uncompressed x ??
Replies: 3
Views: 743

uncompressed x ??

When i try to load .x to my program, there are error message "Only uncompressed x files currently supported".
My question, are there some code to uncompressed this file in Irrlicht???
by KAHIMA
Sat Jul 11, 2009 8:47 pm
Forum: Beginners Help
Topic: Increase Frame per Second
Replies: 3
Views: 541

Increase Frame per Second

What's usually that make the frame per second decrease ?
Before this, i try to run my program, and the fps > 300 but know i run the program the fps just = 4, what should I check first to solve this problem??

int fps = driver->getFPS();
if (lastFPS != fps)
{ core::stringw str = L"";
str ...
by KAHIMA
Sat Jul 11, 2009 4:58 am
Forum: Beginners Help
Topic: How to use XML writer??
Replies: 8
Views: 796

when i run this code, the first xml data was replaced by the second xml data, and the second replaced by the third, how i can make the xml data that the previous data will not replace by the newest one??
by KAHIMA
Fri Jul 03, 2009 5:03 am
Forum: Beginners Help
Topic: How to use XML writer??
Replies: 8
Views: 796

thank you...:)
by KAHIMA
Fri Jul 03, 2009 4:09 am
Forum: Beginners Help
Topic: How to use XML writer??
Replies: 8
Views: 796

I get something trouble when I used this
writer->writeElement(L"CharacterName",false, L"value", characterName);

where characterName is variable that used to save text...
core::stringw characterName = "Hai";

but when I use this
writer->writeElement(L"CharacterName",false, L"value", L ...
by KAHIMA
Thu Jun 18, 2009 6:50 pm
Forum: Beginners Help
Topic: How to use XML writer??
Replies: 8
Views: 796

How to use XML writer??

I have some data, the type is stringc.

data3 = found2->getText();
const char *c_str3 = data3.c_str();

for example the type variable data3 is stringc, and there are 5 others the same type data, I want to write the value from the variabel using xml writer..
I already open the manual but i don't ...
by KAHIMA
Sat Jun 06, 2009 3:42 am
Forum: Beginners Help
Topic: Event Reciver...
Replies: 2
Views: 277

Event Reciver...

Sorry 4 bad english... I already make some 3d visualization , and to rendering the terrain i use class and constructor using IEventReceiver and in the same file i make user interface, and detect some button clicked.
In the terrain function i use
// create event receiver
MyEventReceiver receiver ...
by KAHIMA
Sun May 31, 2009 10:49 am
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

What do you mean with ICompassSceneNode, i could't find it...
Where i can found the tutorial and the library? I really new in this case...
by KAHIMA
Fri May 29, 2009 7:54 pm
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

while(device->run())
if (device->isWindowActive())
{
driver->beginScene(true, true, 0 );
SMaterial m;
m.Lighting = false;
driver->setMaterial(m);
driver->setTransform(video::ETS_WORLD, core::matrix4());
driver->draw3DLine(vector3df(0,0,0),vector3df(1,0,0),video::SColor(255,255,0,0 ...
by KAHIMA
Fri May 29, 2009 3:24 pm
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

Code: Select all

SMaterial m;
   m.Lighting=false;
   driver->setMaterial(m);
   driver->setTransform(video::ETS_WORLD, core::matrix4());
it's that true?? but i still can't see my line...
by KAHIMA
Fri May 29, 2009 2:12 pm
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

I still can't see the line... whereas i did your suggestion to write between while device run etc....
by KAHIMA
Fri May 29, 2009 1:47 pm
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

Would you like to give me the way to create the line per frame ? I dont know how to create that?
by KAHIMA
Fri May 29, 2009 9:06 am
Forum: Beginners Help
Topic: I can't see my 2Dline...
Replies: 13
Views: 898

I can't see my 2Dline...

I've made a speedometer but the needle can't be seen??what am I supposed to do??Please help...
Here's the my source code :

video::IVideoDriver* driver = device->getVideoDriver();
gui::IGUIEnvironment* env = device->getGUIEnvironment();
driver-> draw2DLine (position2d <s32> (20, 20), position2d ...
by KAHIMA
Tue Apr 07, 2009 8:58 am
Forum: Beginners Help
Topic: How to make speed indicator??
Replies: 5
Views: 521

I already made the picture,,what should I do next??
How does I make it??
I don't have any idea how to make it...
by KAHIMA
Tue Apr 07, 2009 8:12 am
Forum: Beginners Help
Topic: How to make speed indicator??
Replies: 5
Views: 521

Yups... i want to make speedometer... How can i create it??