I'm planning to optimize the rendering code of FoF. As far as I found rendering code in the source there are a few optimations possible, that would have a great performance impact. But currently I don't have an real overview over the code, so it would be nice if you could make a short list, where the actual rendering in fof takes place.
Source filename + line
Also I've got the problem that I can't download the amarith framework, It seems the side is down. Futhermore I read that the new FoF version uses the version 3 of pyogl is that right?
Thanks in advance
Ingrater
FOF Rendering Code
This topic is 17 years and 6 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
So it's great that you want to look at this and help out.
I'll answer some of your questions and I have a concern.
while the new version is compiled with pyopengl3, I don't think it's required. It's just what was used. From my previous experience compiling the previous versions with it, it's not a good idea.
As far as rendering goes, most of it that you care about in playing is in guitar.py and guitarscene.py. I'm not going to give you the line numbers, you should be able to figure that out yourself.
This brings me to my concern. None of us have a real overview of the code. We had to read it and figure it out. That's really what you should do. If you can't, then it's unlikely you'll be able to optimize much.
Still the majority of things you want to look at are in those two source files.
-Alex
I'll answer some of your questions and I have a concern.
while the new version is compiled with pyopengl3, I don't think it's required. It's just what was used. From my previous experience compiling the previous versions with it, it's not a good idea.
As far as rendering goes, most of it that you care about in playing is in guitar.py and guitarscene.py. I'm not going to give you the line numbers, you should be able to figure that out yourself.
This brings me to my concern. None of us have a real overview of the code. We had to read it and figure it out. That's really what you should do. If you can't, then it's unlikely you'll be able to optimize much.
Still the majority of things you want to look at are in those two source files.
-Alex
- dgrams2000
- Member
- Posts: 1413
- Joined: February 28th, 2007
- Location: WI
- Reputation: 0
- Contact:
Ingrater, it just occurred to me now, but you said you know alot about C++, and i remember awhile back some people were talking about converting FoF to C++ because alot more would be possible if that happend....and since the developers won't be working on it for a whole lot longer....read more (listen to the thing on the site...its about halfways through....they are going to be focusing most time into their next project) if it was converted to C++, then we wouldnt havee to be worried about future releases being released in python, and having to reconvert the whole game again...i know that this probably wont happen, but its just another thought
Man, stop with that C++ conversion of FOF. That ain't gonna happen... Too much work, and if done, it wouldn't be FOF, it would be another game.
Python is a C++ based (I think) language. All that is done on C can be done on Python. only Python is more recent, and modules take their time to appear... About performance... it could actually be worse... DirectX can be much more demanding than OGL, unless something like DX7 is used (just look at GZ).
If that would be done, it should be done on XNA. that is done SPECIFICALLY to gaming. So there.
Python is a C++ based (I think) language. All that is done on C can be done on Python. only Python is more recent, and modules take their time to appear... About performance... it could actually be worse... DirectX can be much more demanding than OGL, unless something like DX7 is used (just look at GZ).
If that would be done, it should be done on XNA. that is done SPECIFICALLY to gaming. So there.
Return to “FOF Mod Discussion and Support”
Who is online
Users browsing this forum: No registered users and 14 guests