Search found 53 matches

by Lev_a
Tue Apr 24, 2007 7:47 pm
Forum: Beginners Help
Topic: How to make HTTP-request and download file from web-server?
Replies: 2
Views: 292

How to make HTTP-request and download file from web-server?

I'm using irrlicht for my online game, but I need periodical reading from web-server, like get some small text files. I used library "atlhttp", but since irrlicht 1.3 - I can't use it because conflict of string libraries between irrlicht and MS. Any one have ideas? I just need get body of file ...
by Lev_a
Mon Apr 03, 2006 6:37 pm
Forum: Beginners Help
Topic: (SOLVED) How make transpatent window and see my desktop?
Replies: 1
Views: 305

I found solution:

LONG Style = GetWindowLong(hwnd, GWL_STYLE);
Style &= ~WS_CAPTION; // reset bit to 0
SetWindowLong(hwnd, GWL_STYLE, Style);
RECT clientSize;
clientSize.top = 0;
clientSize.left = 0;
clientSize.right = 300;
clientSize.bottom = 300;
HRGN hRgn;
GetWindowRect(hwnd ...
by Lev_a
Mon Apr 03, 2006 3:48 pm
Forum: Beginners Help
Topic: AntiAlias and GUI. How control AntiAlias?
Replies: 7
Views: 966

Well the first thing I would do is update your video drivers. The Nvida driver is outdated. You can then continue troubleshooting if that doesn't help.
Thanx, driver updated.

But still I have same problem when I enable anti-alias - text in GUI became blury in DirX8 and VERY blury in DirX9.
I need ...
by Lev_a
Mon Apr 03, 2006 3:00 pm
Forum: Beginners Help
Topic: (SOLVED) How make transpatent window and see my desktop?
Replies: 1
Views: 305

(SOLVED) How make transpatent window and see my desktop?

I want create my game in window, not standart rectangular form - without red box with cross in right top (close window).
I want apply my skin - without standart windows system buttons and, for example, round shape.
When I tryed to do that, but driver->beginScene(true, true, irr::video::SColor(10 ...
by Lev_a
Tue Mar 21, 2006 5:02 pm
Forum: Beginners Help
Topic: [SOLVED] How change color of scene
Replies: 11
Views: 1200

JP wrote:That's what i said in my first reply :lol:
Thanx, JP.
I could not read properly.
And I found "my" solution, but it's really your idea.
Sorry, for spam.
Topic closed.
by Lev_a
Tue Mar 21, 2006 3:55 pm
Forum: Beginners Help
Topic: [SOLVED] How change color of scene
Replies: 11
Views: 1200

I found solution:

Code: Select all

       driver->beginScene();
.....
        irr::video::SColor col = irr::video::SColor(50, 0, 0, 150);
        irr::core::rect<s32> pos = irr::core::rect<s32>(0, 0, 800, 600);
        driver->draw2DRectangle(col, pos);
......
        driver->endScene();
by Lev_a
Tue Mar 21, 2006 3:29 pm
Forum: Beginners Help
Topic: [SOLVED] How change color of scene
Replies: 11
Views: 1200


Have not tried it (and cant atm), but check if you get it with:

driver->beginScene();

SMaterial mat;
mat.AmbienColor.set(150, 50, 50, 255);
driver->setMaterial( mat );

driver->endScene();


UHM, sry; havent read you didnt want to use driver->setAmbientLight(...); [probably the same effect; OR ...
by Lev_a
Mon Mar 20, 2006 10:11 pm
Forum: Beginners Help
Topic: [SOLVED] How change color of scene
Replies: 11
Views: 1200

Could you maybe draw a 2D rectangle the full size of the screen and make it a seethru dark blue colour?

I already think about it.
If any other solutions for it?
I found http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=58831#58831
and I tryed:
ModelNode->getMaterial(0).AmbientColor.set(150 ...
by Lev_a
Mon Mar 20, 2006 8:55 pm
Forum: Beginners Help
Topic: [SOLVED] How change color of scene
Replies: 11
Views: 1200

[SOLVED] How change color of scene

I want create night scene. But I don't want create real-time lights and shadows - it's really effected on fps. I just need made everything a little bit dark-blue. Like put mask on output window, but GUI - should be the same color.
I want keep:
ModelNode->setMaterialFlag(EMF_LIGHTING, false);
And I ...
by Lev_a
Thu Mar 16, 2006 4:14 pm
Forum: Beginners Help
Topic: 3PG, createFlyStraightAnimator and camera
Replies: 2
Views: 717

I think my model and camera shaked together and static object looks like shaked - it's mean model and camera not moving smoothly.
Any ideas?
Sorry for spam :oops:
by Lev_a
Thu Mar 16, 2006 4:10 pm
Forum: Beginners Help
Topic: Shaking in FlyStraightAnimator
Replies: 4
Views: 840

by Lev_a
Thu Mar 16, 2006 4:08 pm
Forum: Beginners Help
Topic: 3PG, createFlyStraightAnimator and camera
Replies: 2
Views: 717

Using http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=12038

I changed createFlyStraightAnimator for SetPosition + UpdateAbsoluteposition and still I have static objects shaked.

ModelAnim->setPosition(vector3df(leaderPosition[currentSlice]);
ModelAnim->updateAbsolutePosition ...
by Lev_a
Wed Mar 15, 2006 9:40 pm
Forum: Beginners Help
Topic: 3PG, createFlyStraightAnimator and camera
Replies: 2
Views: 717

3PG, createFlyStraightAnimator and camera

I have array of positions my model (30 positions per second) - like race.
And I have array of positions following camera.
I use:

ModelAnim = smgr->createFlyStraightAnimator(vector3df(leaderPosition[currentSlice]), vector3df(leaderPosition[currentSlice + 1]), 1000 / 30);

Model->addAnimator ...
by Lev_a
Wed Mar 15, 2006 9:25 pm
Forum: Beginners Help
Topic: array of array in irrlicht
Replies: 5
Views: 621

array of array in irrlicht

How I can create array of array and than use it like MyArray[j].

Now I used:
irr::core::array<s32> node;
and than node = ....

irr::core::array<irr::core::array<s32>> node; - it's wrong;

Or I should use:
irr::core::array<s32 *> node???
by Lev_a
Mon Mar 13, 2006 6:37 pm
Forum: Beginners Help
Topic: I still don`t know
Replies: 1
Views: 306

Use next code:

//if you have event reciever
MyEventReceiver receiver;

irr::SIrrlichtCreationParameters parameters;

parameters.AntiAlias = true;
parameters.Bits = 16;
parameters.DriverType = irr::video::EDT_DIRECT3D9;
parameters.EventReceiver = &receiver;
parameters.Fullscreen = true ...