The new version of my scene node (which I mentioned earlier) is now finished and should work straight from the box. You don't event need the cal3d source anymore. It is precompiled for you for both gcc and msvc.
1) Download the zip (it's about ~3 MB)
2) Read HelpMe.txt
There is an example program with source showing you how to use it. A few things have changed since the last version, but overall it is still the same.
I AM using klasker*s cal3d scene node BUT as his render function caused the mesh to be rendered incorrectly, I simply added the code from the other scene node.
Also I removed the code from the render() methid and encountered that it is NOT ONLY the render() method that takes so much time. The major performance problem is in the OnPostRender() method....
You didn't event read my post did you? I said I made a NEW version of it that works fine with gcc and msvc. Please download it and try it out! In the demo application included I am getting 300 FPS with the gcc version and 210 with the msvc version.
(..)BUT as his render function caused the mesh to be rendered incorrectly, (..)
Don't piss me off man! YOU messed with the render() method so it rendered incorrectly, not me. The new version should be much faster as there are no memory allocation issues and it is compatible with the msvc compiler.
And please read my post again. It's alright if you want to change to md3, but don't blame me or Cal3D for your low FPS or inverted triangles.
I don't understand why you are getting 24 fps when I am getting 300 fps. Is it only in your own program or is IrrCal3D-Example.exe also giving you low fps?
no it seems to be only in our program....
seems to be too much for us ^^
I mean we have already a nice level with dynamic lighting and newton for collisions and player movement and this already takes much performance as it seems - but still runs on 200 fps... but when I download the cal3d scenenode the fps count drops terribly....
I cannot tell you why! I can just say that- when I commented out the render and onpostrender methods the framerate was at the top again...
hey klasker!
I recently tried to use your IrrCal3d.dll and lib to load cal3d models and what the crazy thing about this is--> our game has still 150 fps when we load a model!
unfortunately the framerate still drops too fast, as when we have 10 models, the framerate is at about 30 fps and that*s simply not enough...
thank you anyways! ^^
maby one day we'll finish it and I*ll inform you ^^
yes that*s true!
we had to use the cal3d_d.dll because whenever we used the cal3d.dll the application crashed at CalCoreModel *model = new CalColrModel(); because of an "invalid memory allocation exception" somwhere in the std:: namespace....
thanks for your support guys!
You probably get this exception because you mix different c++ runtime lib versions. Make sure you use the same for all components of your project.
For optimised release config version use Multithreaded DLL (/MD) for debug config use Multithreaded Debug DLL (/MDd)
Measuring performance of debug config is pointless. There is no constant factor X to get ReleaseFPS = X * DebugFPS. First try an optimised release config of your project before assuming a performance problem.