keeskist said:
The first question I would like to ask is how you actually run the game, as I didn't make an application bundle before. You can get that at http://www.dennisbijlsma.com/data/ferrari3d/ferrari3d_macosx.zip.
I used a command line instruction (now converted to a bash script).
if [ "$1" = "noprof" ] ; then
echo "Run ferrari3d alone."
java -jar -Xmx256m -classpath ./libraries/jme.jar:./libraries/lwjgl.jar:./libraries/platinumlaf2.jar:./libraries/quaqua.jar:./libraries/utilities.jar -Djava.library.path=./libraries ferrari3d.jar
elif [ "$1" != "noprof" ] ; then
echo "Run ferrari3d with profiler."
java -jar -Xmx256m -classpath ./libraries/jme.jar:./libraries/lwjgl.jar:./libraries/platinumlaf2.jar:./libraries/quaqua.jar:./libraries/utilities.jar -Djava.library.path=./libraries -javaagent:/Applications/profiler4j-1.0-beta2/agent.jar ferrari3d.jar
fi
keeskist said:
The first thing that I would guess from the combination of poor framerates and graphical problems, is that some operation is not supported by your graphics card.
It is exactly the same idea I have. But I don't know how to isolate the problem. Generally JMEDesktop is a jME feature that gives a lot of problems with Mac. So, at the beginning I guessed that it could be the reason. But, after those experiments I changed my idea and I think that is something related to 3D GL, as to say LWGJL or jME.
keeskist said:
It could be something with the bumpmap that the track uses, although it does seem to look OK in the last screenshot. Another possibility is that sorting Zs is really slow for some reason.
The important thing is the strange behaviour. There is something that triggers only if I turn right relative to the track direction. Anyway I will test it more to see what exactly happens there.
If we discover any bug related to some Mac OS configuration in LWJGL and/or jME I will try to understand if I can fix it. Or if the authors can fix it for me.
keeskist said:
From the profiler shot I see that loading the circuit takes up 11 seconds. Even though that's by far the largest piece of geometry I'll check if something is taking up an unreasonable amount of time there.
Thanks.