Page 1 of 1

MD3 Loader Update

Posted: Sun Jan 18, 2004 9:54 pm
by madinitaly
Just a small optimization reguarding triangle indices. As always, refer to my project's homepage for downloads and details :)

Posted: Tue Jan 20, 2004 7:20 pm
by powerpop
probably good to put the URL of your homepage here as well! thanks for this work by the way - its awesome!

Posted: Tue Jan 20, 2004 11:02 pm
by plummi
powerpop wrote:probably good to put the URL of your homepage here as well!
Powerpop, I think if you click on the "www"-Button after his post you'll get there... :wink:

Posted: Wed Jan 21, 2004 3:10 am
by madinitaly
Erm, to tell the truth there's a link in the workds "my project homepage", but it's tricky indeed.
Yes, the WWW button will bring you there, anyway, here is again the link:
http://aitolikon.sf.net

Posted: Wed Feb 11, 2004 9:10 pm
by Wolf Dreamer
CStaticMeshOBJ.cpp
h:\irrlicht-0.4.2\source\fast_atof.h(68) : error C2666: 'pow' : 7 overloads have similar conversions
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(620): could be 'long double pow(long double,int)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(618): or 'long double pow(long double,long double)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(572): or 'float pow(float,int)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(570): or 'float pow(float,float)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(534): or 'double pow(int,int)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(532): or 'double pow(double,int)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(195): or 'double pow(double,double)'
while trying to match the argument list '(int, irr::f32)'
CCameraMayaSceneNode.cpp
h:\irrlicht-0.4.2\source\CCameraMayaSceneNode.cpp(246) : error C2666: 'fmod' : 3 overloads have similar conversions
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(606): could be 'long double fmod(long double,long double)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(558): or 'float fmod(float,float)'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(191): or 'double fmod(double,double)'
while trying to match the argument list '(irr::f32, double)'
There were two errors when I tried to compile it with Microsoft Visual C++ .NET Version 2003.

So, what should I set the prototype to be? I just recently learned C++, but from what I understand it, I have to know what two types of variables it will always use.

Also, I couldn't get the included .exe to run. Something about the entry point.

Posted: Fri Feb 13, 2004 12:59 am
by madinitaly
Uhmmm, looks like MS VC++ .NET has a different math library wich can interfere with some math functions used in the engine. You could try to comment out the #include <math.h> then see wich functions are missing and include/define them. Anyway the problem is related to the compilation of the engine itself - CStaticMeshObj.cpp is a file I didn't touch.

perhaps in the next engine release

Posted: Fri Feb 13, 2004 7:20 pm
by Wolf Dreamer
Oh well... I tried, but alas, it was beyond my current skills and level of sanity to master.

This is something useful that should probably be included in the next Irrlicht Engine release. It already includes every other file format.

I guess the guy making it will notice your initial post.

0.5 update

Posted: Tue Feb 17, 2004 6:41 pm
by madinitaly
And of course I updated the loader. Avaliable -> here <-



@Wolf Dreamer: unfortunately I don't have a copy of MS VisualStudio .NET, otherwise I'd be happy to fix that problem and add a VS precompiled library as well.