Search found 105 matches

by Magnet
Sat Mar 10, 2007 10:47 am
Forum: Beginners Help
Topic: How to calculate this angle
Replies: 1
Views: 395

How to calculate this angle

I have rotation angle and vector.
How to calculate angle between them ("? - required angle")
Image
by Magnet
Sun Feb 25, 2007 9:09 pm
Forum: Bug reports
Topic: draw 2d Image bug
Replies: 2
Views: 670

Closed. It is works normaly :-)
by Magnet
Sun Feb 25, 2007 9:06 pm
Forum: Bug reports
Topic: [fixed] Memory leaks in B3D loader in Irrlicht 1.2
Replies: 7
Views: 1088

O! You a really good rescuer. Big Thanks!
by Magnet
Sun Feb 25, 2007 7:51 am
Forum: Bug reports
Topic: [fixed] Memory leaks in B3D loader in Irrlicht 1.2
Replies: 7
Views: 1088

Do you still get memory leaks with the b3d patch here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=18259 Its for the SVN but, I'm not sure if it works with 1.2, I can send you the files if you cannot get it working. Please tell me: this path was implemented in latest revision? This bug i...
by Magnet
Sat Feb 24, 2007 2:56 pm
Forum: Bug reports
Topic: draw 2d Image bug
Replies: 2
Views: 670

draw 2d Image bug

I have a big image (2048,2048)
I am attempt to draw part of this image.

Destination image may be fullscreen!

Code: Select all

driver->draw2DImage(bgTexture, recti(0,0,1024,768), sourceRect,0, 0, true);
And I am got next:

Image
by Magnet
Sat Feb 24, 2007 2:17 pm
Forum: Bug reports
Topic: [fixed] Memory leaks in B3D loader in Irrlicht 1.2
Replies: 7
Views: 1088

I am download Irrlicht from svn yesterday. And compile my game. I take some memory leaks with B3D. my model: http://www.webpolit.com/irr/rodmodel.rar Detected memory leaks! Dumping objects -> C:\Program Files\Microsoft Visual Studio 8\VC\include\crtdbg.h(1147) : {27606} normal block at 0x05EB2FE0, 3...
by Magnet
Fri Feb 23, 2007 11:02 pm
Forum: Bug reports
Topic: Bug with simultaneous loading img, modls and drawing image
Replies: 2
Views: 580

O!!!!! Thanks!!!!!!!!!!!!!!! I am replace my function, and it works: void RenderLoading() { device->getVideoDriver()->beginScene(true, true, SColor(0,0,0,0)); device->getVideoDriver()->draw2DLine(position2di(0,0), position2di(1024, 0), SColor(0,0,0,0)); device->getVideoDriver()->draw2DImage(Loading,...
by Magnet
Fri Feb 23, 2007 8:14 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

I am write test for this bug and create bug report.

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19448
by Magnet
Fri Feb 23, 2007 7:23 pm
Forum: Bug reports
Topic: Bug with simultaneous loading img, modls and drawing image
Replies: 2
Views: 580

Bug with simultaneous loading img, modls and drawing image

This topic are created after I have got unexpected result on loading. First I thought that this not a bug. But I am write test and write it in Irrlicht 1.2 (Getted from SVN) I tried to create loading screen and progress bar of the game loading: 1. I am load image in some variable 2. Call function wh...
by Magnet
Thu Feb 22, 2007 6:03 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

This bug only in OpenGL!!!
by Magnet
Thu Feb 22, 2007 9:25 am
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

I am replace my render function with: void ILoadScreen::RenderScreen() { glClearColor(0,0,0,0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); OnBeginRenderScene(); SendMessage((HWND)GetVideoDriver()->getExposedVideoData().OpenGLWin32.HWnd, WM_PAINT, 0,0); SwapBuffers((HDC)GetVideoDriver()->get...
by Magnet
Wed Feb 21, 2007 11:10 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

Herewith image is changed in absolutely different functions: atoi, open, etc.

I am rectet realize RenderScreen()?
by Magnet
Wed Feb 21, 2007 10:44 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

HM. I am have a bug. I am create function for update screen void ILoadScreen::RenderScreen() { GetVideoDriver()->beginScene(true, true, SColor(255,0,0,0)); OnBeginRenderScene(); smgr->drawAll(); OnEndRenderScene(); GetVideoDriver()->endScene(); GetDevice()->run(); } //OnBeginRenderScene is overload ...
by Magnet
Fri Feb 16, 2007 2:15 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

Thx.
Sadness...
by Magnet
Thu Feb 15, 2007 3:43 pm
Forum: Advanced Help
Topic: How to create Game Loading Progress?
Replies: 9
Views: 1319

I am rewrite my code and put to enoter process loading function.
All images loaded as white rectangle :-(

Irrlicht has problem with multithearding?