Search found 19 matches

by Gendo Ikari
Mon Jan 03, 2011 10:25 am
Forum: Advanced Help
Topic: Serialize a node with all its children
Replies: 2
Views: 331

Ok, thank you very much.
by Gendo Ikari
Sun Jan 02, 2011 3:53 pm
Forum: Advanced Help
Topic: Serialize a node with all its children
Replies: 2
Views: 331

Serialize a node with all its children

I've googled and searched the answer quite a lot, without finding it. I try writing here.
I need to serialize some specific parts of the scene, not the entire scene. How can i do this?
If i serialize a node, i serialize only its attributes.
Thank you.
by Gendo Ikari
Fri Jun 19, 2009 5:02 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Its not only the name. Its the quality.
by Gendo Ikari
Thu Jun 18, 2009 12:22 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Good advice, thank you all :D
Borland doenst exist anymore ç_ç now is Embarcadero CodeGear RadStudio. Once upon a time there was an ide called Borland C++ Builder ç_ç
by Gendo Ikari
Thu Jun 18, 2009 10:59 am
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

1) Start button cannot be called more than once, because the frmMain disappear when device start.
2) If I drop devNull immediately after using it the program crash at end, in the same way. The error happen not in my code, but in irrlicht code.
by Gendo Ikari
Wed Jun 17, 2009 4:33 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Maybe irrlicht does something strange when a device get dropped. If a implement a check like this:

Code: Select all

	if (device) {
		device->drop();
	}
	if (devNull) {
		devNull->drop();
	}
all goes well on the surface.
by Gendo Ikari
Wed Jun 17, 2009 3:52 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

I've done yet. Same problem. The error happen when i close programm, so its something about cleaning resources by irrlicht imho.
by Gendo Ikari
Wed Jun 17, 2009 3:30 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

In main.h IrrlichtDevice *device; IrrlichtDevice *devNull; IVideoModeList *vidlist; IVideoDriver *driver; ISceneManager *smgr; Events events; ICameraSceneNode *camera; in main.cpp //when form is create void __fastcall TfrmMain::FormCreate(TObject *Sender) { devNull = createDevice(EDT_NULL); vidlist ...
by Gendo Ikari
Wed Jun 17, 2009 11:36 am
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Yeah, i've resolved the problem doing this. Now the user can change resolution, and all goes well. Thank you very much.

EDIT:

why this error happen if I drop the null device?


Assertion failed: !(ReferenceCounter <= 0), file (...)\irrlicht-1.5\include\IReferenceCounted.h, line 119
by Gendo Ikari
Tue Jun 16, 2009 9:33 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Is a null-device expensive regard memory and cpu?
by Gendo Ikari
Tue Jun 16, 2009 7:20 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Thank you very much, i think this: IrrlichtDevice::getVideoModeList, its foundamental! I'll test. My development environment its a WinXp SP3 with Ati 4850, compiled with CodeGear Rad Studio 2009. EDIT: But getVideoModeList is a method of IrrlichDevice. So do i need to create device with a standard r...
by Gendo Ikari
Mon Jun 15, 2009 3:27 pm
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

All lines have the same meaning. X*Y/Z = (X*Y)/Z = X*(Y/Z) = X*Y*(1/Z).
However thank you, i've tried but same error :D
by Gendo Ikari
Mon Jun 15, 2009 11:12 am
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

When I create device with a different resolution in fullscreen, irrlicht crash.

Code: Select all

dimension2d<s32> tmpRes;
tmpRes.Width=1024;
tmpRes.Height= floor(tmpRes.Width/16*9);
device = createDevice(tmpDriver,tmpRes,tmpBits, true,true,true,&events);
by Gendo Ikari
Mon Jun 15, 2009 12:14 am
Forum: Advanced Help
Topic: Device in fullscreen 16:9
Replies: 26
Views: 2029

Device in fullscreen 16:9

How to make Irrlicht working with 16:9 output?
by Gendo Ikari
Tue Apr 14, 2009 5:40 pm
Forum: Advanced Help
Topic: Irrlicht 1.5 compiled for CodeGear™ RAD Studio 2009
Replies: 7
Views: 2101

Oh great! I feared the worse :D