ISkinnedMesh

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
G3LO
Posts: 16
Joined: Mon Aug 20, 2007 10:37 am
Location: Poland

ISkinnedMesh

Post by G3LO »

Hi,

has anyone used ISkinnedMesh (from SVN branch) yet?
is it good with .X files?
could i ask for example, please.
Let`s say load foo.x and rotate bone "bar" around some random vector.
I`m just too lazy to experiment on my own :wink:
h4ck d4 5y5t3m
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

I have, lol.

yeah x files should work, let me know if you have any problems.

I cannot help you much more, unless you ask more.
G3LO
Posts: 16
Joined: Mon Aug 20, 2007 10:37 am
Location: Poland

Post by G3LO »

I tried to use new animation system, but i`ve got a problem.
I compiled irricht under Linux and it was just fine, but when i tried to compile under Win32 using Code::Blocks it produced Irricht.dll sized about 1,4 kB and libIrricht.a sized 800 b. Since i don`t belive that new animation system have done so great space compression i assume something went wrong. Could someone tell me how to compile irricht under code::blocks? Pressing 'rebuild' or 'build' seems not enough :?
h4ck d4 5y5t3m
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You should read the error log. It will probably tell you that some files are missing. The project files are not updated so you have to add some files on your own. The Makefile was fixed recently.
G3LO
Posts: 16
Joined: Mon Aug 20, 2007 10:37 am
Location: Poland

Post by G3LO »

Here`s a contionuation of my compiling adventure:
i tried to use Blodshed Dev Cpp, after including missing files it hasn`t compiled, so i compiled it once again without them it went ok.
But when i create simple irrlicht project, like in example 1 i get
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
i noticed that error is produced by

Code: Select all

	IrrlichtDevice *device =
		createDevice();
what`s going wrong? did i messed something up or is it irrlicht fault?
h4ck d4 5y5t3m
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You have to link against the proper Irrlicht.dll Either you don't link at all against the dll, or you use a wrong one.
G3LO
Posts: 16
Joined: Mon Aug 20, 2007 10:37 am
Location: Poland

Post by G3LO »

Ok, compiled and started it :D
Workspace just needed few file-adds.
Still i don`t know what i have compiled while ago, then.
Dev cpp is evil.
h4ck d4 5y5t3m
G3LO
Posts: 16
Joined: Mon Aug 20, 2007 10:37 am
Location: Poland

Post by G3LO »

Ok, i managed to fire up new animation system,
i had to rewrite most of modules of my game due to usage of STL strings - looks like new animation system is less tolerant to STL then old system. However effects are promising and i think changing system was worth of work i`ve done.
So i want to share my experiance with STL strings, maybe someone will aviod lots of unnecessery work.
h4ck d4 5y5t3m
Post Reply