Search found 14 matches

by CiRiuS2
Wed Mar 17, 2010 10:49 am
Forum: Code Snippets
Topic: Architecture for Gui and EventReceiver
Replies: 19
Views: 5555

Good work, your solution is cleaner and is improved. I definitely will include this interface in my project. :wink:
by CiRiuS2
Thu Mar 11, 2010 4:34 am
Forum: Code Snippets
Topic: Architecture for Gui and EventReceiver
Replies: 19
Views: 5555

Here is a working test based on your classes that I did in 2 hours, credits to you :wink:
http://www.4shared.com/file/238706916/8 ... cture.html
by CiRiuS2
Wed Mar 10, 2010 1:03 pm
Forum: Code Snippets
Topic: Architecture for Gui and EventReceiver
Replies: 19
Views: 5555

Thanks, I will try now.
by CiRiuS2
Tue Mar 09, 2010 3:49 am
Forum: Code Snippets
Topic: Architecture for Gui and EventReceiver
Replies: 19
Views: 5555

I dont understand why CGuiGroup isn't public of IEventReceiver, or how you pass the events from CGuiManager to each CGuiGrop, or where u instanciate the CGuiManager, etc etc...

Really you can't make a simply test code?
by CiRiuS2
Mon Mar 08, 2010 1:33 am
Forum: Code Snippets
Topic: Architecture for Gui and EventReceiver
Replies: 19
Views: 5555

Hi memorial76 i am interested in this architecture, can you post the full code (files) of a simple example plz?
by CiRiuS2
Sun Feb 28, 2010 9:04 pm
Forum: Bug reports
Topic: [no bug]removeTexture OPENGL
Replies: 3
Views: 1191

Ok forget this, magically today is working with opengl. :?
by CiRiuS2
Sun Feb 28, 2010 6:07 am
Forum: Bug reports
Topic: [no bug]removeTexture OPENGL
Replies: 3
Views: 1191

[no bug]removeTexture OPENGL

First as allway sorry about my english, i will try explain me. I have a function like this:


void onFinishLoading(...)
{

[...]

IImage *im = driver->createImageFromData(irr::video::ECF_A8R8G8B8 ,dimension2d<u32>(WIDTH,HEIGHT),buffer,true,true);
ITexture *res = driver->findTexture("resultado ...
by CiRiuS2
Sat Feb 20, 2010 12:01 am
Forum: Code Snippets
Topic: New GUI skin [update: new skins, support for 1.5/1.6]
Replies: 112
Views: 86743

Thanks Mamnarock :)
by CiRiuS2
Sun Jan 17, 2010 10:36 pm
Forum: Beginners Help
Topic: terrain collision with irredit
Replies: 3
Views: 460

I think you need simply a cast. Try this.

Code: Select all

ITerrainSceneNode *terrain = (ITerrainSceneNode*) smgr->getSceneNodeFromName("terrainname");
by CiRiuS2
Mon Dec 21, 2009 8:31 pm
Forum: Beginners Help
Topic: How can i resize my parent gui object?
Replies: 3
Views: 509

Code: Select all

IGUIImage *image = gui->addImage(...);
image->setScaleImage(true);
image->setMaxSize(dimension2du(maxX,maxY));
image->setMinSize(dimension2du(minX,minY));
You should read the documentation...
by CiRiuS2
Sat Dec 12, 2009 1:46 pm
Forum: Beginners Help
Topic: Loading a .b3d
Replies: 5
Views: 544

The models of lineage 2 are packaged and have a diferent format. You can't compare the speed.
by CiRiuS2
Sat Dec 12, 2009 12:48 pm
Forum: Beginners Help
Topic: Loading a .b3d
Replies: 5
Views: 544

Version of irrlicht: oficial 1.6.

Yes i compile in release mode allways. (MCVS 2008)

And i can't share the model, was extracted from lineage 2. But i think any model with 5k of frames will load in 6 seconds.

I tested the same model in format .ms3d, same result.

About the frames, there are models ...
by CiRiuS2
Sat Dec 12, 2009 12:47 am
Forum: Beginners Help
Topic: Loading a .b3d
Replies: 5
Views: 544

Loading a .b3d

Hi, i have a .b3d model with 4765 frames, when i try get the mesh with

Code: Select all

smgr->getMesh("model.b3d");
takes about 6 seconds loading and i need load a lot of models more...

¿it's correct 6 seconds?
by CiRiuS2
Thu Dec 10, 2009 4:15 pm
Forum: Beginners Help
Topic: ITerrainSceneNode mem-bug??, cant remove it.HELP!!!
Replies: 18
Views: 3202

I think here is your solution :wink:
#include <irrlicht.h>
#include <iostream>
#include <AfxWin.h>


using namespace irr;

#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#endif


int main()
{
// let user select driver type

video::E_DRIVER_TYPE driverType = video::EDT_DIRECT3D9 ...